javascript-typescript
Skill0 starsChanged 3 days agoMITView on GitHub
Build reliable JavaScript and TypeScript features using the existing runtime, module system, types, and project tooling.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- kinhluan/skillstheir own version, first seen Nov 8, 2026
- ProjAnvil/MindForgetheir own version, first seen Oct 9, 2026
- HK-hub/AgentSkillstheir own version, first seen Mar 2, 2026
- pepebot-space/skillstheir own version, first seen Feb 16, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- HK-hub/AgentSkills★ 6same name
- kinhluan/skills★ 6same name
- ProjAnvil/MindForge★ 3same name
- pepebot-space/skills★ 2same 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 repository34 other files it gives its agents.
- accessibilitySkill
- admin-panelSkill
- ai-agent-interfaceSkill
- ai-chat-interfaceSkill
- ai-dashboardSkill
- ai-engineeringSkill
- analytics-and-data-visualizationSkill
- animation-and-motionSkill
- api-engineeringSkill
- authentication-and-rbacSkill
- backend-architectureSkill
- component-engineeringSkill
- dashboard-designSkill
- database-engineeringSkill
- design-intelligenceSkill
- design-systemsSkill
- frontend-engineeringSkill
- iconographySkill
- image-art-directionSkill
- integrations-and-webhooksSkill
- performance-optimizationSkill
- premium-landing-pagesSkill
- python-engineeringSkill
- rag-and-knowledge-systemsSkill
- responsive-designSkill
- saas-dashboardSkill
- security-engineeringSkill
- super-admin-panelSkill
- testing-and-qualitySkill
- unslop-engineSkill
- ux-researchSkill
- visual-designSkill
- visual-regressionSkill
- website-architectureSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
9
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 10
Use when implementing or reviewing JavaScript/TypeScript application, library, CLI, or browser code.
- Distinctive: line 15
Do not migrate JavaScript to TypeScript as incidental cleanup.
- Very specific: line 20
Read package.json, lockfile, runtime and compiler versions, module format, tsconfig, lint rules, tests, and nearby patterns.
- Very specific: line 31
Use async/await with explicit rejection handling, cancellation, and timeouts where appropriate.
- Distinctive: line 33
Prefer immutable transformations and explicit data ownership.
- Distinctive: line 36
Add behavior-focused unit/integration tests and run repository checks.
- Distinctive: line 40
Use native platform APIs unless a dependency provides necessary behavior.
- Very specific: line 41
Treat JSON.parse, network responses, and environment values as untrusted.
- Very specific: line 42
Avoid !, as, or any when a guard or schema can express the contract.
- Distinctive: line 43
Keep browser-only APIs out of server modules and Node-only APIs out of browser bundles.
- Distinctive: line 45
Do not silence errors or return success-shaped fallbacks.
- Distinctive: line 69
Run the project's formatter/linter, type-check, targeted tests, and build.
- Distinctive: line 70
Check supported runtime compatibility, malformed inputs, and error paths.
“Common” is measured: kept by at least 6 in 10 of the 3 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
JavaScript and TypeScript Engineering
When to use
Use when implementing or reviewing JavaScript/TypeScript application, library, CLI, or browser code.
When not to use
Do not migrate JavaScript to TypeScript as incidental cleanup. Do not add a framework, transpiler, or runtime dependency if the project does not need it.
Inputs and assumptions
Read package.json, lockfile, runtime and compiler versions, module format,
tsconfig, lint rules, tests, and nearby patterns. Determine whether code
runs in Node.js, a browser, or multiple environments.
Workflow
- Match the repository's ESM/CommonJS conventions and supported runtime.
- Define types at public boundaries and use inference for obvious local
values; avoid
anyand unsafe casts. - Validate external input (HTTP, files, environment, JSON) at runtime. Static TypeScript types do not validate untrusted data.
- Use
async/awaitwith explicit rejection handling, cancellation, and timeouts where appropriate. - Prefer immutable transformations and explicit data ownership; avoid hidden global mutable state.
- Preserve stable API contracts and document intentional breaking changes.
- Add behavior-focused unit/integration tests and run repository checks.
Decision rules
- Use native platform APIs unless a dependency provides necessary behavior.
- Treat
JSON.parse, network responses, and environment values as untrusted. - Avoid
!,as, oranywhen a guard or schema can express the contract. - Keep browser-only APIs out of server modules and Node-only APIs out of browser bundles.
- Do not silence errors or return success-shaped fallbacks.
Example
type Result<T> = { ok: true; value: T } | { ok: false; error: Error };
function parsePort(value: string | undefined): Result<number> {
const port = Number(value);
return Number.isInteger(port) && port > 0 && port <= 65535
? { ok: true, value: port }
: { ok: false, error: new Error("PORT must be an integer from 1 to 65535") };
}Common failures
- Assuming TypeScript declarations validate runtime inputs.
- Mixing module formats or relying on an unsupported Node feature.
- Catching errors and continuing with invalid or fabricated data.
- Writing brittle tests that assert private implementation details.
Validation
Run the project's formatter/linter, type-check, targeted tests, and build. Check supported runtime compatibility, malformed inputs, and error paths.
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.

