athenode-sdd/standard-setup/atn-apply

Claude Code and agent skill by athenode-sdd/standard-setup

Trust tier 2
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a prepared specification (or subtree) should be planned, implemented, reviewed and committed leaf by leaf.

Install

npx vskill@latest install athenode-sdd/standard-setup/atn-apply

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as athenode-sdd/standard-setup/atn-apply.

Drive a specification subtree from prepared to completed: plan, implement and review its leaves one at a time in dependency order, complete the intermediate specifications as their subtrees finish, and finally complete the root, running the project's git workflow and code review at the hooks named below.

Arguments

  • $1: the root specification's id or (partial) title. Other skills invoke this skill with the id only, also under their --auto-apply.

Repositories

  • The run's git repositories are the project root plus every repository path in the ## Sub-projects table of settings/SETTINGS.md, kept only where git -C <path> rev-parse --show-toplevel succeeds and deduplicated by that toplevel (a sub-project that is a plain package resolves to its enclosing repository).
  • Each repository follows the gitflow.md of the sub-project whose repository path is the longest path/ prefix of (or equal to) its path, else the root settings/gitflow.md. Every gitflow step runs independently in each repository; a repository whose git operations were stopped or aborted is skipped by every later gitflow step.
  • A leaf's files are derived from git; nothing is stored in Athenode. The leaf's baseline is the output of git -C <repo> status --porcelain in every repository, taken before the leaf is implemented and kept in the run's context only. A leaf's files are the paths that git -C <repo> status --porcelain reports as changed or new compared with that baseline, made relative to the project root, plus the files outside every repository that spec-implementer reports. Recompute the set after every spec-implementer return (the first run and every retry or resume for review fixes), keeping the paths found earlier, since a commit takes them out of the status; a path already dirty at the baseline is not the leaf's. Each file belongs to the repository with the longest matching toplevel; files outside every repository are never staged. Whenever spec-implementation-reviewer is spawned or resumed, pass it each reviewed leaf's files, since the working tree may already be committed by then.
  • A leaf touched a repository when git -C <repo> status --porcelain -- <its files there> reports one of them as changed. The repositories a leaf's plan predicts it will touch are those its Affected sub-projects section (specs_get_plan with the leaf id) maps to through the sub-project table.
  • The implemented-leaves list holds {id, title} of every leaf implemented without a TEST FAILURE in this run; the code-review.md Rules subsections review it.
  • A leaf's review has settled when the leaf is completed or skipped, or the run was stopped.

Flow

