ac-spec-parser

Parse and validate project specifications. Use when loading YAML/JSON specs, validating spec structure, extracting requirements, or converting between spec formats.

181 stars

Best use case

ac-spec-parser is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Parse and validate project specifications. Use when loading YAML/JSON specs, validating spec structure, extracting requirements, or converting between spec formats.

Teams using ac-spec-parser should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ac-spec-parser/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/ac-spec-parser/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ac-spec-parser/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ac-spec-parser Compares

Feature / Agentac-spec-parserStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Parse and validate project specifications. Use when loading YAML/JSON specs, validating spec structure, extracting requirements, or converting between spec formats.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# AC Spec Parser

Parse and validate project specifications for autonomous coding.

## Purpose

Parses YAML/JSON/Markdown specifications into structured data for feature generation and planning.

## Quick Start

```python
from scripts.spec_parser import SpecParser

parser = SpecParser(project_dir)
spec = await parser.parse("spec.yaml")
print(spec.project_name)
print(spec.requirements)
```

## Supported Formats

- **YAML**: `.yaml`, `.yml` - Structured specifications
- **JSON**: `.json` - Machine-readable specs
- **Markdown**: `.md` - Human-readable specs with sections

## Specification Schema

```yaml
project:
  name: "Project Name"
  description: "What the project does"
  type: "web-app|api|cli|library"

requirements:
  functional:
    - id: "REQ-001"
      description: "User can login"
      priority: "high|medium|low"
      acceptance_criteria:
        - "Valid credentials grant access"
        - "Invalid credentials show error"

  non_functional:
    - id: "NFR-001"
      description: "Response under 200ms"
      category: "performance|security|usability"

technology:
  language: "python|typescript|go"
  framework: "fastapi|nextjs|gin"
  database: "postgresql|mongodb"

constraints:
  - "Must run on AWS"
  - "Budget under $100/month"
```

## Workflow

1. **Load**: Read spec file from disk
2. **Parse**: Convert to structured data
3. **Validate**: Check required fields and schema
4. **Normalize**: Standardize format for downstream use
5. **Export**: Output to feature analyzer

## Validation Rules

- Project name required
- At least one functional requirement
- All requirements have unique IDs
- Priority values are valid
- Technology stack is coherent

## Integration

Used by:
- `ac-spec-generator`: Generates feature list from parsed spec
- `ac-feature-analyzer`: Analyzes requirements
- `ac-complexity-assessor`: Estimates complexity

## API Reference

See `scripts/spec_parser.py` for full implementation.

Related Skills

adk-deployment-specialist

181
from majiayu000/claude-skill-registry

Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages AgentCard discovery, task submission, Code Execution Sandbox, and Memory Bank. Use when asked to "deploy ADK agent" or "orchestrate agents". Trigger with phrases like 'deploy', 'infrastructure', or 'CI/CD'.

address-parser

181
from majiayu000/claude-skill-registry

Parse unstructured addresses into structured components - street, city, state, zip, country with validation.

adding-mod-parsers

181
from majiayu000/claude-skill-registry

Use when adding new mod parsers to convert game mod strings to typed Mod objects - guides the template-based parsing pattern (project)

add-perspective

181
from majiayu000/claude-skill-registry

振り返り観点を追加するガイド。ユーザー指摘から学習し、類似問題を将来検出できるようにする。観点、perspective、チェック追加時に使用。

acc-create-specification

181
from majiayu000/claude-skill-registry

Generates DDD Specification for PHP 8.5. Creates reusable business rule objects for validation, filtering, and querying with composite pattern support. Includes unit tests.

abstract-algebra-specialist

181
from majiayu000/claude-skill-registry

Expert in groups, rings, fields, and algebraic structures with applications to cryptography and number theory

abm-specialist

181
from majiayu000/claude-skill-registry

Эксперт ABM. Используй для account-based marketing, target account selection и personalized campaigns.

a11y-specialist

181
from majiayu000/claude-skill-registry

Expert in web accessibility (WCAG 2.1/2.2 AA/AAA compliance), ARIA patterns, keyboard navigation, screen reader testing, color contrast, focus management, and automated accessibility testing

agent-ops-spec

181
from majiayu000/claude-skill-registry

Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.

Security Specialist

174
from majiayu000/claude-skill-registry

专注于应用安全、认证授权与合规性。

chrome-debug

159
from majiayu000/claude-skill-registry

This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.

Coding & DevelopmentClaude

vly-money

159
from majiayu000/claude-skill-registry

Generate crypto payment links for supported tokens and networks, manage access to X402 payment-protected content, and provide direct access to the vly.money wallet interface.

Fintech & CryptoClaude