invest-backfill

Survey existing codebases to generate Investiture doctrine files.

52|9|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/erikaflowers/investiture --skill invest-backfill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: invest-backfill
Source: https://github.com/erikaflowers/investiture/tree/main/.claude/skills/invest-backfill
Command: npx skills add https://github.com/erikaflowers/investiture --skill invest-backfill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of essential Investiture doctrine files (VECTOR.md, CLAUDE.md, ARCHITECTURE.md) by analyzing an existing codebase, inferring its structure, stack, and conventions.

Core Features & Use Cases

  • Automated Doctrine Generation: Surveys project files (README, package manifests, config files, code structure) to infer technical stack, architecture layers, and coding conventions.
  • Contextual Doctrine: Generates doctrine that reflects the project's reality, not just Investiture defaults, by incorporating inferred signals.
  • Use Case: You've inherited a project with no documentation. Run /invest-backfill to generate initial doctrine files that accurately describe the existing code, providing a foundation for future development and onboarding.

Quick Start

Run the invest-backfill skill to survey the current project and generate doctrine files.

Frequently Asked Questions about invest-backfill

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

FAQPage Schema
How do I generate documentation for an existing codebase with no docs?

Generate documentation for an undocumented codebase by surveying project files, inferring the technical stack and architecture, and producing context-aware doctrine files like ARCHITECTURE.md. This provides an accurate foundation for future development and onboarding.

What is project doctrine scaffolding and when do I need it?

Project doctrine scaffolding is the automated creation of foundational context files like VECTOR.md and CLAUDE.md. You need it when you inherit an undocumented codebase and must quickly establish architectural identity, stack conventions, and embedded agent instructions for future development.

Can I do a dry run to preview generated architecture files before writing?

Yes, you can perform a dry run to preview inferred architecture files before writing changes. This selective file generation prevents unwanted modifications by letting you review the surveyed project identity, stack, and coding conventions beforehand.

How does automated code analysis infer coding conventions for onboarding?

Automated code analysis infers coding conventions by surveying existing project files such as READMEs, package manifests, and config files. It extracts structural signals to generate doctrine that reflects the project's actual reality rather than relying on generic defaults.

Does this doctrine generation work without external dependencies?

Yes, doctrine generation works without external dependencies because it operates directly on the existing codebase. It surveys local project structure and configuration files to infer architecture layers and conventions independently.

What is the best way to backfill architecture documentation for an inherited project?

The best way to backfill architecture documentation is to run an automated codebase survey that analyzes project identity and stack, then generates contextual doctrine files. This ensures the documentation accurately describes the existing code structure and conventions.