agentleFS
jacksonwilliamsvajacksonwilliamsva/kiro-skills-library/skills/source-driven-development/SKILL.md

source-driven-development

Skill2 starsChanged 7 months agoMITView on GitHub

Use when writing framework-specific code, building boilerplate, or implementing patterns where correctness depends on a specific library version — grounds every decision in official documentation, not training data

38 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use using-agent-skills, git-workflow-and-versioning and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LLl0k0laDSkill

    using-agent-skills

    Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.

    Also in 18 projects that use this

  • LLl0k0laDSkill

    git-workflow-and-versioning

    Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.

    Also in 18 projects that use this

  • mycelium-hqSkill

    doubt-driven-development

    Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under uncertainty, work in unfamiliar code, or assert what the compiler cannot check (''this is safe'', ''thread-safe'', ''this scales'', ''matches the spec''). Strongest on high-stakes surfaces (production deploys, security-sensitive logic, data migrations, irreversible operations) and when the user asks to sanity-check, red-team, double-check, or get a second opinion on a decision.

    Also in 15 projects that use this

  • +4 more from LLl0k0laD

The file

We split this skill into the rules it gives an agent

7 rules. 2 are common, 3 are distinctive, and 2 are very specific to this project.

  • 2

    Common

    Most of the 36 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every framework-specific decision must be backed by official documentation.

    line 8
  2. Very specific:

    Read the dependency file (package.json, pyproject.toml, go.mod, Cargo.toml, etc.).

    line 16
  3. Distinctive:

    If versions are ambiguous, ask — the version determines correct patterns.

    line 23
  4. Common:

    Use API signatures from docs, not memory

    line 44
  5. Distinctive:

    Use modern patterns; skip deprecated APIs

    line 45
  6. Very specific:

    No docs found? Say so: UNVERIFIED: No official documentation found.

    line 58
  7. Common:

    Not reading dependency files before implementing

    line 76

“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Source-Driven Development

Every framework-specific decision must be backed by official documentation. Training data goes stale, APIs get deprecated. Verify, cite, show sources.

Skip when: pure logic, version-independent changes, or user wants speed over verification.

Process: DETECT → FETCH → IMPLEMENT → CITE

1. Detect Stack and Versions

Read the dependency file (package.json, pyproject.toml, go.mod, Cargo.toml, etc.). State what you found:

STACK: React 19.1.0, Vite 6.2.0 (from package.json)
→ Fetching official docs for relevant patterns.

If versions are ambiguous, ask — the version determines correct patterns.

2. Fetch Official Documentation

Primary — Context7 MCP tools:

  1. resolve-library-id — resolve library name to Context7 ID
  2. query-docs — fetch specific docs for the pattern needed

Fallback: ctx_fetch_and_index(url, source) + ctx_search(queries) for docs not in Context7.

PrioritySource
1Official docs (Context7 or direct fetch)
2Official blog / changelog
3Web standards (MDN, web.dev)
4Compatibility tables (caniuse.com)

Never cite as primary: Stack Overflow, blog posts, tutorials, training data.

3. Implement from Docs

  • Use API signatures from docs, not memory
  • Use modern patterns; skip deprecated APIs
  • Flag anything unverified
  • When docs conflict with project code, surface the conflict — don't silently pick one

4. Cite Sources

// React 19 form handling — Source: https://react.dev/reference/react/useActionState#usage
const [state, formAction, isPending] = useActionState(submitOrder, initialState);
  • Full URLs with anchors
  • Quote passages for non-obvious decisions
  • No docs found? Say so: UNVERIFIED: No official documentation found.

Anti-Rationalization Table

RationalizationReality
"I'm confident about this API"Confidence is not evidence. Verify.
"Fetching docs wastes tokens"Hallucinating an API wastes more — one fetch prevents hours of rework.
"The docs won't have what I need"If docs don't cover it, the pattern may not be recommended.
"I'll just mention it might be outdated"A disclaimer doesn't help. Verify and cite, or flag as unverified.
"This is a simple task"Simple tasks with wrong patterns become templates copied everywhere.

Red Flags

  • Writing framework code without checking docs for that version
  • Using "I believe" or "I think" about an API instead of citing
  • Implementing a pattern without knowing which version it applies to
  • Citing blog posts instead of official documentation
  • Not reading dependency files before implementing
  • Delivering code without source citations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.