Agent skill

Source Driven Development

by shashankswe2020-ux in shashankswe2020-ux/whoop-mcp

Grounds every implementation decision in official documentation.

MITAuto-check passedAgent Workflows

Install Source Driven Development

skills CLI
$ npx skills add shashankswe2020-ux/whoop-mcp --skill source-driven-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shashankswe2020-ux/whoop-mcp source-driven-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shashankswe2020-ux/whoop-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/source-driven-development .claude/skills/source-driven-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
source-driven-development
GitHub stars
166
Used in
4 other repos
Token cost
~2k tokens
SKILL.md length
817 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Grounds every implementation decision in official documentation.

  • Works in 4 steps: Detect Stack and Versions → Fetch Official Documentation → Implement Following Documented Patterns → …
  • You want authoritative
  • SKILL.md covers Overview, When to Use, The Process and Common Rationalizations, plus 2 more sections
  • Reaches react.dev

What it does

Source Driven Development is an agent skill from shashankswe2020-ux/whoop-mcp. Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering MCP servers and Health and fitness tracking. It works with Model Context Protocol and TypeScript. The repository describes itself as: Read-only WHOOP MCP server for recovery, sleep, HRV, strain, workouts, and personal health analytics in Claude, Codex, and GitHub Copilot. The licence is MIT.

When your agent uses it

  • You want authoritative
  • Source-cited code free from outdated patterns
  • Building with any framework
  • Library where correctness matters

Example prompts

  • “Use the source-driven-development skill to ground every implementation decision in official documentation”
  • “/source-driven-development”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Detect Stack and Versions
  2. Fetch Official Documentation
  3. Implement Following Documented Patterns
  4. Cite Your Sources

What it can do on your machine

Read from SKILL.md and the folder at commit b877d98. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • react.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Source Driven Development loads about 2k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 817 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shashankswe2020-ux/whoop-mcp at commit b877d98, republished under its MIT licence (© shashankswe2020-ux). 817 words, ~2,034 tokens.

Download SKILL.mdSave it as .claude/skills/source-driven-development/SKILL.md (or your agent's skills folder).
name
source-driven-development
description
Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

Source-Driven Development

Overview

Every framework-specific code decision must be backed by official documentation. Don't implement from memory — verify, cite, and let the user see your sources. Training data goes stale, APIs get deprecated, best practices evolve. This skill ensures the user gets code they can trust because every pattern traces back to an authoritative source they can check.

When to Use

  • The user wants code that follows current best practices for a given framework
  • Building boilerplate, starter code, or patterns that will be copied across a project
  • The user explicitly asks for documented, verified, or "correct" implementation
  • Implementing features where the framework's recommended approach matters (forms, routing, data fetching, state management, auth)
  • Reviewing or improving code that uses framework-specific patterns
  • Any time you are about to write framework-specific code from memory

When NOT to use:

  • Correctness does not depend on a specific version (renaming variables, fixing typos, moving files)
  • Pure logic that works the same across all versions (loops, conditionals, data structures)
  • The user explicitly wants speed over verification ("just do it quickly")

The Process

DETECT ──→ FETCH ──→ IMPLEMENT ──→ CITE
  │          │           │            │
  ▼          ▼           ▼            ▼
 What       Get the    Follow the   Show your
 stack?     relevant   documented   sources
            docs       patterns
Step 1: Detect Stack and Versions

Read the project's dependency file to identify exact versions:

package.json    → Node/React/Vue/Angular/Svelte
composer.json   → PHP/Symfony/Laravel
requirements.txt / pyproject.toml → Python/Django/Flask
go.mod          → Go
Cargo.toml      → Rust
Gemfile         → Ruby/Rails

State what you found explicitly:

STACK DETECTED:
- React 19.1.0 (from package.json)
- Vite 6.2.0
- Tailwind CSS 4.0.3
→ Fetching official docs for the relevant patterns.

If versions are missing or ambiguous, ask the user. Don't guess — the version determines which patterns are correct.

Step 2: Fetch Official Documentation

Fetch the specific documentation page for the feature you're implementing. Not the homepage, not the full docs — the relevant page.

Source hierarchy (in order of authority):

PrioritySourceExample
1Official documentationreact.dev, docs.djangoproject.com, symfony.com/doc
2Official blog / changelogreact.dev/blog, nextjs.org/blog
3Web standards referencesMDN, web.dev, html.spec.whatwg.org
4Browser/runtime compatibilitycaniuse.com, node.green

Not authoritative — never cite as primary sources:

  • Stack Overflow answers
  • Blog posts or tutorials (even popular ones)
  • AI-generated documentation or summaries
  • Your own training data (that is the whole point — verify it)

Be precise with what you fetch:

BAD:  Fetch the React homepage
GOOD: Fetch react.dev/reference/react/useActionState

BAD:  Search "django authentication best practices"
GOOD: Fetch docs.djangoproject.com/en/6.0/topics/auth/

After fetching, extract the key patterns and note any deprecation warnings or migration guidance.

When official sources conflict with each other (e.g. a migration guide contradicts the API reference), surface the discrepancy to the user and verify which pattern actually works against the detected version.

Step 3: Implement Following Documented Patterns

Write code that matches what the documentation shows:

  • Use the API signatures from the docs, not from memory
  • If the docs show a new way to do something, use the new way
  • If the docs deprecate a pattern, don't use the deprecated version
  • If the docs don't cover something, flag it as unverified

When docs conflict with existing project code:

CONFLICT DETECTED:
The existing codebase uses useState for form loading state,
but React 19 docs recommend useActionState for this pattern.
(Source: react.dev/reference/react/useActionState)

Options:
A) Use the modern pattern (useActionState) — consistent with current docs
B) Match existing code (useState) — consistent with codebase
→ Which approach do you prefer?

