Skip to content

Output documents

handover generates 14 interconnected markdown documents in the configured output directory (default: ./handover/). Each document covers a distinct aspect of the project. They are cross-referenced with links and include YAML front-matter for programmatic consumption.

The renderers that produce each document are in src/renderers/. Each renderer file name maps directly to the document it produces.

#FilenameRendererWhat it covers
0000-INDEX.mdrender-00-index.tsMaster index with document status and navigation links
0101-PROJECT-OVERVIEW.mdrender-01-overview.tsProject purpose, tech stack, entry points, and 2-sentence summary
0202-GETTING-STARTED.mdrender-02-getting-started.tsSetup, first run, and development workflow for the analysed project
0303-ARCHITECTURE.mdrender-03-architecture.tsSystem design, architectural patterns, and module relationships
0404-FILE-STRUCTURE.mdrender-04-file-structure.tsAnnotated directory tree with file-by-file explanations
0505-FEATURES.mdrender-05-features.tsFeature inventory with code traces back to implementation
0606-MODULES.mdrender-06-modules.tsModule-by-module deep dive: purpose, API surface, dependencies
0707-DEPENDENCIES.mdrender-07-dependencies.tsExternal dependencies, internal dependency graph, risk assessment
0808-ENVIRONMENT.mdrender-08-environment.tsEnvironment variables, secrets, config files, and runtime requirements
0909-EDGE-CASES-AND-GOTCHAS.mdrender-09-edge-cases.tsGotchas, error handling patterns, and known failure modes
1010-TECH-DEBT-AND-TODOS.mdrender-10-tech-debt.tsTODOs, complexity hotspots, and refactoring opportunities
1111-CONVENTIONS.mdrender-11-conventions.tsCoding patterns, naming conventions, and project-specific rules
1212-TESTING-STRATEGY.mdrender-12-testing.tsTest strategy, coverage posture, and test file locations
1313-DEPLOYMENT.mdrender-13-deployment.tsBuild process, CI/CD pipeline, and deployment targets

The documents are designed to complement each other. They cross-reference each other with links so a reader can navigate from an architecture overview straight to module details, or from a feature trace to the testing document. The index (00-INDEX.md) is the canonical entry point and shows the generation status of all other documents.

Some documents depend on AI analysis rounds to reach full quality. When --static-only is used, AI-enriched sections are noted as unavailable and the document is populated with static analysis data only. All 14 documents are always generated regardless of mode.

Documents include YAML front-matter (title, documentId, status, aiRoundsUsed) that makes them suitable for programmatic consumption and RAG ingestion. Use --audience ai to produce output with additional structured YAML blocks throughout the document body.

This is what the opening of 01-PROJECT-OVERVIEW.md looks like for a typical project:

---
title: Project Overview
documentId: 01-project-overview
category: overview
status: complete
aiRoundsUsed:
- round: 1
name: Project Overview
---
# Project Overview
my-api is a Node.js REST API for managing customer orders. Built with TypeScript,
it exposes a GraphQL interface backed by PostgreSQL and is deployed to AWS Lambda.
## What This Project Does
Provides order lifecycle management — creation, payment, fulfilment, and returns —
via a GraphQL API consumed by the company's mobile and web clients.
## Tech Stack
| Layer | Technology |
| -------- | ----------------------- |
| Runtime | Node.js 20 |
| Language | TypeScript 5 |
| API | GraphQL (Apollo Server) |
| Database | PostgreSQL via Prisma |
| Auth | JWT + AWS Cognito |
## Entry Points
- `src/index.ts` — Lambda handler, initialises the Apollo Server
- `src/schema/index.ts` — GraphQL schema root

Use --only to generate a subset of documents. This reduces API cost when you only need certain views:

Terminal window
# Generate only architecture and modules
npx handover-cli generate --only arch,modules
# Generate the onboarding group (overview, getting-started, arch, file-structure)
npx handover-cli generate --only onboard
# Generate quality-related docs (edge-cases, tech-debt, testing, conventions)
npx handover-cli generate --only quality

Available group aliases: core (arch, modules, features), ops (env, deploy, deps), onboard (overview, getting-started, arch, files), quality (edge-cases, tech-debt, testing, conventions).