一键导入
dev-create-module
Use when creating a new feature module with all layers - service, adapter, types, state, components, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating a new feature module with all layers - service, adapter, types, state, components, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when you need a comprehensive code audit covering security, performance, architecture, and dependencies before a release, major refactor, or compliance review.
Use when you want to iteratively build a feature using a PRD as source of truth, with progress tracking and fresh-context iterations - the Autopilot technique for autonomous development.
Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design - before /plan.
Use when you need a comprehensive code review combining architecture, security, and test perspectives - especially before merging, releasing, or after major changes.
Use when creating marketing copy for landing pages, email campaigns, product descriptions, or social media - with A/B variants and conversion-focused frameworks.
Use when optimizing landing pages, signup flows, checkout processes, or any user-facing page for higher conversion rates - before A/B testing.
基于 SOC 职业分类
| name | dev-create-module |
| description | Use when creating a new feature module with all layers - service, adapter, types, state, components, and tests. |
| user-invocable | true |
| argument-hint | [module-name] |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
Create a new complete feature module following docs/ARCHITECTURE.md.
Module name: $ARGUMENTS
Read docs/ARCHITECTURE.md sections 2, 3 and 4.
Create the directory structure:
src/modules/[kebab-case-name]/
├── components/
├── services/
├── adapters/
├── stores/
├── types/
├── pages/
├── __tests__/
└── index.ts
index.ts with empty barrel export:// src/modules/[name]/index.ts
// Public API for this module
Ask the user:
Use @builder to create bottom-up:
Register the route in app.routes.ts using loadComponent.
Validate: npx tsc --noEmit && ng build