spec_generator

Generates structured Workable Spec JSON from GitHub issues to guide developer workers.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill spec-generator-rameshkumarchouhanr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: spec_generator
Source: https://github.com/rameshkumarchouhanr/gemni-cli/tree/main/tools/caretaker-agent/cloudrun/triage-worker/.gemini/skills/spec_generator
Command: npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill spec-generator-rameshkumarchouhanr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It converts unstructured GitHub issue reports into a strict, machine-readable Workable Spec JSON so that downstream automated code generation pipelines receive consistent, verified implementation instructions. ## Core Features & Use Cases - Structured Spec Generation: Produces a JSON object with issue_id, summary (problem, root cause, context), implementation_plan, and testing_strategy fields. - Codebase Verification: Requires all files listed in files_to_modify to actually exist in the repository, preventing hallucinated file paths. - Schema Enforcement: Separates source files from test files and mandates flat string arrays so downstream automation does not break. - Use Case: In an automated issue-triage pipeline, feed a bug report to this Skill to produce a validated spec that a Developer Worker agent can directly implement and test. ## Quick Start Analyze this GitHub issue and generate a Workable Spec JSON with verified file paths, implementation steps, and a Vitest testing strategy.

Frequently Asked Questions about spec_generator

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

FAQPage Schema
How do I convert a GitHub issue into a structured implementation spec?▼

Extract the problem, root cause, and context from the issue, then populate the Workable Spec JSON schema with verified files_to_modify, ordered implementation steps, and a testing_strategy. All file paths must be confirmed to exist in the repository first.

What fields are required in a Workable Spec JSON?▼

The schema requires issue_id in owner/repo#number format, a summary object with problem, root_cause, and context, an implementation_plan with files_to_modify and steps, and a testing_strategy with test_file, expected_behavior, verification_steps, and framework.

Should test files be included in files_to_modify?▼

No. Test files such as *.test.ts or *.spec.ts must be excluded from files_to_modify and placed in testing_strategy.test_file instead. Mixing them breaks the downstream automated code generation pipeline.

Why does the generated spec break the downstream pipeline?▼

Failures usually come from schema deviations such as nesting objects inside the steps array, escaping single quotes with backslashes, or listing nonexistent file paths. Every step must be a flat string and all paths must be verified against the repository.

Which testing frameworks does the spec support?▼

The testing_strategy.framework field is an enum limited to Vitest or N/A. Use Vitest when a relevant test file exists and N/A when no automated test applies to the fix.