engineer/skills/prime-context/SKILL.md
Use before starting pipeline work on a Ready feature the agent hasn't worked yet. Triggers — "/engineer.prime-context", "prime context", "load context before we start", "get up to speed on feature X".
npx skillsauth add swingerman/atdd prime-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Load working memory before pipeline work on a Ready feature — the convergent counterpart to discuss. Forked from superpowers:brainstorming but inverted: no exploration, just loading and orienting. Produces no artifact.
A prep step (not a checkpoint) between feature-init and discover-acs, on any feature the agent hasn't already worked this session.
Skip when: the agent just created the feature this session (context already warm). Not for: exploring whether a feature is worth doing (discuss).
${CLAUDE_PLUGIN_ROOT}/scripts/dae_resolve.py (see references/resolving.md); locate the feature (slug arg or branch name). Reject if no folder / no feature.md.feature.md, CHARTER.md, manifest.yml, prior handoffs/ (especially the originating *-discuss.md), and the files named in feature.md's "Related code / design pointers".feature.md. Then stop — prime-context orients, it does not interview.Re-invocation re-loads fresh (no incremental diffing).
Emit per ${CLAUDE_PLUGIN_ROOT}/references/handoff-summary.md. checkpoint: null; artifacts: []; human_action_needed: no; recommended_next: "/engineer.discover-acs".
Always emit a breadcrumb. Earlier versions produced no handoff because prime-context creates no artifact. Users expect a breadcrumb after every skill invocation (distbute Jun 4: "emit the handoff") — surprising them with "no artifact by design" breaks the agentic-summary contract. The breadcrumb records: which feature was primed, what files were loaded, any new pointer added to feature.md, and the next recommended skill. Body can be one paragraph — frontmatter is the load-bearing part for progress-log propagation.
data-ai
Use immediately after a PR is merged to clean up the local feature branch and resync main. Triggers — "/engineer.post-merge", "did we merge", "did we push", "PR merged", "post-merge cleanup", or right after a `gh pr merge` succeeds in the same session.
data-ai
Use to drive a bug fix from first report through close, with a "why didn't we catch it?" loop at the end. Triggers — "/engineer.fix", "a bug came in", "this is broken", "a user reported X", "there's a defect", "we have a regression", "this needs a fix", "another report", "more issues", "still failing", "validation failed again", "another bug", "next defect", "more fixes".
testing
Use mid-task when the working thread is lost — after a context compaction, a long agent run, or coming back to a feature unsure of the role, the current checkpoint, or the next action. Triggers — "/engineer.reorient", "reorient", "re-anchor", "what should I be doing right now", "I lost track", "where was I".
development
Use to check a feature's code against the charter's architecture rules — dependency layering, cycles, forbidden patterns, file naming, file size. Triggers — "/engineer.arch-check", "architecture check", "check architecture fitness", "does this follow the charter", "check layering".