spec-init

Generate architecture, rules, schema, API, and PRD specifications from codebases.

8|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/firdaus12p/MACCA-METHOD --skill spec-init-firdaus12p
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-init
Source: https://github.com/firdaus12p/MACCA-METHOD/tree/main/.agents/skills/spec-init
Command: npx skills add https://github.com/firdaus12p/MACCA-METHOD --skill spec-init-firdaus12p

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, sklearn, nltk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of comprehensive project specifications from existing codebases, eliminating the need for manual documentation and ensuring accuracy in project context.

Core Features & Use Cases

  • Automated Specification Generation: Extracts project details such as architecture, rules, schema, API, style guide, and PRD directly from codebases.
  • Batch or Guided Mode: Supports both batch processing and guided mode for review and accuracy.
  • Use Case: For a project with an existing codebase, use this Skill to quickly generate all necessary documentation without manual effort.

Quick Start

Run the spec-init skill to generate project specifications from the current codebase.

Frequently Asked Questions about spec-init

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

FAQPage Schema
How do I generate project specifications from an existing codebase?

To generate project specifications from an existing codebase, you can use automated code analysis tools to extract architecture, rules, schema, API, and PRD documentation directly from your source files. This eliminates manual documentation effort and ensures accurate project context.

Do I need Python and specific libraries to automate project documentation?

Yes, automating project documentation generation requires Python along with specific libraries like sklearn and nltk. These dependencies are necessary for the code analysis processes that extract architecture, schema, and style guide details from your existing codebase.

Can I review extracted codebase specifications for accuracy during generation?

Yes, you can review extracted codebase specifications for accuracy by using guided mode. This mode allows you to step through the specification generation process, ensuring the extracted architecture, API, and PRD documentation accurately reflects your codebase before finalizing.

What is the best way to document API and schema details from an existing codebase?

The best way to document API and schema details from an existing codebase is through automated specification generation. By analyzing your source code, these tools extract technical details directly, ensuring your API documentation and database schema accurately match the implemented logic.

Does batch specification generation work for large codebases?

Batch specification generation works for large codebases by processing the entire project context simultaneously. This mode extracts all architecture, rules, schema, API, and PRD documentation in one automated pass, significantly reducing manual effort for extensive projects.