Surface the conflict. Don't silently pick one.

Step 4: Cite Your Sources

Every framework-specific pattern gets a citation. The user must be able to verify every decision.

In code comments:

typescript
// React 19 form handling with useActionState
// Source: https://react.dev/reference/react/useActionState#usage
const [state, formAction, isPending] = useActionState(submitOrder, initialState);

In conversation:

I'm using useActionState instead of manual useState for the
form submission state. React 19 replaced the manual
isPending/setIsPending pattern with this hook.

Source: https://react.dev/blog/2024/12/05/react-19#actions
"useTransition now supports async functions [...] to handle
pending states automatically"

Citation rules:

  • Full URLs, not shortened
  • Prefer deep links with anchors where possible (e.g. /useActionState#usage over /useActionState) — anchors survive doc restructuring better than top-level pages
  • Quote the relevant passage when it supports a non-obvious decision
  • Include browser/runtime support data when recommending platform features
  • If you cannot find documentation for a pattern, say so explicitly:
UNVERIFIED: I could not find official documentation for this
pattern. This is based on training data and may be outdated.
Verify before using in production.

Honesty about what you couldn't verify is more valuable than false confidence.

Show full SKILL.md (299 more words)Show less

Common Rationalizations

RationalizationReality
"I'm confident about this API"Confidence is not evidence. Training data contains outdated patterns that look correct but break against current versions. Verify.
"Fetching docs wastes tokens"Hallucinating an API wastes more. The user debugs for an hour, then discovers the function signature changed. One fetch prevents hours of rework.
"The docs won't have what I need"If the docs don't cover it, that's valuable information — the pattern may not be officially recommended.
"I'll just mention it might be outdated"A disclaimer doesn't help. Either verify and cite, or clearly flag it as unverified. Hedging is the worst option.
"This is a simple task, no need to check"Simple tasks with wrong patterns become templates. The user copies your deprecated form handler into ten components before discovering the modern approach exists.

Red Flags

  • Writing framework-specific code without checking the docs for that version
  • Using "I believe" or "I think" about an API instead of citing the source
  • Implementing a pattern without knowing which version it applies to
  • Citing Stack Overflow or blog posts instead of official documentation
  • Using deprecated APIs because they appear in training data
  • Not reading package.json / dependency files before implementing
  • Delivering code without source citations for framework-specific decisions
  • Fetching an entire docs site when only one page is relevant

Verification

After implementing with source-driven development:

  • Framework and library versions were identified from the dependency file
  • Official documentation was fetched for framework-specific patterns
  • All sources are official documentation, not blog posts or training data
  • Code follows the patterns shown in the current version's documentation
  • Non-trivial decisions include source citations with full URLs
  • No deprecated APIs are used (checked against migration guides)
  • Conflicts between docs and existing code were surfaced to the user
  • Anything that could not be verified is explicitly flagged as unverified

© shashankswe2020-ux, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/source-driven-development of shashankswe2020-ux/whoop-mcp.

Open the folder on GitHubat commit b877d98

Used in 4 other repositories

We found 8 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in shashankswe2020-ux/whoop-mcp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Source Driven Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Source Driven Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Source Driven Development this skillshashankswe2020-ux/whoop-mcp1664 repos~2kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Server Builder with mcp-usemcp-use/mcp-use11k—~923Automated safety check: PassApache-2.0
OpenpetsOpenPetsHQ/openpets1.3k—~2.1kAutomated safety check: PassMIT
Chatgpt App Builderalpic-ai/skybridge2.1k—~1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Builds, modifies, debugs, migrates and verifies TypeScript MCP servers and MCP Apps with the mcp-use framework, treating the installed package's types as the source of truth.

    11k GitHub stars~923 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Openpets

    OpenPetsHQ/openpets

    A skill your agent uses whenever the user wants to build, extend, debug, test, validate, locally load, package, or publish an OpenPets plugin; work with the OpenPets Plugin SDK v3, plugin manifest…

    1.3k GitHub stars~2.1k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check passed
  • Chatgpt App Builder

    alpic-ai/skybridge

    Guide developers through creating and updating ChatGPT plugins.

    2.1k GitHub stars~1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Yahoo Finance2

    gadicc/yahoo-finance2

    A skill your agent uses when building with the yahoo-finance2 TypeScript/Deno/npm library, using its Yahoo Finance data modules, CLI, or MCP server, or contributing to the yahoo-finance2 repository…

    801 GitHub stars~1.8k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed

More from shashankswe2020-ux/whoop-mcp

  • Git Workflow And Versioning

    shashankswe2020-ux/whoop-mcp

    Structures git workflow practices. An agent skill from shashankswe2020-ux/whoop-mcp.

    166 GitHub starsUsed in 3 repos~2.6k tokens
    Auto-check: notes
  • Browser Testing With Devtools

    shashankswe2020-ux/whoop-mcp

    Tests in real browsers. An agent skill from shashankswe2020-ux/whoop-mcp.

    166 GitHub stars~3k tokensUpdated today
    Auto-check: warnings

Categories

Questions about Source Driven Development

What does Source Driven Development do?

Grounds every implementation decision in official documentation. Source Driven Development is an agent skill from shashankswe2020-ux/whoop-mcp. Grounds every implementation decision in official documentation.

When should I use Source Driven Development?

Source Driven Development fits situations like: you want authoritative; source-cited code free from outdated patterns; building with any framework; library where correctness matters.

How do I install Source Driven Development in Claude Code?

Run `npx skills add shashankswe2020-ux/whoop-mcp --skill source-driven-development -a claude-code`. Or copy the skill folder (.github/skills/source-driven-development in shashankswe2020-ux/whoop-mcp) into .claude/skills/source-driven-development in your project. Claude Code loads it when a task matches its description.

How do I install Source Driven Development in Codex?

Run `npx skills add shashankswe2020-ux/whoop-mcp --skill source-driven-development -a codex`. Or copy the skill folder (.github/skills/source-driven-development in shashankswe2020-ux/whoop-mcp) into .agents/skills/source-driven-development in your project. Codex loads it when a task matches its description.

Can I use Source Driven Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shashankswe2020-ux/whoop-mcp --skill source-driven-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/source-driven-development, .gemini/skills/source-driven-development, .github/skills/source-driven-development and .opencode/skills/source-driven-development in your project.

What does Source Driven Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Source Driven Development is instructions for the agent only.

Does Source Driven Development access the network?

SKILL.md names 1 domain. In commands or code: react.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Source Driven Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Source Driven Development use?

Source Driven Development is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Source Driven Development use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Source Driven Development?

Skills that share tags, products or a category with Source Driven Development: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Server Builder with mcp-use (mcp-use/mcp-use, 11k stars) and Openpets (OpenPetsHQ/openpets, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Source Driven Development?

shashankswe2020-ux (a GitHub user) maintains it in shashankswe2020-ux/whoop-mcp, which has 166 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: shashankswe2020-ux/whoop-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.