spec-extracting

Extract EARS-format specifications from Flutter/Dart code into structured YAML.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill spec-extracting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-extracting
Source: https://github.com/3balljugglerYu/ai_coordinate/tree/main/.agents/skills/spec-extracting
Command: npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill spec-extracting

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the tedious process of manually analyzing code to generate structured requirement specifications, saving significant development time and ensuring consistency.

Core Features & Use Cases

  • Automated Specification Generation: Analyzes Flutter/Dart code to extract EARS-format specifications.
  • Dependency Mapping: Identifies and lists class dependencies (repositories, services).
  • State Property Identification: Detects and documents state variables within classes.
  • Use Case: When you have a new ViewModel or Repository, use this skill to quickly generate a baseline EARS specification, which can then be refined and used for test generation.

Quick Start

Use the spec-extracting skill to extract specifications for the AuthViewModel class.

Frequently Asked Questions about spec-extracting

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

FAQPage Schema
How do I extract EARS specifications from existing Flutter and Dart code?

To extract EARS specifications from Flutter and Dart code, this Skill analyzes public methods, state properties, and dependency patterns to generate structured YAML output for requirement documentation and test case generation.

Can I generate EARS requirement documentation in Japanese from Dart code?

Yes, you can generate EARS requirement documentation in Japanese. The specification extraction supports both English and Japanese language outputs for specifications and preconditions derived from your Dart code.

What is the best way to automate EARS spec generation for a Flutter ViewModel?

Automating EARS spec generation for a Flutter ViewModel involves analyzing the class to identify state properties and dependencies. This Skill outputs a structured YAML baseline specification, saving manual analysis time.

Does the specification extraction tool identify repository and service dependencies in Dart?

Yes, the specification extraction tool identifies repository and service dependencies in Dart. It maps these class dependencies and includes them in the generated structured YAML output for comprehensive documentation.

What code elements are required to accurately extract EARS format specifications from Dart?

Extracting EARS format specifications from Dart requires analyzing public methods, state properties, and dependency patterns within your classes. These elements provide the behavioral logic needed to formulate the structured requirements.

Can I use the extracted EARS YAML output for automated test case generation?

Yes, you can use the extracted EARS YAML output for test case generation. The structured specification format provides the baseline requirements and preconditions necessary to drive automated testing workflows.