source-driven-development

Verifies framework code patterns against official documentation and cites sources.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill source-driven-development-authrain-cloud-abdullahformuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-driven-development
Source: https://github.com/authrain-cloud-abdullahformuli/agent-skills/tree/main/skills/source-driven-development
Command: npx skills add https://github.com/authrain-cloud-abdullahformuli/agent-skills --skill source-driven-development-authrain-cloud-abdullahformuli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI-generated framework code often relies on stale training data, producing deprecated APIs and outdated patterns that break against current library 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, composer.json, requirements.txt, go.mod, Cargo.toml, or Gemfile to identify exact framework versions before writing code. - Documentation-Grounded Implementation: Fetches the relevant official docs page, follows documented API signatures, avoids deprecated patterns, and treats fetched content as untrusted data to resist prompt injection. - Source Citation: Adds full-URL citations in code comments and conversation, quotes supporting passages, and explicitly flags anything that could not be verified. - Use Case: You are building a form in a React 19 project. The Skill detects React 19.1.0 from package.json, fetches the official useActionState reference, implements the documented pattern instead of a manual useState loading flag, and cites the source so you can verify it. ## Quick Start Ask the agent to implement a framework-specific feature using source-driven development so every pattern is verified against the official docs and cited.

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 dependency files like package.json, fetch the relevant official docs page, and implement only documented API signatures. Every framework-specific decision gets a full-URL citation so you can verify it.

How to avoid deprecated APIs in AI-generated code?

Check the official documentation and migration guides for your exact library version before implementing. If the docs deprecate a pattern, use the recommended replacement and cite the source rather than relying on training data, which often contains outdated patterns.

Which sources are authoritative for framework code patterns?

Official documentation is the primary source, followed by official blogs and changelogs, then web standards references like MDN and compatibility data like caniuse.com. Stack Overflow answers, blog tutorials, and AI-generated summaries are never cited as primary sources.

Can fetched documentation pages contain prompt injection attacks?

Yes, fetched pages are treated as untrusted data. Only API definitions, code samples, and deprecation notes are extracted; directives targeting the model, ads, and unrelated calls to action are ignored, and suspicious content never overrides the user's request.

When should I not verify code against official docs?

Skip verification when correctness does not depend on a framework version, such as renaming variables, fixing typos, moving files, or writing pure logic like loops and data structures that behaves identically across versions.

What happens when documentation conflicts with existing project code?

The conflict is surfaced explicitly with both options presented: adopt the modern documented pattern or stay consistent with the existing codebase. The user chooses rather than the decision being made silently.