The run is unattended except at its ask points: a loaded Rules subsection says to ask, the planner is blocked (step 5.2), an implementer reports a TEST FAILURE (step 5.4), there are external blockers (step 3.7), or out-of-scope items are left to turn into ToDo cards (step 8). Every ask point is asked the same way when another skill started this one under its --auto-apply, which only skips that skill's own next-action question. Everywhere else decide with your own best judgment, and stop with a clear report on ambiguity that can't be resolved safely. Only this skill runs state-changing git commands, and only where a gitflow.md Rules subsection says so; if one fails and the subsection doesn't say what to do, stop git operations in that repository for the rest of the run, report why and continue without git there. No ToDo card is created before step 8, and only this skill creates one; subagents only return out-of-scope items. Tell every subagent that no user is available and that it never creates a ToDo card, passing answers the user gave at an ask point as ground truth.

  1. Work out the run's git repositories, then load each repository's gitflow.md (### Apply start, ### Leaf done, ### Review approved, ### Apply end) and the root settings/code-review.md (### Leaf done, ### Apply end, ### Findings), which drives the review loop for the whole run. A missing file or subsection skips the step it drives.
  2. Resolve $1 to the root id:
  • If $1 is missing, report that an explicit id or title is required and stop.
  • If it is a UUID, use it.
  • Otherwise call specs_search with query $1. With no hit, report that nothing matched and stop; with one, use its id; with several, report the candidates (id and title) and stop, asking for an explicit id.
  1. Fetch the execution plan, before the root is marked processing, so a stop here leaves it unchanged:
  2. Read the root with specs_get.
  3. Call specs_tree with id = the root id and executionOrder true, once, also for a root without children (the only source of the root's own blockers). Keep its tree and plan.
  4. If plan.cycle is set, report its specifications (title and id, in order) and stop, changing no status.
  5. If plan.order is empty, report that nothing under the root is prepared or processing (for a root without children, that it isn't prepared) and stop.
  6. If a leaf's internalBlockers entry that is in plan.order doesn't come earlier in it, or one that isn't in plan.order is missing from plan.unpreparedInternalBlockers, report the inconsistency (a backend bug) and stop.
  7. For each plan.unpreparedInternalBlockers entry, add its blockedLeafIds to the skipped set, with the reason "<leaf> is blocked by <blocker title> (<blocker id>, <status>)".
  8. If plan.externalBlockers is not empty, ask, listing per blocker its title, id, status, path titles joined with " / " and the titles of its blockedLeafIds:
  • Stop: report the external blockers and stop without changing any status.
  • Run only the leaves not blocked by external blockers: add every blocker's blockedLeafIds to the skipped set with the same reason. A blocker on the root or on an ancestor inside the branch blocks every leaf; then say plainly that nothing runs.
  1. If every leaf in plan.order is skipped, report that with the reasons and stop.
  2. Otherwise set the root processing with specs_set_status. The run list is plan.order minus the skipped set, in plan order; leaves already processing from an interrupted run go through the same flow and are re-planned.
  3. Seed a status map from tree (every node's id, status, parent and children) and keep it current for the rest of the run.
  4. Follow gitflow.md ### Apply start in every repository.
  5. For each leaf in the run list, in order:
  6. If it has meanwhile been added to the skipped set, record it as skipped and go on with the next leaf.
  7. Spawn spec-implementation-planner in the foreground with the leaf's id. If it returns its Blocked report, ask, showing the blockers:
  • Provide a resolution (free text): resume the same planner via SendMessage with it as ground truth, and handle its report the same way.
  • Skip this leaf: record it as "blocked, skipped", apply skip propagation and go on with the next leaf.
  • Stop the run: record it as "blocked, skipped" and the remaining leaves as "not processed", then go to step 6 (to step 7 if nothing was implemented).
  1. Do what gitflow.md ### Apply start says to do before a leaf is implemented, take the leaf's baseline, then spawn spec-implementer with the leaf's id and title.
  2. If its report holds a TEST FAILURE block, record the failure (leaf, failing tests, command, a summary of the last output). The leaf stays processing, stays off the implemented-leaves list and out of review, and its files are never staged. Ask:
  • Retry: spawn spec-implementer again with the failure as context and handle its report the same way; on success drop the recorded failure and continue with step 5.5.
  • Skip: apply skip propagation and go on with the next leaf.
  • Stop: record the remaining leaves as "not processed" and go to step 6 (to step 7 if nothing was implemented).
  1. Otherwise add the leaf to the implemented-leaves list, follow gitflow.md ### Leaf done in every repository, then code-review.md ### Leaf done for the leaf.
  2. Before the next leaf, wait wherever code-review.md ### Leaf done says to wait. After the last leaf, wait until every review in flight has settled.
  3. Follow code-review.md ### Apply end. Then set every implemented leaf that no code-review.md Rules subsection reviewed or completed during the run to completed with specs_set_status, and handle it as under leaf completion.
  4. Once every review has settled:
  • If every leaf in plan.order is completed, the skipped set is empty and every descendant in the status map is completed, set the root completed with specs_set_status.
  • Otherwise leave the root processing and record why.

Then follow gitflow.md ### Apply end in every repository, also after an early stop in step 5 (never after a stop in step 2 or 3).

  1. Last of all, once everything else, the git steps included, is done, turn the run's out-of-scope items into ToDo cards. Do this in every run that reached step 5, whatever its outcome (never after a stop in step 2 or 3, which collected no item):
  2. If the list is empty, ask nothing and go to the report.
  3. Call todos_list without status, which returns the project's cards that are not closed, and drop every item an existing card already covers, recording it as a duplicate of that card (with the card's title).
  4. Give each remaining item a type (follow-up, tech-debt, bug or idea) and a priority (low, medium or high): the subagent's proposal when it made one, otherwise your own judgment.
  5. If no item remains, ask nothing. Otherwise ask once which of the remaining items to turn into ToDo cards, as a multiple-choice question over every item (title, description, type and priority per option); when they don't fit one message, continue in further messages until every item has been offered. Without a user, ask nothing, create nothing and record every remaining item as not created.
  6. For each chosen item, call todos_create with title (at most 200 characters), description, type, priority and originSpecificationId = the specification id recorded with the item. Decide yourself, without asking for approval, whether the card needs open questions, and pass them as questions (at most 3) only under this rule: a question is allowed only when the card cannot be carried out without a decision that only the user can make (a product choice, mutually exclusive approaches with a real trade-off, or an irreversible or destructive action); never ask what the code, the conventions or the settings answer, and never ask "just in case"; most cards have none. Give a question its answer options, in the project's question format (recommended option first and marked), when they can be enumerated. Record the items not chosen as declined.
  7. If todos_list is unavailable or its call is refused, skip the question and record every item as not created with the reason. If todos_create is unavailable or a call is refused (an invalid field, a missing permission or any other error), record that item as not created with the reason and carry on. A failure in this step never changes the root's status, a leaf's status or the run's outcome.

Throughout the run:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/athenode-sdd/standard-setup/atn-apply/badge)](https://verified-skill.com/skills/athenode-sdd/standard-setup/atn-apply)

Something wrong with this skill or its page? Tell us.