/workflows:scoped-task-executionfrom Workflows
Execute a single issue or ticket as a tightly scoped task — deliver the smallest correct change that satisfies the stated acceptance criteria, without expanding into cleanup, redesign, migration, refactoring, or adjacent fixes. Use whenever implementing a specific issue, ticket, or task with defined requirements or acceptance criteria, when the user asks for a "minimal", "scoped", or "surgical" change, or when a change must stay strictly within stated requirements. Also use when the user wants a template for writing a tightly scoped task prompt.
Ships in Workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Deliver the smallest correct change that satisfies the stated acceptance criteria. Do not expand the task into cleanup, redesign, migration, refactoring, or adjacent fixes unless they are necessary for the requested outcome.
Before editing, extract four lists from the task:
Treat explicit exclusions as hard constraints.
Do not look up Linear, other tickets, other branches, PRs, or external context unless the task explicitly requests it or the supplied task cannot be understood without it.
Ask one focused question only when the answer would materially change the implementation. Otherwise, inspect the code and state any minor assumption.
Inspect the current worktree and relevant guidance files.
Search in this order:
Build a short ownership map:
Source of truth
│
├────▶ User-facing behavior
├────▶ Runtime behavior
└────▶ Persistence / output
Do not edit until it is clear which module owns the behavior.
Prefer, in order:
Before adding a file, helper, type, endpoint, flag, migration, or component, prove that the existing path cannot deliver the requirement.
Every production edit must map to:
If an edit maps to neither, leave it out.
When the task says to reuse existing behavior, verify that behavior instead of rebuilding it.
Examples:
Follow references far enough to confirm the contract, then stop.
Make the production change first.
Rules:
Tests should prove the new requirement at existing boundaries.
Prefer:
Avoid duplicating every generic behavior for each new item.
Test explicit negative requirements when important:
Run checks in this order:
Use repository-provided commands exactly.
Do not create external resources merely to validate local generation. For example, generate and inspect a local API payload instead of creating a live agent.
Delete temporary validation artifacts when finished.
When a check fails:
Do not weaken tests, suppress failures, or hard-code test-only behavior.
If an external write reports an uncertain result, inspect the remote state before retrying.
The implementation request does not implicitly authorize:
Perform these only when explicitly requested.
When PR work is requested:
Keep the completion message short. Include:
Do not provide a command transcript or narrate routine exploration.
Offer this template when the user wants to write a scoped task prompt:
Implement this as a tightly scoped task.
Goal:
[Desired outcome]
Requirements:
- [Required behavior]
- [Required behavior]
Acceptance criteria:
- [Observable result]
- [Observable result]
- [Required checks]
Explicit exclusions:
- Do not add [migration/API/UI/flag/etc.]
- Do not refactor unrelated code.
- Do not inspect Linear, other tickets, or other branches unless explicitly required.
- Do not commit, push, deploy, or update a PR unless separately requested.
Execution rules:
1. Inspect the current implementation and identify the existing source of truth.
2. Reuse existing UI, runtime, persistence, and output paths where possible.
3. Make the smallest production diff that satisfies every acceptance criterion.
4. Every production edit must map to an acceptance criterion or a necessary dependency.
5. Ask one focused question only if ambiguity would materially change the outcome.
6. Add focused tests at the existing ownership boundaries.
7. Run the repository's required formatter, focused tests, typecheck, full tests, lint, and domain-specific validation.
8. Avoid external side effects during verification.
9. Report the change, verification results, and any blocker concisely.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yannelli/agents --plugin workflows