Logo de Sw Plan Implement

Sw Plan Implement

Comunidade
mhmtsrfglu
sw-plan-implement

Use when the user wants to plan and implement a Superwiki task in one go, says "do this task" or asks to take a task from todo to done without choosing between planning and implementing, or invokes sw-plan-implement, with or without a task id.

Visão geral

Publicado pormhmtsrfglu
Repositóriosuperwiki
Nome da habilidadesw-plan-implement
Estrelas
31
Forks
3
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por mhmtsrfglu no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Sw Plan Implement no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-plan-implement
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mhmtsrfglu/superwiki.git /tmp/superwiki
mkdir -p .claude/skills
cp -r /tmp/superwiki/skills/sw-plan-implement .claude/skills/sw-plan-implement
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Sw Plan Implement em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Sw Plan Implement automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Sw Plan Implement não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

sw-plan-implement

Takes one task from todo to done with one command. It judges the task's size from the task file, picks one of three routes, and then follows sw-plan and/or sw-implement.

It is a thin orchestrator. Changing the task's status, the log entries, the review and sw-verify as the gate before done all come from sw-plan and sw-implement: follow those skills as they are written, and do not repeat or shorten their steps here. The only thing sw-plan-implement itself writes is a note in the task's "Notes".

Needs the task module (docs/tasks/). If it is missing, say so and offer sw-init with --tasks. Run commands from the project root.

Steps

  1. Pick the task.

    • Id given: node docs/.sw/sw.mjs check <ID>, then read docs/tasks/<ID>.md.
    • No id: node docs/.sw/sw.mjs ready, and let the user choose.
    • New work without a task file: sw-plan step 1 ("New work") creates it; then continue here.

    check may settle the route before any classifying:

    check saysDo
    status done or cancelledstop and ask what the user wants
    status in-progress, or a plan with status: approvedsw-implement, nothing else
    a draft planlarge route; sw-plan revises it
    open depsstop, as sw-implement's gate does. Do not plan around it unasked
  2. Classify from the task file alone: no code, no plan file. The rule for a small task, word for word as sw-plan and sw-implement state it:

    A task is small when its task file alone shows all four: one area, meaning its work belongs to the configured area its id prefix names and to no other (areas in docs/.sw/config.json; with one configured area, every task is in one area); three "Done when" items or fewer, as the done when: line of node docs/.sw/sw.mjs check <ID> counts them; nothing left open in its "Notes"; and the files that change, named in the task file, three or fewer. A task whose file does not show how many files change is medium at least, never small.

    Take the first row that matches, from the top. "Area" and the count of "Done when" items mean what the rule above says.

    ClassThe task file showsRoute
    largeany of: more than six "Done when" items; more than one area; a question left open in "Notes"; review: set; a new format, interface or migration other work will depend onsw-plan, the user's approval, then sw-implement
    smallall four conditions of the rule above: one area, three "Done when" items or fewer, nothing left open, three files or fewer namedsw-implement directly; no plan, no note
    mediumeverything else: one area, nothing open, and four to six "Done when" items or more than three files or the files not shownan "Approach" note in "Notes", then sw-implement
  3. Say the route in one line before acting: Route: <class> (<the rubric conditions that decided it>). The line is written as given, word for word: it begins Route: at the start of its own line, and a sentence that gives the route in other words does not replace it, since a reader of the session finds the route by those words. Do not wait for an answer. When the user has waived the plan's approval, the line says so: Route: <class>, plan approval waived by the user (<the rubric conditions that decided it>).

    Override. A route the user names wins over the rubric, whether in the invocation ("as small", "with a plan", "no plan") or at any later point. When the override lowers the class, record it in the task's "Notes" as - Route: <class>, chosen by the user. Only a named route lowers the class. A waiver of approval ("without presenting the plan for approval", "no need to approve it") names no route: the class stays what the rubric decided.

  4. Follow the route.

    • Small: follow sw-implement from its step 1.
    • Medium: write one bullet into the task's "Notes", starting - Approach (sw-plan-implement, <date>):, three to five sentences (a line of the note is a sentence): the order of the work, which "Done when" items belong together, the constraints the notes set, and how the result is checked, in a sentence naming the commands where the task file gives them, not as a D<n> list. Its sources are the task file and the area guide, if node docs/.sw/sw.mjs explain <ID> names one. No planner, no code reading, no plan file, no log entry. Then follow sw-implement from its step 1; its gate accepts plan: none with this note.
    • Large: follow sw-plan, which skips its own size test when called from here; it clarifies, dispatches the planner, gets the user's approval and records it. That approval is the one planned stop of sw-plan-implement. Plan approved: continue with sw-implement in the same run. Plan dropped: stop; the task stays todo.
    • Large, approval waived by the user: the planner runs all the same; the waiver removes the stop, not the plan. Follow sw-plan steps 4 to 6 with these differences. Nothing is presented. Each question of the planner gets its assumed answer, unless the task file, a wiki page or a lesson says otherwise (node docs/.sw/sw.mjs search), as under sw-autopilot's standing answer, and the answers count as the user's: step 6 runs whole, so the plan is approved, and "Notes" gets the answers once, as - <date>, answered under the user's waiver of approval: .... The plan log entry gets the body line Approved under the user's waiver. A Split: the planner proposes is still put to the user, as sw-plan step 5 says: the waiver covers the plan's approval, not the creation of tasks. Then continue with sw-implement in the same run. Its question about checks that need the environment is still asked.

Common mistakes

  • Restating, shortening or skipping steps of sw-plan or sw-implement. They are followed whole, as written.
  • Reading code or a plan file to classify. The rubric uses the task file only.
  • Counting files or areas from the code. A task file that does not name the files that change makes the task medium at least; an area is a configured one, never a part of the code.
  • Asking the user to confirm the route. Say it and go on; the user interrupts if they disagree.
  • Giving the route in other words. The Route: line is written as step 3 gives it; a table or a sentence that names the route is not the line.
  • Skipping the planner, or lowering the route, because the user waived the plan's approval. A waiver removes the stop, not the plan; only a named route lowers the class.
  • Treating the Approach note as a plan. check still says plan: none, and the note holds no steps or verification list.
  • Writing a long Approach note, or exploring the code to write it. Past five sentences the task is large: use the large route.
  • Implementing after a plan that was not approved, or going on after the user dropped it.
  • Setting the task to done here. sw-implement does that, after sw-verify has verified every item.

Perguntas frequentes

O que a habilidade de IA Sw Plan Implement faz?

Use when the user wants to plan and implement a Superwiki task in one go, says "do this task" or asks to take a task from todo to done without choosing between planning and implementing, or invokes sw-plan-implement, with or without a task id.

Por que usar Sw Plan Implement no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Sw Plan Implement é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Sw Plan Implement no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-plan-implement. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Sw Plan Implement?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Sw Plan Implement?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Sw Plan Implement com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Sw Plan Implement é gratuita?

Sim. A habilidade é publicada no GitHub por mhmtsrfglu sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