一键导入
pattern-detection
Detect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pattern-detection |
| description | Detect and document existing code patterns in a codebase. Use to maintain consistency with established conventions when writing new code. |
Identify and document patterns for consistency enforcement.
Reference: patterns/naming-conventions.md
Detection method:
Reference: patterns/error-handling.md
Detection method:
Reference: patterns/testing-patterns.md
Detection method:
Rate codebase consistency:
Create patterns document with:
Save to: docs/research/patterns-{date}.md
Use when converting architecture plans into implementation phases. Creates independent, bite-sized phase files that can be executed separately.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Extract design assets and metadata from Figma using the Figma REST API. Supports exporting frames/components as images, extracting node metadata, design tokens, and file structure. Use with ai-multimodal skill for comprehensive UI research.
Comprehensive codebase documentation generator following a layered methodology. This skill should be used when scanning and documenting a codebase for the first time, when creating onboarding documentation for new developers, when generating architecture overviews, walkthroughs, and API references. Supports README generation, architecture diagrams, entry point documentation, pattern guides, and edge case documentation.
Generate structured handoff summaries between workflow phases. Use when transitioning between RQPIV phases.