invest-backfill

Generate VECTOR.md, CLAUDE.md, and ARCHITECTURE.md by surveying an existing codebase.

7|2|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/celanthe/clarion --skill invest-backfill-celanthe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invest-backfill
Source: https://github.com/celanthe/clarion/tree/main/.claude/skills/invest-backfill
Command: npx skills add https://github.com/celanthe/clarion --skill invest-backfill-celanthe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backfill helps bootstrap Investiture doctrine on an existing project by surveying the codebase and generating VECTOR.md, CLAUDE.md, and ARCHITECTURE.md that reflect the actual structure and conventions rather than templates.

Core Features & Use Cases

  • Survey an existing codebase to infer doctrine files and align them with project patterns.
  • Generate VECTOR.md, CLAUDE.md, and ARCHITECTURE.md to document architecture and validation workflow.
  • Run invest-doctrine to validate and enforce generated doctrine against the codebase.

Quick Start

Run backfill to scan your repository and produce the missing doctrine files, then run invest-doctrine to validate the results.

Frequently Asked Questions about invest-backfill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate architecture documentation for an existing codebase?

Generate architecture documentation for an existing codebase by surveying the repository to infer patterns and automatically producing doctrine files like VECTOR.md, CLAUDE.md, and ARCHITECTURE.md that reflect actual project structure.

Can I backfill project doctrine files without overwriting existing configurations?

Backfilling project doctrine files analyzes your codebase and generates missing documentation without overwriting existing files, ensuring your current configurations and conventions remain intact during the inference process.

What is the best way to bootstrap architecture conventions on an older software project?

Bootstrap architecture conventions on an older software project by scanning the existing code structure to infer patterns, then tailoring generated doctrine files using observed project signals and standard Investiture defaults.

How do I validate generated doctrine files against my codebase?

Validate generated doctrine files against your codebase by running invest-doctrine to review the output, enabling validation and enforcement of the architecture rules inferred during the backfill process.

What files are generated when backfilling doctrine on an existing repository?

Backfilling doctrine on an existing repository generates VECTOR.md, CLAUDE.md, and ARCHITECTURE.md files by surveying the codebase, yielding actionable doctrine content and operator prompts for review.

Do I need a specific project structure to generate doctrine files from code?

Generating doctrine files from code requires an existing project with code and structure that lacks doctrine files, allowing the backfill process to survey the repository and infer patterns to produce tailored documentation.