skills-catalog/ln-113-backend-docs-creator/SKILL.md
Creates backend docs (api_spec.md, database_schema.md). Use when project has backend API or database.
npx skillsauth add levnikolaevich/claude-code-skills ln-113-backend-docs-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Type: L3 Worker
L3 Worker that creates 2 backend documentation files. CONDITIONAL - only invoked when project has backend or database.
hasBackend=true (express, fastify, nestjs, fastapi detected)hasDatabase=true (pg, mongoose, prisma, sequelize detected)From coordinator:
contextStore: Context Store with backend-specific data
targetDir: Project root directoryflags: { hasBackend, hasDatabase }MANDATORY READ: Load shared/references/docs_quality_contract.md, shared/references/docs_quality_rules.json, and shared/references/markdown_read_protocol.md.
| File | Condition | Questions | Auto-Discovery | |------|-----------|-----------|----------------| | docs/project/api_spec.md | hasBackend | Q39-Q40 | Medium | | docs/project/database_schema.md | hasDatabase | Q41-Q42 | High |
!hasBackend && !hasDatabase: return early with empty resultFor each applicable document:
[TBD: ...]Quick Navigation, Agent Entry, Maintenance){
"created_files": ["docs/project/api_spec.md"],
"skipped_files": ["docs/project/database_schema.md"],
"quality_inputs": {
"doc_paths": ["docs/project/api_spec.md", "docs/project/database_schema.md"],
"owners": {
"docs/project/api_spec.md": "ln-113-backend-docs-creator",
"docs/project/database_schema.md": "ln-113-backend-docs-creator"
}
},
"validation_status": "passed"
}
[TBD: ...], TODO, or leaked template metadata in backend docsAPI spec documents contracts, NOT implementations:
<!-- NO_CODE_EXAMPLES: ... --> tag - FOLLOW ITTables (endpoints, schemas) > Mermaid (ER diagrams) > Lists > Text
MANDATORY READ: Load shared/references/docs_generation_summary_contract.md
Accept optional summaryArtifactPath.
Summary kind:
docs-generationRequired payload semantics:
worker = "ln-113"statuscreated_filesskipped_filesquality_inputsvalidation_statuswarningsWrite the summary to the provided artifact path or return the same envelope in structured output.
references/templates/api_spec_template.md, references/templates/database_schema_template.mdreferences/questions_backend.md (Q39-Q42)Version: 1.2.0 Last Updated: 2025-01-12
testing
Checks runtime lifecycle and config validation: bootstrap, shutdown, probes, cleanup, env sync, and fail-fast startup. Use for runtime readiness.
testing
Checks races, deadlocks, async hazards, TOCTOU, blocking I/O, and shared resource contention. Use when auditing concurrency correctness.
testing
Checks diagnosability through structured logs, metrics, traces, correlation IDs, and useful log levels. Use when auditing incident visibility.
development
Finds code that can be safely deleted: unreachable, unused, obsolete compatibility, and commented-out code. Use when pruning dead code.