본문으로 건너뛰기
Skillpedia
일반 코딩48k · #5835

source-driven-development

하는 일

이 도구는 AI가 생성한 코드가 모범 사례를 따르고 최신 상태를 유지하도록 합니다. 오직 공식 문서에만 의존해, 오래되었거나 잘못된 정보를 사용하지 않도록 막습니다.

사용하는 경우

  • ✓프레임워크의 최신 관행을 따르는 코드가 필요할 때.
  • ✓프로젝트를 위한 기본 코드나 패턴을 만들 때.
  • ✓코드의 정확성과 신뢰성이 필수적일 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/source-driven-development/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/source-driven-development/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“공식 React 19 문서의 모범 사례를 사용해서 로그인 양식용 React 컴포넌트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 먼저 프로젝트가 사용하는 정확한 기술과 버전을 확인합니다. 그다음 요청된 기능에 대한 최신 공식 문서를 가져와, 그 출처를 밝히며 엄격하게 따르는 코드를 작성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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):

Priority Source Example
1 Official documentation react.dev, docs.djangoproject.com, symfony.com/doc
2 Official blog / changelog react.dev/blog, nextjs.org/blog
3 Web standards references MDN, web.dev, html.spec.whatwg.org
4 Browser/runtime compatibility caniuse.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:


…
자주 묻는 질문

AI가 '머릿속에' 알고 있는 것을 왜 쓰지 않나요?

AI의 지식은 오래될 수 있습니다. 공식 문서는 현재 기술 버전에서 코드가 올바르게 작동하도록 보장하는 가장 믿을 만한 출처입니다.

「권위 있는 출처」란 무엇인가요?

react.dev 같은 프레임워크 문서, 공식 블로그, 웹 표준 등 공식적인 정보원입니다. 튜토리얼이나 포럼 답변보다 신뢰할 수 있습니다.

공식 문서가 어떤 내용을 다루지 않으면 어떻게 하나요?

AI는 그 부분에 대한 공식 문서를 찾지 못했다고 분명히 말합니다. 그 정보가 믿을 수 없거나 오래되었을 수 있다는 뜻입니다.

상세 정보

작성자의 원본 설명

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.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5835
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