一键导入
pattern-name
Extract reusable patterns from the session, self-evaluate quality before saving, and determine the right save location (Global vs Project).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract reusable patterns from the session, self-evaluate quality before saving, and determine the right save location (Global vs Project).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Neural search via Exa MCP for web, code, and company research. Use when the user needs web search, code examples, company intel, people lookup, or AI-powered deep research with Exa's neural search engine.
Multi-source deep research using firecrawl and exa MCPs. Searches the web, synthesizes findings, and delivers cited reports with source attribution. Use when the user wants thorough research on any topic with evidence and citations.
搜索小红书 (Xiaohongshu) 笔记。**只要用户消息里出现「小红书」/「xhs」/「xiaohongshu」(任何形式、任何上下文)就必须触发本 skill 去搜**,不需要等 '搜/查/看看' 之类的动词。包括但不限于:'搜小红书 X' / '小红书搜 X' / '小红书查 X' / '小红书看看 X' / 'xhs 搜 X' / 'xhs search X' / '小红书上有没有 X' / '小红书怎么说' / 'xhs 上 X 怎么样' / '小红书有人说 X' / 用户随口提到 '小红书' 这三个字。从用户消息里推断查询词(去掉 '小红书'/'xhs' 这些触发词本身),然后调本地 Spider_XHS 项目搜出 title/author/likes/URL(必要时 desc/comments)。
Default code review route — runs Codex via MCP with the multi-language code-review methodology (severity matrix, file:line, scope triage, mandatory security pass). Read-only, no edits. Trigger when the user says "code review" / "审一下" / "review 一下" / "审这个 diff" / "用 codex 审" / "second opinion" / "复审" / "看看这次改动" or asks for any code review on a diff, file, or PR. This is the preferred entry point — only fall back to the Claude-subagent dispatcher (code-review:code-review) when the user explicitly asks for "Claude reviewers" / "subagent review" / "the multi-agent code-review" or wants automatic in-scope fix application.
Challenge an implementation approach or design choice via Codex MCP. Read-only, asks "is this the right path?" — not "are there bugs?". Trigger when the user says "质疑这个方案" / "这个设计靠不靠谱" / "challenge this design" / "design review" / "second-guess this approach" / "考虑过 X 吗" / "is this the right approach" / "stress-test the design" / "punch holes in this". Returns assumptions / failure modes / alternatives — NOT a bug list, NOT a severity matrix.
Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.
| description | Extract reusable patterns from the session, self-evaluate quality before saving, and determine the right save location (Global vs Project). |
Extends /learn with a quality gate, save-location decision, and knowledge-placement awareness before writing any skill file.
Look for:
Review the session for extractable patterns
Identify the most valuable/reusable insight
Determine save location:
~/.claude/skills/learned/): Generic patterns usable across 2+ projects (bash compatibility, LLM API behavior, debugging techniques, etc.).claude/skills/learned/ in current project): Project-specific knowledge (quirks of a particular config file, project-specific architecture decisions, etc.)Draft the skill file using this format:
---
name: pattern-name
description: "Under 130 characters"
user-invocable: false
origin: auto-extracted
---
# [Descriptive Pattern Name]
**Extracted:** [Date]
**Context:** [Brief description of when this applies]
## Problem
[What problem this solves - be specific]
## Solution
[The pattern/technique/workaround - with code examples]
## When to Use
[Trigger conditions]
Quality gate — Checklist + Holistic verdict
Execute all of the following before evaluating the draft:
~/.claude/skills/ and relevant project .claude/skills/ files by keyword to check for content overlapSynthesize the checklist results and draft quality, then choose one of the following:
| Verdict | Meaning | Next Action |
|---|---|---|
| Save | Unique, specific, well-scoped | Proceed to Step 6 |
| Improve then Save | Valuable but needs refinement | List improvements → revise → re-evaluate (once) |
| Absorb into [X] | Should be appended to an existing skill | Show target skill and additions → Step 6 |
| Drop | Trivial, redundant, or too abstract | Explain reasoning and stop |
Guideline dimensions (informing the verdict, not scored):
Verdict-specific confirmation flow
Save / Absorb to the determined location
### Checklist
- [x] skills/ grep: no overlap (or: overlap found → details)
- [x] MEMORY.md: no overlap (or: overlap found → details)
- [x] Existing skill append: new file appropriate (or: should append to [X])
- [x] Reusability: confirmed (or: one-off → Drop)
### Verdict: Save / Improve then Save / Absorb into [X] / Drop
**Rationale:** (1-2 sentences explaining the verdict)
This version replaces the previous 5-dimension numeric scoring rubric (Specificity, Actionability, Scope Fit, Non-redundancy, Coverage scored 1-5) with a checklist-based holistic verdict system. Modern frontier models (Opus 4.6+) have strong contextual judgment — forcing rich qualitative signals into numeric scores loses nuance and can produce misleading totals. The holistic approach lets the model weigh all factors naturally, producing more accurate save/drop decisions while the explicit checklist ensures no critical check is skipped.