Agent skill · software engineering · google-gemini
spec_generator
Generates a structured Workable Spec JSON to guide a Developer Worker.
Why this skill is useful
Adds a script that generates a structured JSON spec for automated code generation, ensuring strict adherence to a defined schema.
What it needs
About 2k tokens when loaded. Last updated 2026-08-07. 106,400 stars on the source repository.
What this skill does
Spec Generator Instructions Extract key technical details from the issue and organize them according to the following strict JSON schema. Critical Rules: 1. Codebase Verification: Rely on file paths and locations found during your codebase exploration. Ensure all files mentioned in filestomodify actually exist in the repository. Do not make up file paths. 2. Target File Selection: List all source code files in filestomodify where code changes belong. Fix config or state issues early at their setup/hook entrypoint rather than refactoring low-level utilities. Strictly do NOT list test files or files that were only inspected without requiring code changes. 3. Strict JSON Escaping: Ensure the generated output is standard, valid JSON. In JSON string values (such as summary fields or verification steps), do NOT escape single quotes with backslashes. Write them directly as ' (not \\'). [!IMPORTANT] The output MUST strictly adhere to this schema. Deviations (like putting objects inside arrays instead of strings) will break the downstream automated code generation pipeline. The final workablespec object must conform strictly to this JSON Schema specification. Every field listed below is strictly required and must be populated: Do not include any metadata like spam assessment or effort tags in this spec. Keep it focused entirely on instructions for code generation and testing.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills google-gemini/spec_generator