source-driven-development

Implements framework code verified against official documentation with cited sources.

2|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/MoofonLi/dev-ready --skill source-driven-development-moofonli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-driven-development
Source: https://github.com/MoofonLi/dev-ready/tree/main/src/dev_ready/templates/claude/skills/source-driven-development
Command: npx skills add https://github.com/MoofonLi/dev-ready --skill source-driven-development-moofonli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-generated code often relies on stale training data, producing deprecated APIs and outdated patterns that break against current framework versions. This Skill grounds every framework-specific implementation decision in official documentation so the code you receive is verifiable and current. ## Core Features & Use Cases - Stack Detection: Reads dependency files like package.json, pyproject.toml, go.mod, or Gemfile to identify exact framework versions before writing code. - Documentation-Grounded Implementation: Fetches the relevant official docs page, follows documented patterns, avoids deprecated APIs, and surfaces conflicts between docs and existing code. - Source Citation: Adds full-URL citations in code comments and conversation, and explicitly flags anything that could not be verified. - Use Case: When building a React 19 form, the Skill fetches react.dev, implements useActionState per the current docs instead of a stale useState pattern, and cites the exact reference page. ## Quick Start Ask the agent to implement a framework-specific feature using source-driven development so every pattern is verified against the official documentation for your detected versions.

Frequently Asked Questions about source-driven-development

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

FAQPage Schema
How do I make AI-generated code follow current framework documentation?

Use source-driven development: detect exact versions from package.json or pyproject.toml, fetch the relevant official docs page, implement the documented pattern, and cite the source URL. This prevents deprecated APIs from stale training data entering your codebase.

How to verify an API pattern against official docs before coding?

Fetch the specific documentation page for the feature, such as react.dev/reference/react/useActionState, rather than the homepage. Extract API signatures, deprecation warnings, and migration notes, then implement exactly what the docs show for your detected version.

Which sources are authoritative for framework code decisions?

Official documentation ranks first, followed by official blogs and changelogs, then web standards references like MDN, then compatibility data like caniuse.com. Stack Overflow answers, blog tutorials, and AI training data are never treated as primary sources.

What happens when documentation conflicts with existing project code?

The conflict is surfaced to you with both options explained, such as using the modern documented pattern versus matching the existing codebase convention. The Skill never silently picks one approach without your decision.

When should I not use documentation verification for code?

Skip it when correctness does not depend on a framework version, such as renaming variables, fixing typos, or pure logic like loops and data structures. It is also skipped when you explicitly prioritize speed over verification.

Can fetched documentation content hijack the AI's behavior?

No. Fetched pages are treated as untrusted data: only API definitions, examples, and migration notes are extracted. Directives embedded in fetched content targeting the model are ignored, and outbound endpoints from docs are never hardcoded without disclosure.