github-search
Skill107 starsChanged 9 months agoMITView on GitHub
Use when about to build any feature, library, or system - searches GitHub and package registries for existing implementations to study, harvest patterns from, or use directly instead of building from scratch
5 other projects use a version of this.
Adopted by
Most recently taken up by
- kuailexiaozixin/githubtheir own version, first seen Sep 29, 2026
- rotinoM0/ai-opensource-findertheir own version, first seen Aug 26, 2026
- luanquangminh/claude-skilltheir own version, first seen Apr 21, 2026
- ZhangHanDong/cowork-skillstheir own version, first seen Jan 25, 2026
- parcadei/Continuous-Claude-v3their own version, first seen Jan 14, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- ZhangHanDong/cowork-skills★ 46same name
- kuailexiaozixin/github★ 0same name
- luanquangminh/claude-skill★ 0same name
- rotinoM0/ai-opensource-finder★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- activationSkill
- agent-messagingSkill
- codebase-researchSkill
- completion-gateSkill
- comprehension-checkSkill
- delegated-executionSkill
- deployment-advisorSkill
- design-integrationSkill
- design-researchSkill
- environment-awarenessSkill
- error-recoverySkill
- fault-diagnosisSkill
- intent-discoverySkill
- knowledge-captureSkill
- merge-protocolSkill
- parallel-executionSkill
- pattern-matchingSkill
- performance-tuningSkill
- project-bootstrapSkill
- protocol-authoringSkill
- quality-enforcementSkill
- quality-gateSkill
- rationaleSkill
- reference-engineSkill
- review-responseSkill
- security-protocolSkill
- specification-firstSkill
- system-designSkill
- task-planningSkill
- task-runnerSkill
- team-orchestrationSkill
- test-firstSkill
- ui-engineeringSkill
- ux-patternsSkill
- workspace-isolationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Before writing a single line of code, determine whether someone on the planet has already solved the same problem and published the result.
- Distinctive: line 12
Core principle: Search GitHub repositories, package registries, and open-source ecosystems for existing implementations before building …
- Distinctive: line 22
If you have not queried public repositories for prior solutions, you are burning time on reinvention.
- Distinctive: line 25
Do not "just start coding and research later"
- Distinctive: line 26
Do not assume uniqueness because the problem feels novel
- Distinctive: line 27
Do not skip research for "straightforward" features (straightforward features have the densest prior art)
- Distinctive: line 28
Do not reject repositories because they are imperfect (extract what is valuable)
- Distinctive: line 139
When assessing discovered repositories, apply these signals systematically.
- Distinctive: line 171
When a repository is not directly consumable but contains valuable patterns, extract intelligently.
- Distinctive: line 206
Before using any code from a discovered repository, verify license compatibility.
- Distinctive: line 296
Search with at least 3 different query formulations
- Distinctive: line 298
Verify license compatibility before using any code
- Distinctive: line 299
Document what you found and your rationale
“Common” is measured: kept by at least 6 in 10 of the 4 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.
Files
GitHub Search
Overview
Before writing a single line of code, determine whether someone on the planet has already solved the same problem and published the result. The strongest engineering move is recognizing when the work has already been done.
Core principle: Search GitHub repositories, package registries, and open-source ecosystems for existing implementations before building anything new. Harvest the best patterns from multiple projects. Attribute what you borrow. Respect licenses.
No exceptions. No workarounds. No shortcuts.
The Prime Directive
NO BUILDING FROM SCRATCH WITHOUT SEARCHING GITHUB FIRSTIf you have not queried public repositories for prior solutions, you are burning time on reinvention. Searched three different ways and found nothing applicable? Document what you searched and why nothing fit. Then build.
No excuses:
- Do not "just start coding and research later"
- Do not assume uniqueness because the problem feels novel
- Do not skip research for "straightforward" features (straightforward features have the densest prior art)
- Do not reject repositories because they are imperfect (extract what is valuable)
- "I know how to implement this" is not the same as "I should implement this from zero"
When to Use
Mandatory when:
- Initiating a new feature or project
- Building something that plausibly exists as open source
- Weighing competing implementation strategies
- Seeking architectural precedents from real-world systems
- Evaluating frameworks, libraries, or tooling choices
Particularly valuable when:
- The task involves ubiquitous patterns (auth, CRUD, file handling, search, payments)
- Building a game (every genre has extensive open-source coverage)
- Creating a utility that addresses a known problem space
- Implementing algorithms or specialized data structures
- Setting up infrastructure (CI/CD, deployment pipelines, monitoring)
- Designing APIs, schemas, or protocols with established conventions
The Entry Protocol
digraph github_search_gate {
rankdir=TB;
start [label="Task: Build something", shape=doublecircle];
search [label="SEARCH\nGitHub, registries,\nopen-source ecosystems", shape=box];
found [label="Relevant repos found?", shape=diamond];
evaluate [label="EVALUATE\nStars, maintenance,\ncode quality, license, fit", shape=box];
usable [label="Directly usable\nas a dependency?", shape=diamond];
install [label="INSTALL\nAdd as dependency", shape=box style=filled fillcolor=lightgreen];
harvestable [label="Harvestable\npatterns?", shape=diamond];
harvest [label="HARVEST\nExtract patterns, adapt\nto your codebase", shape=box style=filled fillcolor=lightyellow];
studyable [label="Useful as a\nlearning reference?", shape=diamond];
study [label="STUDY\nAbsorb architecture,\nthen build your own", shape=box];
build [label="BUILD FROM SCRATCH\nRecord: searched, nothing fit", shape=box];
record [label="Document search queries\nand findings", shape=box];
start -> search;
search -> found;
found -> evaluate [label="yes"];
found -> record [label="no"];
record -> build;
evaluate -> usable;
usable -> install [label="yes - strong fit"];
usable -> harvestable [label="no - too heavy\nor wrong scope"];
harvestable -> harvest [label="yes - valuable patterns"];
harvestable -> studyable [label="no - different paradigm"];
studyable -> study [label="yes - learn from it"];
studyable -> build [label="no - genuinely nothing relevant"];
}BEFORE building anything:
- SEARCH -- Query GitHub, package registries, and the broader open-source ecosystem
- EVALUATE -- Assess candidates for quality, relevance, and license compatibility
- DECIDE -- Use as dependency, harvest patterns, study as reference, or build from scratch
- DOCUMENT -- Record what you found and why you chose your path
- ONLY THEN -- Begin building
Search Methodology
Where to Search
Cast a wide net across multiple channels before concluding nothing exists.
1. GitHub Search: github.com/search (code, repositories, topics)
2. GitHub Topics: github.com/topics/{topic}
3. WebSearch: "github {what you need} {tech stack}"
4. Package registries: npmjs.com, pypi.org, crates.io, rubygems.org, pkg.go.dev
5. Curated lists: awesome-{topic} repositories on GitHub
6. Framework ecosystems: official plugin/extension directoriesEffective Querying
Multi-query discipline -- Never settle for a single search.
| Query Style | Example | Discovers |
| Literal name | tetris javascript | Exact matches for the concept |
| Problem statement | real-time collaboration websocket | Solutions targeting the same problem |
| Stack + pattern | vue authentication oauth2 | Technology-specific implementations |
| Synonym exploration | kanban board / task tracker / project manager | Same concept, different terminology |
| Curated collections | awesome-react / awesome-python | Community-vetted lists |
Minimum threshold before declaring "nothing exists": 3 distinct query formulations across at least 2 search channels.
What to Search For
digraph search_scope {
"What am I building?" [shape=diamond];
"Complete application?" [shape=diamond];
"Feature or module?" [shape=diamond];
"Search for full repos" [shape=box];
"Search for libraries + example repos" [shape=box];
"Search for code snippets + patterns" [shape=box];
"What am I building?" -> "Complete application?" [label="assess"];
"Complete application?" -> "Search for full repos" [label="yes"];
"Complete application?" -> "Feature or module?" [label="no"];
"Feature or module?" -> "Search for libraries + example repos" [label="yes"];
"Feature or module?" -> "Search for code snippets + patterns" [label="no"];
}Evaluating Repositories
When assessing discovered repositories, apply these signals systematically.
| Signal | Positive Indicator | Negative Indicator |
| Popularity | 100+ stars (community-validated) | 0-5 stars (unvetted) |
| Maintenance | Commit within 6 months | Dormant 2+ years |
| Community health | Active discussions, merged PRs | Hundreds of stale issues, no maintainer response |
| License | MIT, Apache 2.0, BSD | GPL (if you need permissive), no license at all |
| Code discipline | Tests, types, documentation, clean structure | No tests, no types, tangled code |
| Dependency footprint | Minimal, well-known dependencies | 50+ transitive deps, obscure packages |
| Documentation | Clear setup instructions, usage examples | Empty or outdated README |
| Relevance | Addresses 70%+ of your need | Tangentially related |
Minimum viable candidate: Has tests, has a license, updated within the past year, README explains usage.
Quick Evaluation Checklist
For each candidate repository:
1. STARS & FORKS: Gauge community trust (100+ stars is a reasonable floor)
2. LAST COMMIT: Anything older than 18 months is a maintenance risk
3. OPEN ISSUES: High count with no maintainer replies signals abandonment
4. LICENSE FILE: No license means you cannot legally use it
5. TEST DIRECTORY: No tests means no confidence in correctness
6. README QUALITY: Poor docs usually correlate with poor internal structure
7. DEPENDENCIES: Check for bloated or unmaintained transitive deps
8. RELEASE CADENCE: Regular releases indicate ongoing investmentPattern Harvesting
When a repository is not directly consumable but contains valuable patterns, extract intelligently.
Phase 1: Identify Extractable Value
FROM the repository, extract:
- Architectural patterns (how they organized the project)
- Algorithm implementations (how they solved the hard parts)
- Data models (how they structured domain entities)
- Interface designs (how they shaped the public API)
- Error handling approaches (how they manage edge cases)
- Test strategies (how they verify similar functionality)Phase 2: Adapt to Your Context
DO NOT copy-paste entire files.
DO extract the pattern and rewrite for your:
- Technology stack
- Naming conventions
- Design system (for UI code)
- Architectural layering
- Internal codebase conventions (use godmode:codebase-research to find them)Phase 3: Attribute the Source
In your codebase or documentation, note:
"Approach inspired by github.com/author/repo - [what was adapted]"License Compatibility
Before using any code from a discovered repository, verify license compatibility.
| Your Project License | Compatible Source Licenses |
| MIT | MIT, BSD, Apache 2.0, ISC, Unlicense |
| Apache 2.0 | MIT, BSD, Apache 2.0, ISC, Unlicense |
| GPL | Any (GPL is permissive for incoming code) |
| Proprietary | MIT, BSD, Apache 2.0, ISC, Unlicense |
| Any | Never use: No license stated, AGPL (unless you comply fully) |
When uncertain: MIT and Apache 2.0 are safe for virtually any project. GPL requires your project to also be GPL. No license means all rights reserved by the author -- do not use.
Multi-Source Harvesting
For complex features, the optimal approach often combines patterns from several repositories.
Example: Building a real-time collaborative editor
Repo 1 (github.com/x/rich-editor): Polished prosemirror integration
-> Harvest: Editor initialization pattern, schema definition approach
Repo 2 (github.com/y/crdt-sync): Clean CRDT implementation for text
-> Harvest: Conflict resolution algorithm, operation transformation logic
Repo 3 (github.com/z/ws-rooms): WebSocket room management
-> Harvest: Connection lifecycle, reconnection strategy, presence tracking
Result: Your implementation synthesizes the strongest elements from 3 repos,
each designed by specialists in their domain.Report to the user:
Present discoveries as labeled options with links. Mark the recommendation with a star.
I found [N] relevant repositories. Here are the top candidates:
**A)** [repo-name] — [stars] stars, [license]
Link: [GitHub URL]
Extractable: [specific patterns/code worth harvesting]
Fit: [what percentage of your need it covers]
**B)** [repo-name] — [stars] stars, [license]
Link: [GitHub URL]
Extractable: [specific patterns/code worth harvesting]
Fit: [what percentage of your need it covers]
**C)** [repo-name] — [stars] stars, [license]
Link: [GitHub URL]
Extractable: [specific patterns/code worth harvesting]
Fit: [what percentage of your need it covers]
**D) Multi-source harvest** — Best patterns from all three ⭐ Recommended
From A: [what to extract]
From B: [what to extract]
From C: [what to extract]
Build from scratch: [what is unique to this project]
Why: Combines battle-tested patterns from [N] production systems
Check out the repos and pick A, B, C, or D.YoloMode exception: Reference and repository selection is ALWAYS interactive — even in YoloMode, present the options and let the user pick. These choices are too impactful to auto-select.
Cognitive Traps
| Rationalization | Truth |
| "I can build it faster than studying someone else's code" | You will also maintain it indefinitely. Battle-tested code has fewer defects. |
| "Nothing exists for my exact scenario" | Did you try 3+ query variations? Partial matches are valuable. |
| "Open source quality is unreliable" | Repositories with 1k+ stars and test suites are often superior to what you will produce under time pressure. |
| "It is faster to just start writing" | You will spend hours solving problems someone already addressed. |
| "I want to avoid external dependencies" | Harvest patterns without adding dependencies. The knowledge is free. |
| "Licensing is too complicated" | MIT/Apache/BSD means free to use. A two-second check saves you from reinvention. |
| "It is only 100 lines, not worth researching" | Those 100 lines with edge-case coverage someone already wrote outperform your 100 lines without it. |
| "I will research if I get stuck" | Research FIRST. Getting stuck means you already burned time. |
Guardrails
Prohibited actions:
- Starting implementation without searching first (minimum 3 queries)
- Rejecting all search results without evaluation
- Copying code without verifying license compatibility
- Using a repository with no license (legal risk)
- Assuming your solution will surpass a battle-tested one
- Omitting attribution when harvesting patterns
Required actions:
- Search with at least 3 different query formulations
- Evaluate candidates against the assessment criteria
- Verify license compatibility before using any code
- Document what you found and your rationale
- Harvest patterns even from repositories you do not use directly
- Report findings to the user with links, popularity metrics, and what you are extracting
Quick Reference
SEARCH -> EVALUATE -> DECIDE -> DOCUMENT -> BUILD
Search: 3+ queries across GitHub, registries, and curated lists
Evaluate: Stars, activity, tests, license, relevance
Decide: Use as dependency | Harvest patterns | Study as reference | Build from scratch
Document: What you searched, what you found, why you chose your path
Build: With patterns from research, not from assumptionsIntegration
Invoked during:
- godmode:intent-discovery -- Search during "Explore project context" and research phases
- godmode:reference-engine -- Routed here for external code and library research
- godmode:task-planning -- Reference repositories in plan tasks
- godmode:system-design -- Discover reference architectures on public repositories
Complementary skills:
- godmode:codebase-research -- For searching WITHIN the current codebase for internal patterns, conventions, and existing implementations to match
- godmode:specification-first -- Feeds search findings into formal specifications
- godmode:ux-patterns -- Repositories for code patterns; UX system for design patterns
- godmode:design-integration -- Find design system repos for bootstrapping
- godmode:project-bootstrap -- Locate starter templates and boilerplate projects
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
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.

