Skills are how Octopus tells the agent what to do and how to do it
disciplined. Each skill is a small Markdown file with frontmatter
that triggers engagement based on the userβs intent β a description
that says βuse when Xβ, optional triggers: for auto-engagement on
specific file patterns, and a body that walks the agent through the
right sequence of steps.
Why skills, not just rules
Rules describe what good code looks like (coding style, security,
patterns) β theyβre loaded into every conversation as standing
context. Skills describe how to perform a task β theyβre loaded
on demand when the userβs intent matches the skillβs description.
The split keeps the active context lean: a rule about Conventional
Commits is always loaded, but the full PR-feedback discipline only
loads when youβre actually receiving feedback on a PR. Skills are
the βengage when neededβ layer.
Granularity
Per the docs-site rule, only skills with non-trivial design
decisions get a detail page. Stack-specific patterns, thin
wrappers, and one-trick utilities are listed in the overview tables
without a page of their own.
Audits
Pre-merge audit gates. Each runs read-only and produces a severity-
tiered report (β block / β warn / βΉ info). The audit-all
composer runs the relevant ones in parallel.
| Skill | Audits | Detail |
|---|
audit-all | Composer for the four audits below β shared file discovery, parallel execution, consolidated report. | β |
audit-security | Hardcoded secrets, injection risks, public route auth gaps, dependency CVEs. | β |
audit-money | Money types, rounding, cents-not-round tests, env-var consistency, payment idempotency, webhook signature verification, fee-disclosure coupling. | β |
audit-tenant | Multi-tenant data-scope enforcement β query filters, raw SQL, new entity configs, controller ownership, admin endpoints. | β |
audit-config | Agent-configuration freshness β model-specific assumptions, stale dates, phantom skills, deprecated paths. | β |
audit-grounding | Signal-only divergence from the source of truth β invented conventions, unsupported domain facts the formatter canβt see. | β |
audit-fleet | Cross-repo adoption + drift β each repoβs config vs its declared target (baseline + stack profile + adoption tier) from fleet.yml. Signal-only; feeds fleet-bootstrap. | β |
audit-contracts | Frontend/backend contract drift β endpoints, DTOs, enums, status codes, auth rules, params. | β |
Implementation workflows
| Skill | Engages when | Detail |
|---|
implement | Any code-editing task β default on every implementation. | β |
debug | The user reports a bug, test failure, or unexpected behaviour. | β |
prototype | The user wants to flush out a design before committing β throwaway code in service of decisions. | β |
test-tdd | Implementing a new feature with explicit red/green/refactor loop. | β |
test-e2e | Adding an end-to-end test that hits real services. | β |
test-component | Adding a component-level test (RTL) β behaviour over implementation. | β |
backend-patterns | Backend implementation work β stack-aware layering. | β |
frontend-patterns | Frontend implementation work β component design, state, accessibility. | β |
Refactoring
| Skill | Engages when | Detail |
|---|
refactor-deepen | The codebase has shallow modules that should be consolidated. | β |
Doc lifecycle
The full RFC β Spec β ADR β Knowledge chain. Each step is a skill
the corresponding command invokes.
| Skill | Output | Detail |
|---|
doc-lifecycle | Routes between RFC / Spec / ADR / Knowledge based on scope and risk β the entry-point skill for documentation work. | β |
doc-adr | A new Architecture Decision Record in docs/adr/. | β |
doc-plan | A bite-sized TDD-style implementation plan from an approved spec. | β |
doc-subcontext | Per-module CLAUDE.md for monorepos β inherits from parent. | β |
doc-api | Integrator-facing API reference + OpenAPI kept faithful to the code β validate the contract or regenerate the docs. | β |
doc-align | Reconcile drift between code and docs. | β |
doc-prd | PRD published to the project issue tracker. | β |
Knowledge & planning
| Skill | Engages when | Detail |
|---|
continuous-learning | Capturing insights worth keeping across sessions; team mode aggregates recurring review feedback fleet-wide into rule candidates. | β |
standards | Self-serve βwhatβs our standard for X, and whyβ β answered from ADRs, rules, CONTEXT.md, knowledge; routes to authoring on a miss. | β |
definition-of-done | The teamβs Definition of Done as a versioned artifact β create/update it, or validate a diff against it. Wired into codereview, signal-only. | β |
onboarding | Ramp a new engineer onto a repoβs standards, architecture, and workflow β a scoped, ephemeral ramp that presents the map-system deck. | β |
plan-backlog | Auditing the roadmap and plans for staleness, orphans, broken links. | β |
context-budget | The conversation is heavy on tokens and needs pruning. | β |
context-handoff | Handing the current session to another agent. | β |
map-system | Mapping a repo β a quick textual orientation, or a themed self-contained HTML deck of the whole repo (the default). | β |
fleet-bootstrap | Converge 6+ repos onto a layered standard (baseline + stack profile + adoption tier) from one fleet.yml β multi-stack and legacy first-class; dry-run, non-destructive. | β |
interview | Stress-testing a plan via grilling. | β |
council | Pressure-testing one high-stakes decision from five lenses with anonymous peer review and a chairman verdict. | β |
triage-issues | Routing incoming issues through a state machine. | β |
Launches
| Skill | Output | Detail |
|---|
launch-feature | Multi-channel launch kit from a completed feature (RM / spec / PR). | β |
launch-release | Themed release announcement kit for existing users β landing page, email, Slack, Discord, banner, X thread, deck. | β |
| Skill | Engages when | Detail |
|---|
scaffold-skill | Creating a new skill end-to-end. | Covered in /commands/scaffold-skill/ |
compress-skill | Shrinking a SKILL.md without changing semantics. | β |
delegate | Routing a task to a specific role. | β |
Stack patterns
| Skill | What it adds |
|---|
dotnet | .NET / C# stack-specific guidance β async/await, EF Core, naming, file structure. |
Receiving code review
| Skill | Engages when | Detail |
|---|
respond-to-review | Receiving feedback on a PR β the verify / ask-for-evidence / disagree-with-reasoning triage. | Covered in /commands/pr-comments/ |
Source: skills/