typescript
Skill0 starsChanged 3 months agoMITView on GitHub
Apply repository-aware TypeScript conventions for checked boundaries, useful types, async behavior, imports, suppressions, React code, tests, and verification.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- lobehub/lobehubtheir own version, first seen Oct 1, 2026
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
- wolzey/agent-factorytheir own version, first seen Sep 23, 2026
- microsoft/scopetheir own version, first seen Sep 23, 2026
- AvilaCarlosDev/openclaw-skillstheir own version, first seen Sep 19, 2026
Used with
Projects with it also use react, security and 1 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.
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 6 projects that use this
0xSeroSkillsecurity
Also in 4 projects that use this
BlockSkilldebugging
Debugging guidelines and best practices
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- lobehub/lobehub★ 83ksame name
- microsoft/fast★ 9.7ksame name
- alinaqi/maggy★ 707same name
- Mindrally/skills★ 266same name
- martinholovsky/claude-skills-generator★ 47same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- siviter-xyz/dot-agent★ 22same name
- sordi-ai/skill-everything★ 20same name
- alexander-danilenko/cortex-ai-skills★ 16same name
- caidanw/skills★ 9same name
23 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 repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bare-bonesSkill
- flow-ideateSkill
- flow-implementSkill
- flow-planSkill
- git-commitSkill
- git-hooksSkill
- githubSkill
- golangci-lintSkill
- goSkill
- pythonSkill
- rustSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Follow the repository's TypeScript version, module system, strictness, runtime validator, package manager, formatter, linter, and test …
- Very specific: line 16
Treat external input, parsed JSON, caught errors, storage, and network responses as unknown until checked.
- Very specific: line 17
Avoid any, non-null assertions, and casts that claim facts not established by control flow or validation.
- Very specific: line 20
Use import type where it prevents runtime imports and matches repository style.
- Distinctive: line 22
Follow the existing React patterns and compiler guidance.
- Distinctive: line 23
Use targeted suppressions with the rule and reason.
- Very specific: line 25
Read references/error-handling.md only for boundary-validation or Result-versus-exception decisions.
- Distinctive: line 29
Use repository scripts first.
“Common” is measured: kept by at least 6 in 10 of the 27 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
TypeScript
Follow the repository's TypeScript version, module system, strictness, runtime validator, package manager, formatter, linter, and test framework. Do not change those choices unless requested.
Contracts
- Treat external input, parsed JSON, caught errors, storage, and network responses as
unknownuntil checked. A generic type argument or assertion is not runtime validation. - Avoid
any, non-null assertions, and casts that claim facts not established by control flow or validation. When an assertion is necessary, keep it local and state the invariant. - Annotate public APIs and boundaries. Let clear local values infer. Use generics only when type parameters express a useful relationship.
- Represent mutually exclusive states with discriminated unions when that prevents invalid combinations. Do not add type machinery that exceeds the domain need.
- Use
import typewhere it prevents runtime imports and matches repository style. - Await, return, or intentionally observe every promise. Define error ownership at async boundaries. Preserve abort and cleanup behavior.
- Follow the existing React patterns and compiler guidance. Do not add memoization by default.
- Use targeted suppressions with the rule and reason. Never use a suppression to avoid understanding an error.
Read references/error-handling.md only for boundary-validation or Result-versus-exception decisions.
Verification
Use repository scripts first. Run focused tests, the configured type check, lint, and format check that apply to changed files. Do not assume npm, ESLint, Prettier, Vitest, or Jest. Do not install tools or rewrite configuration to satisfy this skill. Report checks not run.
Adapted from Anthropic skills (MIT).
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.

