generate-spec

Generate Markdown declarative specifications from code analysis reports.

21|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/unicorn-plugins/dmap --skill generate-spec-unicorn-plugins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-spec
Source: https://github.com/unicorn-plugins/dmap/tree/main/spec-driven-team/.claude-plugin/skills/generate-spec
Command: npx skills add https://github.com/unicorn-plugins/dmap --skill generate-spec-unicorn-plugins

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of declarative specifications from analyzed codebases, transforming complex code logic into structured, understandable documentation.

Core Features & Use Cases

  • Automated Spec Generation: Creates complete specifications for declarative logic and skeleton specifications for complex logic.
  • Code Analysis Integration: Leverages code analysis reports to inform specification creation.
  • Use Case: After analyzing a new microservice's codebase, use this Skill to automatically generate the initial set of API and workflow specifications, significantly speeding up the documentation process.

Quick Start

Generate a declarative spec from the latest code analysis report.

Frequently Asked Questions about generate-spec

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

FAQPage Schema
How do I generate declarative specifications from code analysis reports?

To generate declarative specifications, you use an automated process that converts function signatures, control flows, and data transformations into structured Markdown files within the `specs/` directory adhering to DMAP standards.

What is the best way to automate API documentation for a new microservice?

Automating API documentation for a new microservice is best done by generating declarative specs from code analysis reports. This automatically creates structured specification files, significantly speeding up the documentation process for APIs and workflows.

How does automated spec generation handle complex code logic?

Automated spec generation handles complex code logic by creating skeleton specifications rather than complete declarations. It uses algorithms to map intricate data transformations and control flows into Markdown formats.

Can I use code analysis to create Markdown documentation for declarative logic?

Yes, you can use code analysis to create Markdown documentation. The process analyzes your codebase and generates complete specifications for declarative logic, outputting them as Markdown-formatted files in the `specs/` directory.

Do I need to provide a code analysis report before generating specifications?

Yes, you need to provide a code analysis report before generating specifications. The Skill leverages these code analysis reports to inform the creation of structured declarative specifications for your codebase.