A workflow that searches for an existing solution (this repo → internal mirrors → package registries → MCP/skills → GitHub) before writing new code. Triggers right before adding a new feature/utility/dependency, or the moment a "add feature X" request tempts you to jump straight to code. (Origin: the search-first skill from [affaan-m/ECC](https://github.com/affaan-m/ECC), MIT — ported and adapted).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# search-first — search before you build
A workflow to avoid reinventing the wheel. Custom code is the **last resort when the search comes up empty**.
## When it triggers
- The moment you're about to build a new feature/utility/helper that likely already has an existing solution
- Right before adding a dependency or integration (external API, parser, client, etc.)
- The moment you receive an "add feature X" request and are about to jump straight to code
## Search order (inner → outer)
| Order | Channel | Method |
|---|---|---|
| 1 | **This repo** | Sweep related modules/tests with `rg` — it may already exist and simply be unnoticed |
| 2 | **Internal mirrors** | Check `<your-git-host>/mirrors/` group first (mirrors of OSS agents/skills/icons, etc.). Bring external originals in via the mirror rather than referencing them directly. Skip if there's no mirror group |
| 3 | **Package registries** | npm / PyPI / crates.io / etc., whichever fits the project's stack |
| 4 | **MCP / skills** | Check whether an already-connected MCP server provides the feature, or whether the same skill exists under `.claude/skills/` |
…
The line at the top of this page pins the label git:20261024.a835af9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_qbbztlryd7ntursd
GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/agents-scaffold/search-first
GET https://markdownregistry.com/api/v1/blob/e697df041ddb88a67d2426aeac179af343b380e8cd828746c4716614e719c891
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
leeyudok/agents-scaffold · .claude/skills/docs-sync/SKILL.md · 코드·설정·프리셋 변경 뒤 문서를 현행화한다. "문서 현행화", "README 갱신", "문서 최신화" 요청 시, 그리고 동작·경로·버전·수치를 바꾼 PR 을 올리기 직전에 사용. 문서의 주장을 실제 코드·명령…
leeyudok/agents-scaffold · .claude/skills/grill-me/SKILL.md · 사용자가 /grill-me 를 호출하거나 아이디어·기능 요청·스펙을 구현 전에 굽고(grill)·압박 검증하고·심문해 달라고 할 때 사용. superpowers:brainstorming 의 opt-in 대체재 —…
leeyudok/agents-scaffold · .claude/skills/handoff/SKILL.md · 세션을 끊고 다음 세션에 넘긴다 — 재개 가능한 상태를 HANDOFF.md 에 적고, 협업 인프라(GitHub·GitLab·Forgejo·Jira·Plane·Slack)가 있으면 같은 내용으로 이슈를 만들어 URL…
leeyudok/agents-scaffold · .claude/skills/memory-factcheck/SKILL.md · 에이전트 영속 메모리를 실제 소스와 대조 — 각 메모리의 핵심 단언을 코드·DB·이슈 트래커·파일시스템에 대조해 stale 을 정정하고 dead 를 아카이브 후보로 리포트. 메모리가 30개를 넘거나, 스택/인프라…
leeyudok/agents-scaffold · .claude/skills/review/SKILL.md · 코드 변경사항 전체 리뷰. code-reviewer 에이전트 + security-audit 에이전트를 순차 실행하는 래퍼 스킬. PR/MR 생성 전 또는 리뷰 요청 시 사용.
leeyudok/agents-scaffold · .claude/skills/search-first/SKILL.md · 코드를 새로 짜기 전에 기존 솔루션(레포 내부 → 사내 미러 → 패키지 레지스트리 → MCP/스킬 → GitHub)을 먼저 검색하는 워크플로. 새 기능/유틸/의존성 추가 직전, "X 기능 넣어줘" 요청에 코드부터…
leeyudok/agents-scaffold · .claude/skills/security-precheck/SKILL.md · 외부 보안팀 코드 검사 전 자체 사전점검. security-audit 에이전트(+ 설정돼 있으면 SonarQube 보안 핫스팟)를 돌려 P0/P1/P2로 정리하고, 발견사항을 이슈로 쪼개 병렬 서브에이전트로…
leeyudok/agents-scaffold · .claude/skills/skill-evolve/SKILL.md · 스킬 실행 후 피드백을 받아 해당 SKILL.md를 자동 개선하는 메타 스킬. 스킬이 틀렸거나 누락이 있을 때, 또는 새로 배운 함정을 기록할 때 사용.
frankxai/claude-skills-library · absorbed/harness/search-first/SKILL.md · Look for an existing repo, package, and skill before writing a new one. Use when starting a feature, adding a…
leeyudok/agents-scaffold · .claude/skills/search-first/SKILL.md · 코드를 새로 짜기 전에 기존 솔루션(레포 내부 → 사내 미러 → 패키지 레지스트리 → MCP/스킬 → GitHub)을 먼저 검색하는 워크플로. 새 기능/유틸/의존성 추가 직전, "X 기능 넣어줘" 요청에 코드부터…
sidiangongyuan/codex-skills-library · skills/search-first/SKILL.md · Use before writing custom code or a research workflow when a maintained library, tool, skill, or proven pattern may…
shimo4228/claude-harness · skills/search-first/SKILL.md · Search the live web, registries and primary sources at decision time and report what exists outside. Use when choosing…
shimo4228/search-first · skills/search-first/SKILL.md · Search the live web, registries and primary sources at decision time and report what exists outside. Use when choosing…
shimo4228/akc-cycle · skills/search-first/SKILL.md · Search the live web, registries and primary sources at decision time and report what exists outside. Use when choosing…