Skip to content

Skills

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.

SkillAuditsDetail
audit-allComposer for the four audits below β€” shared file discovery, parallel execution, consolidated report.β†’
audit-securityHardcoded secrets, injection risks, public route auth gaps, dependency CVEs.β†’
audit-moneyMoney types, rounding, cents-not-round tests, env-var consistency, payment idempotency, webhook signature verification, fee-disclosure coupling.β†’
audit-tenantMulti-tenant data-scope enforcement β€” query filters, raw SQL, new entity configs, controller ownership, admin endpoints.β†’
audit-configAgent-configuration freshness β€” model-specific assumptions, stale dates, phantom skills, deprecated paths.β†’
audit-groundingSignal-only divergence from the source of truth β€” invented conventions, unsupported domain facts the formatter can’t see.β†’
audit-fleetCross-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-contractsFrontend/backend contract drift β€” endpoints, DTOs, enums, status codes, auth rules, params.β†’

Implementation workflows

SkillEngages whenDetail
implementAny code-editing task β€” default on every implementation.β†’
debugThe user reports a bug, test failure, or unexpected behaviour.β†’
prototypeThe user wants to flush out a design before committing β€” throwaway code in service of decisions.β†’
test-tddImplementing a new feature with explicit red/green/refactor loop.β€”
test-e2eAdding an end-to-end test that hits real services.β€”
test-componentAdding a component-level test (RTL) β€” behaviour over implementation.β€”
backend-patternsBackend implementation work β€” stack-aware layering.β€”
frontend-patternsFrontend implementation work β€” component design, state, accessibility.β€”

Refactoring

SkillEngages whenDetail
refactor-deepenThe 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.

SkillOutputDetail
doc-lifecycleRoutes between RFC / Spec / ADR / Knowledge based on scope and risk β€” the entry-point skill for documentation work.β†’
doc-adrA new Architecture Decision Record in docs/adr/.β†’
doc-planA bite-sized TDD-style implementation plan from an approved spec.β†’
doc-subcontextPer-module CLAUDE.md for monorepos β€” inherits from parent.β†’
doc-apiIntegrator-facing API reference + OpenAPI kept faithful to the code β€” validate the contract or regenerate the docs.β†’
doc-alignReconcile drift between code and docs.β€”
doc-prdPRD published to the project issue tracker.β€”

Knowledge & planning

SkillEngages whenDetail
continuous-learningCapturing insights worth keeping across sessions; team mode aggregates recurring review feedback fleet-wide into rule candidates.β†’
standardsSelf-serve β€œwhat’s our standard for X, and why” β€” answered from ADRs, rules, CONTEXT.md, knowledge; routes to authoring on a miss.β€”
definition-of-doneThe team’s Definition of Done as a versioned artifact β€” create/update it, or validate a diff against it. Wired into codereview, signal-only.β†’
onboardingRamp a new engineer onto a repo’s standards, architecture, and workflow β€” a scoped, ephemeral ramp that presents the map-system deck.β†’
plan-backlogAuditing the roadmap and plans for staleness, orphans, broken links.β†’
context-budgetThe conversation is heavy on tokens and needs pruning.β€”
context-handoffHanding the current session to another agent.β€”
map-systemMapping a repo β€” a quick textual orientation, or a themed self-contained HTML deck of the whole repo (the default).β†’
fleet-bootstrapConverge 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.β†’
interviewStress-testing a plan via grilling.β€”
councilPressure-testing one high-stakes decision from five lenses with anonymous peer review and a chairman verdict.β†’
triage-issuesRouting incoming issues through a state machine.β€”

Launches

SkillOutputDetail
launch-featureMulti-channel launch kit from a completed feature (RM / spec / PR).β†’
launch-releaseThemed release announcement kit for existing users β€” landing page, email, Slack, Discord, banner, X thread, deck.β†’

Skill authoring (meta)

SkillEngages whenDetail
scaffold-skillCreating a new skill end-to-end.Covered in /commands/scaffold-skill/
compress-skillShrinking a SKILL.md without changing semantics.β€”
delegateRouting a task to a specific role.β€”

Stack patterns

SkillWhat it adds
dotnet.NET / C# stack-specific guidance β€” async/await, EF Core, naming, file structure.

Receiving code review

SkillEngages whenDetail
respond-to-reviewReceiving feedback on a PR β€” the verify / ask-for-evidence / disagree-with-reasoning triage.Covered in /commands/pr-comments/

Source: skills/