context-onboarding

Map existing codebases to a five-piece documentation set.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/DeathKnightH/context-skills --skill context-onboarding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-onboarding
Source: https://github.com/DeathKnightH/context-skills/tree/main/skills/context-onboarding
Command: npx skills add https://github.com/DeathKnightH/context-skills --skill context-onboarding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reconstruct comprehensive documentation (SPEC, API, CONTEXT, RULES, CHANGELOG) for an EXISTING codebase by analyzing structure, configuration, and routes, then iteratively validate with the user to ensure accuracy.

Core Features & Use Cases

  • Reverse-engineer a legacy or outdated project into a complete five-piece docset.
  • Infer module boundaries, dependencies, and architecture from code and config, then present a proposed documentation map for user confirmation.
  • Provide an interactive workflow to verify and adjust module scope, dependencies, and relationships before finalizing docs.

Quick Start

Run the onboarding flow to scan your EXISTING project and generate an initial doc map for validation.

Frequently Asked Questions about context-onboarding

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

FAQPage Schema
How do I reverse-engineer an existing codebase into documentation?

Generate documentation for a legacy codebase by scanning its structure, configuration, and routes to infer module boundaries and dependencies. The system proposes a documentation map for user validation, ensuring architecture and interfaces are accurately captured before finalizing the docs.

What is the best way to document a legacy project with outdated documentation?

Documenting a legacy project involves scanning the existing code to map it to a five-piece docset: SPEC, API, CONTEXT, RULES, and CHANGELOG. You validate the inferred module boundaries and dependencies interactively to ensure the reconstructed docs match the actual architecture.

Can I generate a SPEC and API docset for an existing project without writing it manually?

Yes, you can generate a SPEC and API docset automatically for an existing project. The system analyzes code structure and routing to extract interfaces and architecture, deferring business rationale to user input during the validation workflow to complete the documentation.

How do I identify module boundaries and dependencies in a codebase lacking up-to-date docs?

Identify module boundaries and dependencies by analyzing the codebase's structure and configuration. The system presents a proposed documentation map of the inferred architecture, which you verify and adjust interactively to confirm the actual module scope and relationships.

Does codebase onboarding work for existing projects or only new codebases?

Codebase onboarding works specifically for existing projects lacking up-to-date docs. It reverse-engineers the current code structure, configuration, and routes to reconstruct comprehensive documentation, rather than generating docs from scratch for a new codebase.

What are the limitations of reverse-engineering code into documentation?

A limitation of reverse-engineering code into documentation is that it cannot infer business rationale and policy decisions. It captures architecture and interfaces from the code, but requires user input during validation to supply the missing business context and rules.