typescript-best-practice
TypeScript best practices and patterns for writing clean, type-safe, and maintainable code.
Skill by xiaoland
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xiaoland-typescript-best-practice
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/typescript-best-practice
What's inside
- Skill name
typescript-best-practice- Description
- TypeScript best practices and patterns for writing clean, type-safe, and maintainable code. Use when implementing TypeScript code, refactoring for better type safety, or teaching TypeScript patterns.
- License
- Apache-2.0
- Compatibility
- TypeScript 4.5+
- Metadata
- author: xiaoland · version: 1.0 · related-skills: code-smell-checker, dev-vue-component
- Instructions
- 25 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- as-const-pattern.ts · assets/
SKILL.md (first lines)
--- name: typescript-best-practice description: TypeScript best practices and patterns for writing clean, type-safe, and maintainable code. Use when implementing TypeScript code, refactoring for better type safety, or teaching TypeScript patterns. license: Apache-2.0 compatibility: TypeScript 4.5+ metadata: author: xiaoland version: "1.0" related-skills: "code-smell-checker, dev-vue-component" --- # TypeScript Best Practices ## When to use this skill Use this skill when you need to: - Implement TypeScript code following best practices - Refactor JavaScript to TypeScript - Improve type safety and code maintainability - Choose between different TypeScript patterns - Teach or explain TypeScript best practices - Review code for TypeScript anti-patterns ## Instructions 1. **Identify the pattern**: Which best practice applies to your situation? 2. **Apply the pattern**: Follow the code examples provided 3. **Verify types**: Ensure TypeScript infers the correct types 4. **Test usage**: Confirm autocomplete and type checking work as expected ## Best Practices - Use `as const` Instead of Enums: read at [as-const-pattern](assets/as-const-pattern.ts)
From xiaoland/agents, Apache-2.0.
More from xiaoland/agents
- 0.414score
dev-vue-component
xiaoland
Create, modify, and maintain Vue 3 components with TypeScript and SCSS.
SkillDFreshness: DClaude Code +9 - 0.414score
pinia
xiaoland
Create and maintain Pinia stores using Setup Stores pattern with TypeScript.
SkillDFreshness: DClaude Code +9 - 0.414score
vercel-ai-sdk-integration
xiaoland
Integrate Vercel AI SDK v6 with Vue.js applications (client-side).
SkillDFreshness: DClaude Code +9 - 0.414score
code-smell-checker
xiaoland
Review code for maintainability issues and classic code smells.
SkillDFreshness: DClaude Code +9 - 0.410score
develop-fastapi-app
zhanymkanov, xiaoland
Build production-ready FastAPI applications with best practices for project structure, async patterns, Pydantic models, dependency injection, database…
SkillDFreshness: DClaude Code +9 - 0.409score
vue-story
xiaoland
Create and maintain Histoire stories for Vue 3 components.
SkillDFreshness: DClaude Code +9 - 0.406score
friendly-python
xiaoland
Practical guidance for writing, refactoring, and reviewing friendly Python code with a Pythonic, readable, and maintainable style.
SkillDFreshness: DClaude Code +9 - 0.405score
implement-design
xiaoland
Translates Figma designs into production-ready code with 1:1 visual fidelity.
SkillDFreshness: DClaude Code +9 - 0.405score
code-connect-components
xiaoland
Connects Figma design components to code components using Code Connect.
SkillDFreshness: DClaude Code +9 - 0.405score
mantic-sh
xiaoland
Use Mantic.sh for context-aware code search in local repositories.
SkillDFreshness: DClaude Code +9 - 0.396score
create-design-system-rules
xiaoland
Generates custom design system rules for the user's codebase.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 7, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- Apache-2.0
- Repository
- github.com/xiaoland/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from xiaoland
- 0.414score
pinia
xiaoland
Create and maintain Pinia stores using Setup Stores pattern with TypeScript.
SkillDFreshness: DClaude Code +9 - 0.414score
code-smell-checker
xiaoland
Review code for maintainability issues and classic code smells.
SkillDFreshness: DClaude Code +9 - 0.414score
dev-vue-component
xiaoland
Create, modify, and maintain Vue 3 components with TypeScript and SCSS.
SkillDFreshness: DClaude Code +9 - 0.414score
vercel-ai-sdk-integration
xiaoland
Integrate Vercel AI SDK v6 with Vue.js applications (client-side).
SkillDFreshness: DClaude Code +9 - 0.409score
vue-story
xiaoland
Create and maintain Histoire stories for Vue 3 components.
SkillDFreshness: DClaude Code +9 - 0.406score
friendly-python
xiaoland
Practical guidance for writing, refactoring, and reviewing friendly Python code with a Pythonic, readable, and maintainable style.
SkillDFreshness: DClaude Code +9
Cite this page
typescript-best-practice skill. Agent Mart. https://agentmart.dev/skills/xiaoland-typescript-best-practice (last updated 2026-10-24)