
Projeto
- 1 installs
- Updated June 4, 2026
- eusouwillnunes/sistema-maestro
Switches the active project mid-session without changing the working directory, listing available projects in the current workspace and updating the active-project cache.
About
A slash command that inspects the active project and switches to another project in the same workspace by globbing maestro configs, without closing Claude Code or changing CWD. A developer uses it to move between projects in a workspace during a session.
- Lists workspace projects flagged maestro-ativo and switches by slug
- Updates the active-project cache silently so the next message uses the new project
Projeto by the numbers
- 1 all-time installs (skills.sh)
- Ranked #2,479 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eusouwillnunes/sistema-maestro --skill projetoAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| Last updated | June 4, 2026 |
| Repository | eusouwillnunes/sistema-maestro ↗ |
What it does
Switches the active project mid-session without changing the working directory, listing available projects in the current workspace and updating the active-project cache.
Files
Projeto
Aplica: [[protocolo-ativacao]]
1. Papel
Permite ao usuário inspecionar projeto ativo e trocar pra outro projeto da mesma workspace sem fechar o Claude Code. Operacional — sem produção criativa.
2. Modos
| Comando | Comportamento |
|---|---|
/projeto (sem arg) | Mostra projeto ativo + lista os outros disponíveis na workspace |
/projeto <slug> | Troca direto se slug bate. Se não bate, AUQ com lista. Atualiza cache |
/projeto listar | Só lista, não troca |
3. Detecção de projetos disponíveis
Glob {workspace}/*/maestro/config.md em profundidade 1, onde {workspace} é o parent dir do {projeto} ativo. Filtra pelos que têm maestro-ativo: true no frontmatter.
Se cache vazio (primeira chamada sem projeto ativo prévio), AUQ pede pra usuário escolher um projeto a partir do CWD.
4. Output esperado de /projeto
Projeto ativo: cliente-x (C:/dev/clientes/cliente-x)
Área de Trabalho: C:/dev/clientes
Outros projetos disponíveis:
- cliente-y
- cliente-z
- meu-pessoal
Pra trocar: /projeto <slug>5. Output de /projeto <slug> (sucesso)
Trocado pra cliente-y (C:/dev/clientes/cliente-y).Cache atualizado silenciosamente. Próxima mensagem já roda no projeto novo.
6. Output de /projeto <slug> (slug não bate)
AskUserQuestion com lista dos projetos da workspace:
- question: "Slug
<inválido>não bate. Escolhe qual?" - options: [cada projeto da workspace com label = slug]
Após escolha, mesmo flow de troca da Seção 5.
7. Não-objetivos
/projeto criar— criação continua via/maestro-onboarding/projeto remover/renomear— operações de gestão de projetos não cabem aqui (fora de escopo)/projeto --all(cross-workspace) — fica pro P1 grafo cross-project
8. Atualização de cache
Após troca, atualizar <workspace>/.maestro/cache/projeto-ativo.md:
mkdir -p "$WORKSPACE/.maestro/cache"
cat > "$WORKSPACE/.maestro/cache/projeto-ativo.md" <<EOF
---
versao: 1
slug: <novo-slug>
caminho-absoluto: <caminho-novo-absoluto-normalizado>
workspace: <workspace>
atualizado-em: $(date -u +%Y-%m-%dT%H:%M:%SZ)
---
EOF<workspace> foi resolvido pelo protocolo-ativacao.md Sub-fluxo 1 e está disponível em estado da sessão. Se Write falha (permissão), aviso "cache não pode ser persistido — projeto ativo válido só nessa sessão" + segue.
9. Estado da sessão
Após troca, atualizar variáveis em estado da sessão:
{projeto}— caminho absoluto novo{projeto-slug}— forma curta nova
Próximos dispatches Agent() recebem o {projeto} substituído pelo caminho novo no bloco CONTEXTO.