algorithms
Skill0 starsChanged 53 days agoApache-2.0View on GitHub
Chooses and implements the right algorithm and data structure. Use for performance-sensitive logic or interview-style problems.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- g-cqd/skillstheir own version, first seen Nov 27, 2026
- nick-vas/hyperdottheir own version, first seen Nov 22, 2026
- unitarylab/quantum-practicestheir own version, first seen Aug 14, 2026
- ffsshhttiikk/opencode-agents-skillstheir own version, first seen Feb 28, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- unitarylab/quantum-practices★ 18same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- g-cqd/skills★ 2same name
- nick-vas/hyperdot★ 1same 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 repository33 other files it gives its agents.
- break-down-workSkill
- ci-cdSkill
- clarify-requirementsSkill
- concurrencySkill
- containers-and-deploySkill
- data-analysisSkill
- data-durabilitySkill
- debugSkill
- dependenciesSkill
- design-apiSkill
- design-architectureSkill
- estimate-and-risksSkill
- explain-codeSkill
- git-workflowSkill
- handle-errors-and-loggingSkill
- implement-featureSkill
- incident-responseSkill
- ml-experimentSkill
- model-dataSkill
- observabilitySkill
- performanceSkill
- refactorSkill
- research-and-compareSkill
- review-codeSkill
- security-reviewSkill
- write-adrSkill
- write-cliSkill
- write-docsSkill
- write-goSkill
- write-pythonSkill
- write-sqlSkill
- write-testsSkill
- write-typescriptSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Write a brute-force reference implementation in test_brute.py.
- Distinctive: line 13
Run random test generation against both versions.
- Distinctive: line 29
Test script output showing random match results
“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
Steps
- State input size and needed complexity first.
- Pick data structures for required operations.
- Implement the solution using the chosen structures.
- Calculate time and space complexity.
- Handle edge cases: empty input, single element, duplicates, huge inputs.
- Write a brute-force reference implementation in
test_brute.py. - Run random test generation against both versions.
- Compare outputs and fix mismatches.
Checklist
- Input size and complexity stated upfront
- Data structures match operation requirements
- Time and space complexity explained
- Edge cases covered (empty, one, duplicates, huge)
- Brute-force version written and tested
- Random inputs pass both implementations
- No external dependencies added
- Code runs in under target time limit
Output
- Complexity analysis and chosen data structures
- Optimized implementation with edge case handling
- Test script output showing random match results
- Brief explanation of why the approach fits the constraints
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.

