agentskills/typescript-architecture · Software Development · v1.4.0 · Apache-2.0
TypeScript Full-Stack Architecture
Guides strict TypeScript module design, clean API contracts, and incremental refactoring across Next.js and Node services.
静态安全与来源审计: Verified Source
SHA-256 校验和: 8b3427b4ef93b0a00b9b09eaa86e7ac30157eaab76d3629c881d850fa77342d2静态安全扫描可识别已知风险模式、非法路径与来源不一致,但绝不代表绝对安全。安装前请务必人工复核 SKILL.md 与脚本。
支持的 Agent 客户端与安装路径
- claude_code~/.claude/skills/typescript-architecture
- openai_codex~/.codex/skills/typescript-architecture
- cursor~/.cursor/skills/typescript-architecture
- github_copilot.github/skills/typescript-architecture
- gemini_cli~/.gemini/skills/typescript-architecture
- opencode~/.config/opencode/skills/typescript-architecture
- agent_skills_generic.agents/skills/typescript-architecture
技能文件清单
- Author
- Agent Skills Working Group
- 声明权限
- read_workspace, write_workspace
- Dependencies
- node>=20, typescript>=5.4
SKILL.md0620d37ccb
references/strict-tsconfig.md4e10892b92
SKILL.md (Read-Only Inspection)
---
name: typescript-architecture
description: Guides strict TypeScript module design, clean API contracts, and incremental refactoring across Next.js and Node services.
version: 1.4.0
license: Apache-2.0
category: Software Development
tags: [typescript, architecture, refactoring, nextjs, api]
---
# TypeScript Full-Stack Architecture
1. Define shared request/response types in a single canonical module.
2. Enforce strict null checks and explicit error boundary types.
3. Separate domain logic from framework handlers so core rules remain unit-testable.
4. Prefer incremental migrations and preserve existing public API contracts.