Logo de Work

Work

Comunidade
OutThisLife
work

Kick off a task in a fresh isolated git worktree instead of the current checkout. Use when the user invokes /work (optionally with a slug or description) to start something new without touching their working tree.

Visão geral

Publicado porOutThisLife
Repositóriobrooklyn-skills
Nome da habilidadework
Estrelas
200
Forks
6
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 OutThisLife no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Work 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/OutThisLife/brooklyn-skills/tree/main/skills/work
  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/OutThisLife/brooklyn-skills.git /tmp/brooklyn-skills
mkdir -p .claude/skills
cp -r /tmp/brooklyn-skills/skills/work .claude/skills/work
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Work 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 Work 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, Work 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á.

/work

/work [slug] is a declaration for this task: "spin up a dedicated worktree and do the work there." It applies to what the user is starting right now — it is not a standing rule that all work always happens in worktrees.

When invoked:

  1. Look at what the repo already does, and copy it.
  2. Create the worktree + branch and cd into it.
  3. Do the requested work there.

Work aimed at an issue ("if it's open and reproducible")

Do these in order before writing any fix:

  1. Load the repo's own gate skill first. If the repo has a deployment or brain skill (a <prefix>-repo skill, a triage/claim system), load it before searching. Its per-issue gates (claim, overlap check, side-effect screen, risk title, auto-merge classifier) apply to a single /work fix as much as to a sweep. Skipping them because the request said "/work" rather than "triage" is the failure: the PR ships without the risk and side-effect sections she expects, and can duplicate her own open PR.
  2. Find the issue. Search open and closed issues with several phrasings (gh issue list --state all --search "<q>"), plus in:title variants. A closed issue with a close-by-PR may already cover it. Check that before you call a newer report a duplicate.
  3. Look for a PR that already fixes it. Search with gh pr list --state all --search "<issue#>" and with keywords. Drafts count: a contributor can park a finished fix as a draft because of an open-PR cap. If a complete fix exists, salvage it (cherry-pick the commit so authorship is kept) instead of writing a parallel one. Check her own open PRs too (gh pr list --author @me --state open --json number,title,files,mergeable,autoMergeRequest), not only contributors': an armed-but-CONFLICTING PR of hers on the same function is live work. Fold both into ONE combined PR that supersedes them (cherry-pick what applies, port the rest by hand onto main's current file layout, keep every Co-authored-by), then disarm (gh pr merge N --disable-auto) and close the sources with a comment linking the replacement.
  4. Prove it red on the base. Apply only the tests first (gh pr diff <N> > f.diff && git apply --include='tests/*' f.diff), run them, and see them fail. Then remove the file and git cherry-pick the real commit, so the test file isn't left as an untracked conflict.
  5. Reproduce the user-visible path end to end. Run it on a detached base worktree and on the branch, and keep both outputs as before/after evidence for the PR body.
  6. Re-run any failures on the base worktree before calling them unrelated. "Fails identically on untouched base" is the claim to report.

Answer the "is it open / can it be repro'd" part first in the handoff, then the fix and the PR link.

Read the repo's conventions

bash
git worktree list                                   # sibling dirs + branches
git branch -a --sort=-committerdate | head -20      # branch prefix/slug pattern
git remote show origin | sed -n 's/.*HEAD branch: //p'   # default branch
  • Branch prefix — mirror the dominant one (e.g. <initials>/<slug>). None obvious → ask.
  • Worktree dir — mirror sibling naming/location (commonly <repo>-<short> next to the primary checkout). Short suffix ≠ full branch is fine.
  • Base — current default branch unless they name another.
  • Slug — from the /work argument, else the task description.

Create it

bash
repo="$(git rev-parse --show-toplevel)"
parent="$(dirname "$repo")"
default="$(git -C "$repo" remote show origin | sed -n 's/.*HEAD branch: //p')"
git -C "$repo" fetch origin "$default"
git -C "$repo" worktree add -b <prefix>/<slug> "$parent/$(basename "$repo")-<short>" "origin/$default"
cd "$parent/$(basename "$repo")-<short>"

Reuse a matching worktree/branch if one already exists — don't duplicate. Match how siblings handle node_modules / .venv / symlinks.

  • Never git stash in a worktree while other agents run: the stash list is shared repo-wide, so a pop can grab another worker's WIP. Commit WIP instead.

Then

  • Do the task in the worktree; never in the primary checkout, and never in another agent's worktree.
  • Never git stash in a worktree: refs/stash is shared by every worktree of the repo, so a parallel agent can pop your entry (or you pop theirs). To test against base, copy the file aside (git show HEAD:<path> > …) or use a throwaway worktree instead.
  • Every worker and subagent gets its own worktree, and the worktree path is in its instructions. Fixes use a bb/* branch. Verification, typecheck, and tests use a detached worktree at origin/<default>. When its lockfile matches the primary's, symlink every node_modules (root and workspace packages) to the primary's; install only on a lock change, after removing those links. Never edit, install, build, typecheck, or test in the primary checkout.
  • Prefer direct execution for focused fixes. Do not delegate routine sibling-path audits or cleanup; reserve subagents for substantial independent work that clearly saves time.
  • Default to pnpm for JavaScript package commands and install examples when the repository supports it. Respect an existing different package-manager/lockfile contract rather than introducing a second lockfile.
  • UI → ui-only + ui-system. Tests → whatever the repo uses.
  • When handing off, tell the user the worktree path and how to run it.
  • Ship → commit, push the branch, open a PR/MR to the default branch.
  • Cleaning up → offer to remove worktrees whose branch is already merged.
  • Reviewing an existing PR instead of new work → pr-triage.

Perguntas frequentes

O que a habilidade de IA Work faz?

Kick off a task in a fresh isolated git worktree instead of the current checkout. Use when the user invokes /work (optionally with a slug or description) to start something new without touching their working tree.

Por que usar Work no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Work é 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 Work no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/OutThisLife/brooklyn-skills/tree/main/skills/work. 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 Work?

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 Work?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Work 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 Work é gratuita?

Sim. A habilidade é publicada no GitHub por OutThisLife 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 👇