Skill Reference

Every skill Investiture ships. Two chains, eight skills. What each does, when to run it, what it reads, what it writes.

Doctrine Chain

Establish, validate, and enforce your project intent. Backfill creates doctrine from your codebase. Doctrine validates it. Architecture enforces it.

/invest-backfillBackfill Doctrine

Surveys an existing codebase. README, package manifest, git history, directory structure, config files, inline prompts, and generates VECTOR.md, CLAUDE.md, and ARCHITECTURE.md. Combines Investiture defaults with inferred content. Marks what it could not infer with operator prompts.

/invest-doctrineDoctrine Audit

Audits the doctrine files themselves for completeness, internal consistency, cross-document contradictions, and drift from the actual codebase on disk. Checks VECTOR.md, CLAUDE.md, and ARCHITECTURE.md against each other and against reality.

/invest-architectureArchitecture Audit

Reads ARCHITECTURE.md at runtime and checks every source file against what you declared. Layers, naming conventions, import direction, design tokens, state management patterns, file size limits.

Audit Chain

Assess, remediate, and verify codebase quality. Preflight scans. Manifest inventories. Repo-audit judges. Remediate plans. Verify confirms.

/invest-preflightPreflight Scan

Fast reconnaissance pass on any codebase. Identifies project type, tech stack, framework, database, auth approach, hosting, scale, and hazards in under 2 minutes. Outputs directly to conversation. No files written.

/invest-manifestCodebase Manifest

Reads every source file in the codebase and produces a structured inventory. Every file, route, endpoint, database table, component, hook, and feature documented with precise descriptions. Sections adapt to project type.

/invest-repo-auditCode Quality Audit

Scans the codebase across 8 vectors: dead code, spaghetti and complexity, error handling, security, consistency, feature completeness, performance, and documentation gaps. Classifies every finding by severity. Always includes commendations.

/invest-remediateRemediation Plan

Reads AUDIT.md and generates a phased remediation plan. Each phase is a self-contained prompt an agent can execute without reading the original audit. Ordered lowest-risk to highest-risk with rollback guidance.

/invest-verify-remediationVerify Fixes

After remediation phases are executed, verifies findings were resolved without introducing regressions. Updates AUDIT.md with resolution status (RESOLVED, DEFERRED, OPEN), deletes REMEDIATION.md, and patches MANIFEST.md.