spec-gen-implement-story

Implement stories on brownfield codebases using spec-gen structural context.

270|34|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/clay-good/spec-gen --skill spec-gen-implement-story
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-gen-implement-story
Source: https://github.com/clay-good/spec-gen/tree/main/examples/mistral-vibe/skills/spec-gen-implement-story
Command: npx skills add https://github.com/clay-good/spec-gen --skill spec-gen-implement-story

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the safe and structured implementation of stories on a brownfield codebase by applying spec-gen structural context, orienting on risk, and enforcing tests before drift checks.

Core Features & Use Cases

  • Orient a task using the story context and risk assessment before touching code.
  • Find insertion points and verify alignment with existing specs and domain models.
  • Enforce a test gate and verify drift alignment to reduce risk during refactors.

Quick Start

Trigger this skill with a request to implement a story on a codebase that has spec-gen analysis available, such as "implement story for feature X".

Frequently Asked Questions about spec-gen-implement-story

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

FAQPage Schema
How do I implement a story on a brownfield codebase while managing drift risk?

To implement a story on a brownfield codebase safely, orient on structural risk and validate specs before coding. This ensures you select correct insertion points and verify domain model alignment to reduce drift.

Do I need existing spec-gen analysis before implementing a story?

Yes, existing spec-gen analysis is a required prerequisite. You need the structural context from a prior spec-gen analysis to orient risk, find insertion points, and validate specs before touching code.

How does risk assessment work when coding a new feature into an existing codebase?

Risk assessment works by orienting on the story context and structural risk before coding. It helps you find safe insertion points and ensures alignment with existing specs to minimize refactoring drift.

When should I enforce test gates during story implementation?

You should enforce a test gate immediately after coding and before running drift checks. This validates the story implementation and ensures structural alignment before verifying drift on the brownfield codebase.

What is the best way to validate specs before touching code on an existing project?

The best way to validate specs is by using spec-gen structural context to orient risk and verify alignment with domain models. This validates prerequisites and finds correct insertion points before coding begins.