session-manager
会话状态管理,保证工作流跨会话持久化
iterative-retrieval
Progressive context refinement for subagents and complex tasks. Retrieves context incrementally based on actual needs rather than loading everything upfront. Reduces context waste and improves relevance.
Full skill instructions
Loading all potentially relevant context upfront:
Retrieve context incrementally based on actual execution needs.
Level 0: Task Description
└── Just the user request
Level 1: Immediate Context
└── Files mentioned + direct dependencies
Level 2: Extended Context
└── Related modules + tests
Level 3: Full Context
└── Architecture docs + cross-cutting concerns
initial_load:
- Task description
- CLAUDE.md (current section)
- Target file(s) only
gap_signals:
- Reference to unknown function/type
- Import from unloaded module
- Pattern that needs clarification
- Test failure with unclear cause
retrieval_action:
signal: "Unknown type UserProfile"
action: Load types/user.ts
scope: Type definitions only
cache_entry:
query: "UserProfile type"
result: "types/user.ts lines 15-30"
relevance: 0.95
reuse_for: ["user-related tasks"]
# Subagent Context Protocol
## Mandatory (Level 0-1)
- Task objective
- Target file
- Immediate imports
## On-Request (Level 2)
- Related tests
- Usage examples
- Similar implementations
## Escalation (Level 3)
- Architecture docs
- Cross-module dependencies
- Historical decisions
async function iterativeAnalysis(task) {
// Level 0: Understand task
const taskContext = await loadMinimal(task);
// Level 1: Load immediate
let context = await loadImmediate(task.files);
while (hasGaps(context)) {
// Level 2+: Fill gaps
const gaps = identifyGaps(context);
const additional = await loadForGaps(gaps);
context = mergeContext(context, additional);
// Prevent infinite loops
if (context.level > MAX_LEVEL) break;
}
return context;
}
| Signal | Action | Priority |
|---|---|---|
| Undefined reference | Load definition file | High |
| Test import | Load test file | Medium |
| Config reference | Load config | Medium |
| Doc comment link | Load doc | Low |
| Historical mention | Query experience | Low |
relevance_score:
direct_reference: 1.0 # Explicitly mentioned
import_chain: 0.8 # Imported by target
type_dependency: 0.7 # Type used
test_coverage: 0.6 # Tests target
same_module: 0.5 # Same directory
doc_reference: 0.4 # Documentation
historical: 0.3 # Past experience
routing_context:
path_a: level 0-1 only
path_b: level 0-2
path_c: full iterative
subagent_protocol:
initial: level 0-1
on_request: level 2
escalate_to_main: level 3
verification_context:
initial: test file + target
on_failure: add related modules
on_complex_failure: full context
❌ Don't: Load entire codebase upfront ✅ Do: Start with target file only
❌ Don't: Include all tests ✅ Do: Load tests when verification fails
❌ Don't: Pass full history to subagent ✅ Do: Pass task-relevant summary
❌ Don't: Keep irrelevant context ✅ Do: Prune after task completion
Track retrieval efficiency:
session_metrics:
initial_context_tokens: 2000
final_context_tokens: 8000
retrieval_requests: 5
cache_hits: 3
relevance_score_avg: 0.82
会话状态管理,保证工作流跨会话持久化
This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plu...
指令生命周期管理,钩子函数,中断恢复,持续学习
Instinct-based learning system with confidence scoring. Automatically learns patterns from sessions and evolves them into skills. Supports import/export for team sharing.
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreads...
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs...
错误学习系统,从Bug和错误中学习并记忆
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).
Git工作流规范,分支策略和提交规范
Gemini AI执行引擎,备选技能(未来扩展)
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary)...
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience