一键导入
formatting-standards
Formatting and linting standards using GTS, ESLint, and Prettier. Use when writing or formatting TypeScript code in this project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Formatting and linting standards using GTS, ESLint, and Prettier. Use when writing or formatting TypeScript code in this project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Patterns and standards for creating new AWS service subpackages in the monorepo. Use when adding new service packages like Lambda, DynamoDB, Step Functions, etc.
Build commands, build order, TypeScript configuration, and CDK deployment. Use when building packages, troubleshooting build issues, or deploying stacks.
JSDoc/TSDoc standards for documenting types, functions, and constructs. Use when writing or reviewing documentation.
Claude Code specific instructions for working with this CDK monorepo. General guidance on code generation, refactoring, and feature additions.
Step-by-step guides for common development tasks like adding constructs, creating packages, and using workspace packages. Use when performing routine development tasks.
CDK construct development patterns, design principles, and type-driven development. Use when building or modifying AWS CDK constructs.
| name | formatting-standards |
| description | Formatting and linting standards using GTS, ESLint, and Prettier. Use when writing or formatting TypeScript code in this project. |
This repository uses:
.eslintrc.json - ESLint configuration (extends GTS).prettierrc.js - Prettier configuration (extends GTS).eslintignore - Files to ignore for linting.prettierignore - Files to ignore for formattingBased on GTS and project configuration:
{ Item } not {Item}(x) => not x =># Format all files
npm run format
# Check formatting without writing
npm run format:check
# Format and fix linting issues
npm run format:fix
Format on save is configured in .vscode/settings.json:
Always run:
npm run format:fix
This ensures: