{"id":51181178,"url":"https://github.com/shimo4228/search-first","last_synced_at":"2026-06-27T07:01:47.016Z","repository":{"id":357213661,"uuid":"1164278373","full_name":"shimo4228/search-first","owner":"shimo4228","description":"Claude Code skill: forces agents to research existing solutions before building — reduces reinvention","archived":false,"fork":false,"pushed_at":"2026-06-08T12:34:54.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-08T14:22:03.138Z","etag":null,"topics":["agent-skill","anthropic","claude-code","claude-skill"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimo4228.png","metadata":{"files":{"readme":"README.ja.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-22T22:19:22.000Z","updated_at":"2026-06-08T12:34:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shimo4228/search-first","commit_stats":null,"previous_names":["shimo4228/claude-skill-search-first","shimo4228/search-first"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shimo4228/search-first","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fsearch-first","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fsearch-first/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fsearch-first/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fsearch-first/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimo4228","download_url":"https://codeload.github.com/shimo4228/search-first/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimo4228%2Fsearch-first/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34844346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skill","anthropic","claude-code","claude-skill"],"created_at":"2026-06-27T07:01:46.329Z","updated_at":"2026-06-27T07:01:47.011Z","avatar_url":"https://github.com/shimo4228.png","language":null,"funding_links":[],"categories":["Source Catalog"],"sub_categories":[],"readme":"Language: [English](README.md) | 日本語\n\n# search-first\n\n**リサーチ・ファースト**のワークフローを強制する [Agent Skill](https://agentskills.io/specification) です。カスタムコードを書く前に、既存のツール、ライブラリ、MCP サーバー、パターンを検索し、情報に基づいた Adopt（採用）/ Extend（拡張）/ Build（自作）の判断を下します。\n\n## インストール\n\n### Claude Code\n\n```bash\n# グローバル skills ディレクトリにコピー\ncp -r skills/search-first ~/.claude/skills/search-first\n```\n\n### SkillsMP\n\n```bash\n/skills add shimo4228/search-first\n```\n\n## 仕組み\n\n0. **言語化（必須・text 出力）** — ツール呼び出しの前に、要件・言語/framework・制約を 2-3 文で外化する。subsequent tool args への埋め込みは Step 0 を満たさない\n1. **ニーズ分析** — 必要な機能を定義する\n2. **並列検索** — npm/PyPI、MCP サーバー、GitHub、既存スキルを一斉に検索する\n3. **評価** — 機能性、メンテナンス状況、コミュニティ、ドキュメント、ライセンス、依存関係でスコアリングする\n4. **判断** — そのまま採用、拡張/ラップ、複数パッケージの組み合わせ、またはカスタム実装を決定する\n5. **実装** — 選択したソリューションを最小限のカスタムコードで導入する\n\nユーザーが「研究するな」と言った場合でも、silent skip ではなく **1 段落で trade-off を明示** してから実装に入る（ユーザーが代替ライブラリの存在を知らない場合のための course-correct ウィンドウ）。\n\n## トリガー条件\n\n- 既存ソリューションがありそうな新機能の開発を始めるとき\n- 依存関係やインテグレーションを追加するとき\n- 新しいユーティリティ、ヘルパー、抽象化を作成する前\n\n## 判断マトリクス\n\n| シグナル | アクション |\n|---------|-----------|\n| 完全一致、メンテナンス良好、MIT/Apache ライセンス | **Adopt（採用）** — そのままインストールして使用 |\n| 部分一致、基盤として優秀 | **Extend（拡張）** — インストール + 薄いラッパーを作成 |\n| 弱い一致が複数 | **Compose（組合せ）** — 小さなパッケージを 2-3 個組み合わせる |\n| 適切なものが見つからない | **Build（自作）** — リサーチ結果を踏まえてカスタム実装 |\n\n## 使用例\n\n```\nニーズ: Markdown ファイルのリンク切れをチェックしたい\n検索: npm \"markdown dead link checker\"\n発見: textlint-rule-no-dead-link（スコア: 9/10）\nアクション: ADOPT — npm install textlint-rule-no-dead-link\n結果: カスタムコードゼロ、実績のあるソリューションを採用\n```\n\n## このスキルについて\n\nこのスキルは [Agent Knowledge Cycle (AKC)](https://github.com/shimo4228/agent-knowledge-cycle) の **Research** フェーズを実装する — エージェント行動とオペレーターの判断が共発展する 6 フェーズ双方向成長ループ ([DOI 10.5281/zenodo.19200726](https://doi.org/10.5281/zenodo.19200726))。AKC は [@shimo4228](https://github.com/shimo4228) の 3 つの研究ラインの 1 つで、他に [Contemplative Agent](https://github.com/shimo4228/contemplative-agent) ([DOI 10.5281/zenodo.19212118](https://doi.org/10.5281/zenodo.19212118)) — 4 つの contemplative 公理に基づく自律エージェント — と [Agent Attribution Practice (AAP)](https://github.com/shimo4228/agent-attribution-practice) ([DOI 10.5281/zenodo.19652013](https://doi.org/10.5281/zenodo.19652013)) — 自律 AI エージェントの責任分配に関するハーネス中立 ADR — がある。\n\n## ライセンス\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimo4228%2Fsearch-first","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimo4228%2Fsearch-first","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimo4228%2Fsearch-first/lists"}