From codeforerunner
Routes a coding agent through the tracked codeforerunner prompt pack to keep repository documentation in sync with code. Use when the user asks to generate, refresh, audit, or review README, API docs, stack docs, diagrams, flow docs, version audits, stale-doc checks, security audits, changelog entries, or AGENTS onboarding files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codeforerunner:codeforerunnerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The authoritative canonical source for this skill body is `agent/codeforerunner.skill.md`. Distribution copies are not independent sources; maintainers should edit the canonical file, then sync the post-frontmatter body into Codex and Claude copies. Downstream packages must preserve this post-frontmatter Markdown content verbatim (V10); per-agent YAML frontmatter may differ, but the body cannot.
The authoritative canonical source for this skill body is agent/codeforerunner.skill.md. Distribution copies are not independent sources; maintainers should edit the canonical file, then sync the post-frontmatter body into Codex and Claude copies. Downstream packages must preserve this post-frontmatter Markdown content verbatim (V10); per-agent YAML frontmatter may differ, but the body cannot.
This skill does not bundle a runtime. It routes the host agent into the codeforerunner prompt pack (src/codeforerunner/prompts/ in the source repo, or retrieved via forerunner doc <task> from the installed CLI). The forerunner CLI, MCP server, pre-commit hook, CI workflow, and PyPI package are all live. Docker image and Makefile are not present.
The host agent is always the model — no API key or external provider needed. Use forerunner doc <task> to output the assembled prompt bundle, then act on it directly.
Trigger this skill when the user asks for any of:
README.md from a repo's actual state.AGENTS.md (or per-agent overlay files) from repo evidence.Do not activate for general coding assistance, implementing refactors, bug fixing, or non-documentation tasks.
Before running any task, gather from the target repo:
forerunner.config.yaml exclusion list when present.package.json, pyproject.toml, go.mod, Cargo.toml, package-lock.json, poetry.lock).If inputs are missing, the host agent may ask once before starting a task to collect them. This pre-task collection is the explicit exception to the base prompt's "do not ask clarifying questions mid-task" rule — once a task is running, that rule applies. Do not invent file contents.
These compose once into the prompt sent to the host model. They are not per-task steps. Retrieve each via forerunner doc <task> or read directly from src/codeforerunner/prompts/.
system/base.md — governing role and accuracy contract. Every output must obey it.partials/context-format.md — target-repo context shape and file-selection rules.partials/output-rules.md — Markdown standards, file output marker, diagram rules, length targets.partials/stack-hints.md — repo stack classification heuristics.Per-run, in this order:
forerunner doc scan and capture its YAML output. All documentation-generation and check workflows depend on the scan result. Exception: init-agent-onboarding may run without a prior scan because it derives onboarding guidance directly from repo evidence and existing instruction files.docs/prompt-guide.md section 3 for the authoritative task → input → output table. Run forerunner doc <task> to get the assembled prompt bundle, then execute it. Pass the scan result plus any task-specific inputs.<!-- output: path/to/file.md -->, write the artifact to that path. When it does not, return Markdown for the user to place. Append a ## Gaps section whenever evidence was insufficient — never silently invent content.To refresh all docs in one pass, run forerunner refresh — it outputs scan + check + all doc task bundles in sequence. Check drift with forerunner check. Health report via forerunner doctor.
## Gaps.forerunner.config.yaml. Treat it as the canonical config filename. Use forerunner doctor --fix to generate a starter config.check.md flags drift, surface the failure with file paths and reasons — do not paper over it.codeforerunner.forerunner.forerunner.config.yaml.Use these names consistently across any generated documentation, agent metadata, and instruction text.
The canonical file owns the skill's instruction content. Generated or copied skill files include the Codex distribution (plugins/codeforerunner/.codex-plugin/plugin.json + plugins/codeforerunner/skills/codeforerunner/SKILL.md) and the implemented Claude distribution (.claude-plugin/plugin.json + skills/codeforerunner/SKILL.md). The proposed generic distribution in T15 reuses that same root skills/codeforerunner/SKILL.md path rather than a separate generic-only skill file. See the docs/agent-distribution-design.md Package Layout section.
See docs/agent-distribution-design.md for the full packaging and installer design and the V10 verbatim-preservation rule.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub derek-palmer/codeforerunner --plugin codeforerunner