Encodes the post-review response loop using scripts/prreviewreply.py: reply to inline PR comments referencing the fix commit, then resolve threads. USE FOR: responding to GitHub PR review comments after fixing the raised issues; batch-reply-and-resolve in one pass; obtaining comment IDs and thread node IDs from the…
Mandatory pre-merge gate. Encodes the PR review triage workflow: retrieve all automated and human reviews (Copilot review is auto-triggered on PR open), classify actionable vs. advisory comments, prioritise by blocking/suggestion/nit, batch fixes by file, phase them efficiently, and use scripts/prreviewreply.py to…
Defines the prompt archaeology ritual: systematically mining prior session scratchpads, commit messages, and issue comments to surface decision rationale, failed approaches, and discovered constraints that should be encoded into the substrate. USE FOR: post-sprint review of older session artifacts (.tmp/ scratchpads…
Orchestrates the full research epic planning workflow: scope analysis, dependency mapping, phased workplan authoring, commit, and orientation prompt generation. USE FOR: creating a phased, multi-issue research workplan doc for any milestone or epic with ≥3 issues; producing a committed docs/plans/ doc that future…
5-step workflow for enriching and executing secondary research sprints on bare-bones GitHub issues (title + URL). Runs Endogenous-First: corpus check before web scouting. Produces a D4 synthesis doc and closes the issue.
Governs the full agent session lifecycle: scratchpad init/close, encoding checkpoint at session start, compaction guard, phase gate protocol, and session summary. USE FOR: starting a new session (prunescratchpad.py --init); writing ## Session Start with governing axiom; managing cross-agent context in .tmp/ / .md…
Formalises the post-phase insight harvest and substrate encoding loop: articulate lessons learned, gap-analyse which are already encoded, route encoding gaps to the correct fleet agents, and commit the result. USE FOR: closing a phase with ≥2 novel patterns observed; ending a session where new techniques outperformed…
Encodes conventions for authoring SKILL.md files in .github/skills/ /: YAML frontmatter, required headings, issue linkage, governance metadata, and CI validation. USE FOR: creating or modifying reusable domain-specific skills; understanding skill vs agent distinction; packaging procedural knowledge for cross-agent…
Encodes the fetch-before-act protocol for research sessions: check .cache/sources/ before fetching any URL, use scripts/fetchsource.py to cache external pages as distilled Markdown, then read from disk with readfile instead of re-fetching. USE FOR: pre-warming the source cache at the start of any research session…
Reviews all open GitHub issues, clusters them by theme and priority, proposes a coherent next sprint with selected issues, creates or updates the sprint milestone, and scaffolds a workplan in docs/plans/. USE FOR: end-of-sprint planning sessions; when the backlog has grown and needs a structured next-sprint proposal…
Encodes the protocol for extracting and cleaning transcripts from video sources (primarily YouTube) during research sessions. USE FOR: pulling closed captions or auto-generated transcripts when a video is a primary research source; cleaning timestamps and speaker markers for better LLM readability; populating…
Encodes the full pre-commit guardrail sequence from AGENTS.md as a reusable checklist for any agent before git commit or git push. USE FOR: running lint, format, tests, and compliance checks before every commit; determining which checks apply based on which file types changed; installing pre-commit hooks once per…
Encodes the pre-planning protocol from AGENTS.md: create a workplan doc before any multi-phase session execution, scaffold it with scripts/scaffoldworkplan.py, and commit it before Phase 1 runs. USE FOR: any session with ≥3 phases or ≥2 agent delegations; any session spanning more than one day; creating an auditable…