search-first
Skill17 starsChanged 8 months agoMITView on GitHub
Use when researching existing Salesforce tools, Apex libraries, or metadata patterns before writing custom code. Search-first workflow with agent. Do NOT use for implementing code — only for discovery and evaluation.
29 other projects use a version of this, 14 of them edited.
Adopted by
Most recently taken up by
- LeeYudok/agents-scaffoldtheir own version, first seen Oct 4, 2026
- shimo4228/claude-harnesstheir own version, first seen Sep 27, 2026
- shimo4228/search-firsttheir own version, first seen Sep 26, 2026
- shimo4228/akc-cycletheir own version, first seen Sep 26, 2026
- songjiun10-collab/Senior-thinking-skillstheir own version, first seen Sep 25, 2026
- templetongroup/radiantedited, first seen Sep 17, 2026
Used with
Projects with it also use regex-vs-llm-structured-text, skill-stocktake and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
InfopibeSkillregex-vs-llm-structured-text
Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases.
Also in 6 projects that use this
FaisalAlqarniSkillskill-stocktake
Audit all installed skills, commands, agents, and hooks for quality, freshness, and duplication. Use periodically to maintain a clean plugin.
Also in 6 projects that use this
FaisalAlqarniSkillspringboot-tdd
Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.
Also in 5 projects that use this
InfopibeSkillswift-protocol-di-testing
Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.
Also in 4 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 4 projects that use this
- +5 more from Infopibe
- +1 more from FaisalAlqarni
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 14
- loulanyue/awesome-claude-notes★ 27236% same
- tpavanipradeep/everything-claude-code★ 13436% same
- templetongroup/radiant★ 11327% same
- Jamkris/everything-gemini-code★ 8726% same
- Infopibe/everything-claude-code★ 836% same
- bjornjee/skills★ 226% same
- JunMystery/Agent-Guidance-Python★ 227% same
- ashutoshrathi0909-oss/everything-claude-code★ 136% same
- get-proofpilot/claude-skills-catalog★ 136% same
- royaluniondesign-sys/claude-os★ 133% same
4 more not listed
Wrote their own version · 15
- xu-xiang/everything-claude-code-zh★ 2ksame name
- songjiun10-collab/Senior-thinking-skills★ 82same name
- xiaobei930/cc-best★ 48same name
- LeeYudok/agents-scaffold★ 28same name
- sidiangongyuan/codex-skills-library★ 18same name
- YehudaFrankel/clankbrain★ 16same name
- noah-sheldon/ai-dev-kit★ 13same name
- arsen-ask-lx/Agent_Quality_Kit★ 4same name
- shimo4228/claude-harness★ 3same name
- shimo4228/search-first★ 3same name
5 more not listed
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 repository116 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- asideSkill
- checkpointSkill
- configure-sccSkill
- continuous-agent-loopSkill
- mcp-server-patternsSkill
- model-routeSkill
- prompt-optimizerSkill
- refactor-cleanSkill
- resume-sessionSkill
- save-sessionSkill
- security-scanSkill
- sessionsSkill
- sf-2gp-security-reviewSkill
- sf-agentforce-developmentSkill
- sf-agentforce-mcp-actionsSkill
- sf-apex-async-patternsSkill
- sf-apex-best-practicesSkill
- sf-apex-constraintsSkill
- sf-apex-cursorSkill
- sf-apex-enterprise-patternsSkill
- sf-apex-testingSkill
- sf-api-designSkill
- sf-approval-processesSkill
- sf-aura-developmentSkill
- sf-build-fixSkill
- sf-cli-referenceSkill
- sf-data-modelingSkill
- sf-debuggingSkill
- sf-deployment-constraintsSkill
- sf-deploymentSkill
- sf-devops-ci-cdSkill
- sf-docs-lookupSkill
- sf-e2e-testingSkill
- sf-experience-cloudSkill
- sf-flow-developmentSkill
- sf-governor-limitsSkill
- sf-harness-auditSkill
- sf-helpSkill
- sf-integrationSkill
- sf-lwc-constraintsSkill
- sf-lwc-developmentSkill
- sf-lwc-testingSkill
- sf-metadata-managementSkill
- sf-platform-events-cdcSkill
- sf-quickstartSkill
- sf-security-constraintsSkill
- sf-securitySkill
- sf-soql-constraintsSkill
- sf-soql-optimizationSkill
- sf-tdd-workflowSkill
- sf-testing-constraintsSkill
- sf-trigger-constraintsSkill
- sf-trigger-frameworksSkill
- sf-visualforce-developmentSkill
- strategic-compactSkill
- update-docsSkill
- update-platform-docsSkill
- asideSkill
- checkpointSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 2 are common, 6 are distinctive, and 0 are very specific to this project.
2
Common
Most of the 24 edited versions we read keep these.
6
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 13
Before writing any custom utility, library, or integration code
- Distinctive: line 14
When evaluating whether to use npm, AppExchange, or MCP packages for a requirement
- Distinctive: line 15
When starting a new feature that likely has existing open-source or platform solutions
- Distinctive: line 16
When deciding between adopting, extending, composing, or building custom code
- Distinctive: line 17
When the user asks to "add X functionality" and you're about to write net-new code
- Common: line 62
Before writing a utility or adding functionality, mentally run through:
- Distinctive: line 99
Before building custom tooling, check if an MCP server handles it:
- Common: line 137
Ignoring MCP: Not checking if an MCP server already provides the capability
“Common” is measured: kept by at least 6 in 10 of the 24 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
/search-first — Research Before You Code
Systematizes the "search for existing solutions before implementing" workflow.
When to Use
- Before writing any custom utility, library, or integration code
- When evaluating whether to use npm, AppExchange, or MCP packages for a requirement
- When starting a new feature that likely has existing open-source or platform solutions
- When deciding between adopting, extending, composing, or building custom code
- When the user asks to "add X functionality" and you're about to write net-new code
Workflow
+---------------------------------------------+
| 1. NEED ANALYSIS |
| Define what functionality is needed |
| Identify language/framework constraints |
+---------------------------------------------+
| 2. PARALLEL SEARCH (general-purpose agent) |
| +----------+ +----------+ +----------+ |
| | npm / | | MCP / | | GitHub / | |
| | AppExch | | Skills | | Web | |
| +----------+ +----------+ +----------+ |
+---------------------------------------------+
| 3. EVALUATE |
| Score candidates (functionality, maint, |
| community, docs, license, deps) |
+---------------------------------------------+
| 4. DECIDE |
| +---------+ +----------+ +---------+ |
| | Adopt | | Extend | | Build | |
| | as-is | | /Wrap | | Custom | |
| +---------+ +----------+ +---------+ |
+---------------------------------------------+
| 5. IMPLEMENT |
| Install package / Configure MCP / |
| Write minimal custom code |
+---------------------------------------------+Decision Matrix
| Signal | Action |
| Exact match, well-maintained, MIT/Apache | Adopt — install and use directly |
| Partial match, good foundation | Extend — install + write thin wrapper |
| Multiple weak matches | Compose — combine 2-3 small packages |
| Nothing suitable found | Build — write custom, but informed by research |
How to Use
Quick Mode (inline)
Before writing a utility or adding functionality, mentally run through:
- Does this already exist in the repo? ->
rgthrough relevant modules/tests first - Is this a common problem? -> Search npm/AppExchange
- Is there an MCP for this? -> Check
~/.claude/settings.jsonand search - Is there a skill for this? -> Check
~/.claude/skills/ - Is there a GitHub implementation/template? -> Run GitHub code search
Full Mode (agent)
For non-trivial functionality, launch a general-purpose agent:
Task(subagent_type="general-purpose", prompt="
Research existing tools for: [DESCRIPTION]
Language/framework: [LANG]
Constraints: [ANY]
Search: npm/AppExchange, MCP servers, Claude Code skills, GitHub
Return: Structured comparison with recommendation
")Salesforce-Specific Tool Discovery
| Category | Tools to Check | Notes |
| Testing | ApexMocks, FFLib, at4dx, Apex Replay Debugger | FFLib is the industry standard |
| CI/CD | CumulusCI, sfdx-git-delta, sf scanner, GitHub Actions | sfdx-git-delta for delta deployments |
| Data | SFDX Data Loader, DLRS (Declarative Lookup Rollup Summary), DataWeave | DLRS replaces rollup trigger code |
| Security | Shield Platform Encryption, Event Monitoring, SF Code Analyzer | Scanner catches PMD violations |
| Documentation | ApexDox, SfApexDoc | Auto-generate Apex docs |
| MCP | @salesforce/mcp (official), community MCP servers | Check official first |
| Package Mgmt | CumulusCI, SFDX Package commands | For managed/unlocked packages |
MCP Server Evaluation
Before building custom tooling, check if an MCP server handles it:
- @salesforce/mcp (official) — orgs, metadata, data, testing, code-analysis, LWC, DevOps
- Community MCP servers — search npm for
mcp+ your domain - Build custom only if — no existing server covers your specific business logic
Salesforce Decision Examples
Scenario 1: "We need rollup summary fields on lookup relationships"
Search: AppExchange "rollup summary lookup"
Found: DLRS (Declarative Lookup Rollup Summaries) — 4.8★, 5000+ installs
Decision: ADOPT — install DLRS, configure declaratively
Result: Zero custom Apex code for rollup calculationsScenario 2: "We need delta deployments in CI"
Search: npm "salesforce delta deployment"
Found: sfdx-git-delta — actively maintained, 1000+ stars
Decision: ADOPT — add as sf plugin, configure in GitHub Actions
Result: Deploy only changed metadata, 10x faster CIScenario 3: "We need custom approval routing based on territory"
Search: AppExchange "dynamic approval routing territory"
Found: Several packages but none match exact business rules
Decision: BUILD — custom Apex approval process with territory-based routing
Result: Custom code, but informed by research (knew no package fit)Anti-Patterns
- Jumping to code: Writing a utility without checking if one exists
- Ignoring MCP: Not checking if an MCP server already provides the capability
- Over-customizing: Wrapping a library so heavily it loses its benefits
- Not checking AppExchange: Many common patterns have managed packages with support
- Reinventing DLRS: Writing rollup trigger code when DLRS handles it declaratively
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.

