needs-architecture

Generate or update docs/architecture.adoc with C4 diagrams from repository state and feature designs.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/provenimpact/proven-needs --skill needs-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: needs-architecture
Source: https://github.com/provenimpact/proven-needs/tree/main/skills/needs-architecture
Command: npx skills add https://github.com/provenimpact/proven-needs --skill needs-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and maintain a living system architecture document that reflects the current state of the project, enabling greenfield development, codebase analysis, and post-feature updates.

Core Features & Use Cases

  • Synthesize docs/architecture.adoc from current artifacts, feature designs, ADRs, and constraints.
  • Generate C4 diagrams (via Mermaid) and prose sections to communicate system context, containers, and components.
  • Support greenfield, reverse-engineer, and update modes, updating the architecture as the project evolves.

Quick Start

Instruct Proven Needs to generate or update docs/architecture.adoc from the current state of the repository.

Frequently Asked Questions about needs-architecture

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

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

To generate system architecture documentation from an existing codebase, the Skill reverse-engineers repository structure, feature designs, and ADRs to produce a cohesive architecture document. It outputs an AsciiDoc file containing prose sections and C4 diagrams reflecting the current project state.

What is a living architecture document and how does it stay current?

A living architecture document is an up-to-date system design reference that evolves with your project. It stays current by operating in update mode, analyzing new feature designs and ADRs after development to regenerate the architecture documentation with version metadata.

Can I create C4 diagrams with Mermaid for my system design automatically?

Yes, you can create C4 diagrams with Mermaid automatically. The Skill analyzes your repository state and outputs C4 diagrams via Mermaid to communicate system context, containers, and components directly within the generated architecture documentation.

Does this architecture documentation tool support greenfield development?

Yes, this architecture documentation tool supports greenfield development. It operates in a greenfield mode that synthesizes constraints and feature designs to establish the initial system architecture document before coding begins.

What is the best way to maintain ADRs and architecture docs in sync?

The best way to maintain ADRs and architecture docs in sync is to use an automated update tool that inspects both. This Skill analyzes your ADRs and repository state to regenerate the architecture document, ensuring your system design reflects current technical decisions.

What are the limitations of reverse-engineering architecture from code?

A limitation of reverse-engineering architecture from code is that the output quality depends on available artifacts. The Skill relies on inspecting existing feature designs, ADRs, and codebase structure, so sparse documentation or missing constraints will result in a less cohesive architecture document.