Enforces the project's core TypeScript standards including explicit typing, import organization, class member ordering, and code safety rules.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionenforcing-typescript-standardsExecute the skills CLI command in your project's root directory to begin installation:
Fetches enforcing-typescript-standards from jgeurts/eslint-config-decent and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate enforcing-typescript-standards. Access via /enforcing-typescript-standards in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
1
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
1
stars
Enforces the project's core TypeScript standards including explicit typing, import organization, class member ordering, and code safety rules.
Activate this skill when the user says or implies any of these:
.ts or .tsx filesSpecific triggers:
.ts or .tsx filepublic, private, or protectedimport type for types: import type { Foo } from './foo.js'any and type assertions: Prefer proper typing over any or as casts; use them only when truly necessaryRecord<string, unknown> or specific interfaces for JSON data, never anyNumber(value) over parseInt(value, 10) or parseFloat(value)Pick, Omit, Partial, or other utility typesBefore using as, try these approaches in order:
typeof, instanceof)// Bad
const user = data as User;
// Good
function isUser(data: unknown): data is User {
return typeof data === 'object' && data !== null && 'id' in data;
}
if (isUser(data)) {
// data is now typed as User
}
?? over || for defaults (avoids false positives on 0 or '')?. for safe property access_, i, j, k, e, x, y)function foo() not const foo = function()const unless reassignment is neededconst or let{ foo } not { foo: foo }`Hello ${name}` not 'Hello ' + name=== except for null comparisonsreduce: Prefer for...of loops or other array methods for clarityPascalCase (e.g., MyValue)_0/'' (valid values) from null/undefined is semantically importantError when meaningfulAvoid these anti-patterns:
console.log() statements in production codeeval() or Function() constructorawait inside loops when Promise.all would be simpler (sequential awaits are fine when order matters or parallelism adds complexity)@ts-ignore without explanation (use @ts-expect-error with 10+ char description)// increment counter above counter++// returns a string when return type is : stringarr.length > 0, str !== '', obj !== null && obj !== undefinedany type or as type assertions|| for defaults when ?? is more appropriatePick/Omit/Partialnpm run build or npx tsc --noEmit)npm run lint to confirm compliance before completing the task// Standard
// Retry with exponential backoff to handle transient network failures
async function fetchWithRetry(url: string, attempts = 3): Promise<Response> {
for (let i = 0; i < attempts; i++) {
try {
return await fetch(url);
} catch {
await sleep(2 ** i * 100);
}
}
throw new Error(`Failed after ${attempts} attempts`);
}
// Non-Standard
/**
* Fetches data from a URL with retry logic
* @param url - The URL to fetch from
* @param attempts - Number of attempts (default 3)
* @returns A Promise that resolves to a Response
*/
async function fetchWithRetry(url: string, attempts = 3): Promise<Response> {
// Loop through attempts
for (let i = 0; i < attempts; i++) {
try {
// Try to fetch the URL
return await fetch(url);
} catch {
// Wait before retrying
await sleep(2 ** i * 100);
}
}
// Throw error if all attempts fail
throw new Error(`Failed after ${attempts} attempts`);
}
// Standard
if (myArray.length) {
}
if (myString) {
}
if (myObject) {
}
if (!value) {
}
// Non-Standard
if (myArray.length !== 0) {
}
if (myArray.length > 0) {
}
if (myString !== '') {
}
if (myObject !== null && myObject !== undefined) {
}
if (value === null || value === undefined) {
}
// Standard
function processUser(user: User | null): Result {
if (!user) {
return { error: 'No user provided' };
}
if (!user.isActive) Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
jwynia/agent-skills
affaan-m/everything-claude-code
sickn33/antigravity-awesome-skills
dotneet/claude-code-marketplace
mindrally/skills
github/awesome-copilot
Solid pick for teams standardizing on skills: enforcing-typescript-standards is focused, and the summary matches what you get after install.
enforcing-typescript-standards is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
I recommend enforcing-typescript-standards for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
enforcing-typescript-standards fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Useful defaults in enforcing-typescript-standards — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
enforcing-typescript-standards has been reliable in day-to-day use. Documentation quality is above average for community skills.
Keeps context tight: enforcing-typescript-standards is the kind of skill you can hand to a new teammate without a long onboarding doc.
enforcing-typescript-standards has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for enforcing-typescript-standards matched our evaluation — installs cleanly and behaves as described in the markdown.
enforcing-typescript-standards fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 46