Skip to content

PolyXGO/HeraSpec

Repository files navigation

HeraSpec

npm version license node version build status

downloads stars forks issues


🌐 Website💻 GitHub📦 NPM📚 Documentation

HeraSpec is a specification-based development framework that helps you:

  • Plan before coding by creating detailed project specifications
  • Track changes through delta specifications
  • Work across multiple project types (WordPress, Laravel, React, etc.)
  • Integrate with AI tools for better development workflow

Important Note

Note: HeraSpec is a workflow framework that I have personally designed, tested, and continuously refined through real-world production use. It is primarily optimized for small to medium-sized projects, especially for solo developers and freelancers building products independently — including plugins, modules, themes, templates, and software distributed on platforms such as Envato.

HeraSpec serves as the specification and workflow backbone behind the entire PolyCMS.org ecosystem and multiple commercial products developed under the Antigravity workflow.

It powers AI-assisted architecture planning, specification management, documentation pipelines, content operations, and development workflows through a multi-model ecosystem built around Google Gemini, OpenAI ChatGPT, and Anthropic Claude Opus.

Because HeraSpec evolved from practical production needs rather than enterprise-first design, some structures, conventions, or workflows may not be fully standardized or suitable for highly complex large-scale organizations. In such cases, you are encouraged to adapt, simplify, or restructure the system to better fit your own workflow and operational requirements — including asking your AI agents to customize and extend it accordingly.

If you have ideas, improvements, or additional skills that could enhance HeraSpec, contributions and suggestions are always welcome.

Good luck, and build with love.

Showcase

Here are some products built partially or entirely using the HeraSpec framework:

Plugin WordPress cho Phong Thủy Huyền Học

Plugin WordPress khác

HeraSpec Development

This project uses HeraSpec for spec-driven development. For more information, see the HeraSpec documentation.

Quick Start

# Initialize HeraSpec (if not already done)
heraspec init

# List active changes
heraspec list

# View a change
heraspec show <change-name>

# Validate changes
heraspec validate <change-name>

Project Structure

  • heraspec/project.md - Project overview and configuration
  • heraspec/specs/ - Source of truth specifications
  • heraspec/changes/ - Active changes in progress
  • heraspec/skills/ - Reusable skills for AI agents
  • AGENTS.heraspec.md - AI agent instructions

Working with Changes

  1. Create a change: Ask AI to create a HeraSpec change, or create manually
  2. Refine specs: Review and update delta specs in heraspec/specs/<change-name>/
  3. Implement: Follow tasks in heraspec/changes/<change-name>/tasks.md
  4. Archive: Run heraspec archive <change-name> --yes when complete

Skills

Add skills to your project:

# List available skills
heraspec skill list

# Add a skill
heraspec skill add ui-ux
heraspec skill add unit-test

# View skill details
heraspec skill show ui-ux

For more information, see the HeraSpec documentation.


This section is automatically updated by heraspec init. Last updated: 2026-05-21

Installation

npm install -g heraspec

Quick Start

# Initialize a new project
heraspec init

# Create your first change proposal
heraspec change create "add-user-authentication"

# Start working on the change
heraspec change start "add-user-authentication"

Documentation

Features

  • ✅ Multi-project type support (WordPress, Laravel, React, Vue, etc.)
  • ✅ Specification-driven development
  • ✅ AI integration ready
  • ✅ Change tracking and management
  • ✅ Delta specifications
  • ✅ Task management with skills system

AI Integration

Integrate with AI tools for better development workflow: Cursor, Antigravity, Windsurf, Copilot, and Claude Desktop. HeraSpec automatically generates specifications that AI tools can understand and implement.

Supported AI Tools

  • Cursor - Native AGENTS.md support for automatic change creation
  • Antigravity - AGENTS.md integration for spec-driven development
  • Windsurf - AI-powered workflow with HeraSpec specifications
  • Copilot - Enhanced development with structured specs
  • Claude Desktop - MCP-ready architecture for AI assistance

Support

If you find this source code helpful, consider buying me a coffee to support my work! ☕

Buy Me A Coffee

-or-

Donate QR Code

License

MIT License - see LICENSE file for details.

Releases

No releases published

Packages

 
 
 

Contributors