一键导入
search-first
Enforce research-before-implementation workflow to reduce duplication and hallucination. Mandatory before creating new files or functions in Code mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforce research-before-implementation workflow to reduce duplication and hallucination. Mandatory before creating new files or functions in Code mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verify WCAG 2.1 AA compliance by analyzing HTML structure, ARIA usage, contrast, keyboard patterns, and semantic markup. Runs before completion in FE Designer mode.
Guide the design of beautiful, accessible, systematic UI components. Auto-triggers when creating or restyling components in FE Designer mode.
Audit design system consistency — check tokens, spacing, colors, typography usage across the codebase. Triggers when modifying shared styles or on user request.
Self-critique visual output before completion. Evaluates visual hierarchy, CTA clarity, cognitive load, spacing consistency, and layout priority. MUST run before attempt_completion in FE Designer mode.
MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free.
Auto-enforce coding standards after every code change in Code mode. Checks file size, nesting, naming, error handling, and anti-patterns.
| name | search-first |
| description | Enforce research-before-implementation workflow to reduce duplication and hallucination. Mandatory before creating new files or functions in Code mode. |
| risk | safe |
| source | self |
| tags | ["search","deduplication","research"] |
Trigger BEFORE creating ANY new file, function, or component in Code mode. This is mandatory for medium+ tasks.
codebase_search("description of what you're about to implement")
Look for existing implementations that solve ≥80% of the requirement.
search_files(path, "regex for similar function/class names")
Check for naming conventions, similar utilities, or partial implementations.
package.json (or equivalent) for existing utilitiesutils/, lib/, helpers/, shared/)Mandatory output before implementing:
Search Evidence:
- Searched: [what you searched for]
- Found: [file:line — brief description] OR "No existing match found"
- Decision: [Reuse/Extend existing | Create new — reason]
| Match Level | Action |
|---|---|
| ≥80% match | Reuse — import and use existing code |
| 50-80% match | Extend — modify existing to cover new case |
| <50% match | Create new — but follow existing patterns |
| No match | Create new — document as first implementation of this pattern |
development-workflow.md.