Prompt file imported from tj0517/Fjordanglers (
.claude/commands/fa-task.md). Fill in{{arguments}}before use. Copyright stays with the author.
Task id: {{arguments}}
Do exactly this, in order:
-
Load the task. Read
docs/tasks/{{arguments}}.md. If it does not exist, listdocs/tasks/INDEX.mdrows with statustodowhosedepends_onare alldone, pick the earliest stage, and confirm the choice in one sentence before continuing. -
Check it can be done now.
- Every id in
depends_onhasstatus: donein its file — else stop and say which. blocked_by_questionsis empty — else quote theO-xxrow fromdocs/04-open-questions.mdand stop; you do not resolve open questions.statusistodo— ifin_progress, ask whether to resume.
- Every id in
-
Read the context — every path under "Kontekst — przeczytaj przed startem", fully. Then
CLAUDE.mdanddocs/05-agent-operations.mdif not already listed. -
Confront "Gotowe, gdy" with reality before you accept it. For each criterion, do the cheap check that tells you whether it is achievable and consistent with the scope: a grep, a file open, an
information_schemaquery, adb diff. If a criterion is impossible, contradictory, or already satisfied, say so now with the evidence and propose a replacement — do not start work against a criterion you know is wrong. -
Model and effort. Read
difficulty,model,effort,model_approvedfrom the frontmatter anddocs/05-agent-operations.md§2. If the task is XL andmodel_approvedis empty, stop and ask the human which model to use — do not assume. State the model you are running as and the effort you will apply. -
Set up.
git statusmust be clean. Create the branch named in the frontmatter frommain. Set the task'sstatus: in_progressin the file and commit that alone. -
Print the working brief you will follow (so the human can correct it before work starts): goal in two sentences · checklist from "Zakres" with the first item being the read-of-current-state · acceptance criteria as verified in step 4 · out of scope · STOP gates that apply · verification commands. Then wait for "go" if the task has
touches_prod: trueor difficulty XL; otherwise proceed. -
Work. Delegate to the subagent named in
agent:for the implementation when the task is M or larger; usefa-architectfirst when it is L/XL and no plan exists in "Notatki z realizacji". Keep commits small. Anything noticed outside scope goes todocs/deferred-tasks.mdand nowhere else. -
Finish with the report format from
docs/05-agent-operations.md§5, pasted into "Notatki z realizacji" and into the PR body. Setstatus: review. Do not markdone— that is the reviewer's call. -
Open the PR — as a draft. Push the branch, then:
gh pr create --base main --title "<id> — <task title>" --body-file <report file> --draftDraft on purpose: the PR exists for review, nobody merges it by accident. Nevergh pr merge— merging is tj's call, always. Ifghreports it is not authenticated, do not try to log in, look for a token, or read.env*. Print the compare URL instead —https://github.com/tj0517/Fjordanglers/compare/main...<branch>?expand=1— and say in the report that the PR has to be opened by hand. If the branch touchesdocs/tasks/INDEX.mdordocs/deferred-tasks.md, mergeorigin/maininto the branch first and resolve there, so the PR lands conflict-free: both files are append-heavy and every parallel task collides on them.
Never: start a second task in this session without being told; run db push,
migration repair, non-SELECT SQL on production, drops, or secret changes without a STOP
message and an explicit yes; print an env value.