重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
create-meta-prompts by glittercowboy/taches-cc-resources
npx skills add https://github.com/glittercowboy/taches-cc-resources --skill create-meta-prompts包含 Shell 命令
此技能包含可能执行系统命令的 shell 命令指令(!command``)。安装前请仔细审查。
每次执行都会生成一个 SUMMARY.md 文件,以便快速人工浏览而无需阅读完整输出。
每个提示词在 .prompts/ 下都有其自己的文件夹,包含其输出产物,从而实现清晰的来源追溯和链式检测。
<quick_start>
.prompts/{number}-{topic}-{purpose}/ 中创建文件夹<folder_structure>
.prompts/
├── 001-auth-research/
│ ├── completed/
│ │ └── 001-auth-research.md # 提示词(运行后归档)
│ ├── auth-research.md # 完整输出(供 Claude 使用的 XML)
│ └── SUMMARY.md # 执行摘要(供人类阅读的 markdown)
├── 002-auth-plan/
│ ├── completed/
│ │ └── 002-auth-plan.md
│ ├── auth-plan.md
│ └── SUMMARY.md
├── 003-auth-implement/
│ ├── completed/
│ │ └── 003-auth-implement.md
│ └── SUMMARY.md # 执行类提示词在其他地方创建代码
├── 004-auth-research-refine/
│ ├── completed/
│ │ └── 004-auth-research-refine.md
│ ├── archive/
│ │ └── auth-research-v1.md # 先前版本
│ └── SUMMARY.md
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
</folder_structure> </quick_start>
<automated_workflow>
<step_0_intake_gate>
<critical_first_action> 在分析任何内容之前,检查是否提供了上下文。
如果未提供上下文(技能调用时没有描述):→ 立即使用 AskUserQuestion,包含:
选择后,询问:"Describe what you want to accomplish"(他们选择"Other"以提供自由文本)。
如果提供了上下文:→ 检查是否可以从关键词推断目的:
implement, build, create, fix, add, refactor → Doplan, roadmap, approach, strategy, decide, phases → Planresearch, understand, learn, gather, analyze, explore → Researchrefine, improve, deepen, expand, iterate, update → Refine→ 如果不明确,将上述目的问题作为第一个上下文问题询问 → 如果明确,则使用推断的目的继续执行 adaptive_analysis </critical_first_action>
<adaptive_analysis> 提取和推断:
auth, stripe-payments)如果主题标识符不明显,则询问:
对于 Refine 目的,还需从 .prompts/*/ 中识别要改进的目标输出。 </adaptive_analysis>
<chain_detection> 扫描 .prompts/*/ 查找现有的 *-research.md 和 *-plan.md 文件。
如果找到:
尽可能按主题关键词匹配(例如,"auth plan" → 建议 auth-research.md)。 </chain_detection>
<contextual_questioning> 根据目的和缺失信息,使用 AskUserQuestion 生成 2-4 个问题。
从以下位置加载问题:references/question-bank.md
按目的路由:
<decision_gate> 收到答案后,使用 AskUserQuestion 呈现决策门:
循环直到选择"Proceed"。 </decision_gate>
"Creating a {purpose} prompt for: {topic} Folder: .prompts/{number}-{topic}-{purpose}/ References: {list any chained files}"
然后继续执行生成步骤。 </step_0_intake_gate>
<step_1_generate>
加载特定目的的模式:
<prompt_structure> 所有生成的提示词都包含:
对于研究和计划提示词,输出必须包含:
<confidence> - 对研究结果的信心程度<dependencies> - 继续推进需要什么<open_questions> - 哪些问题仍然不确定<assumptions> - 假设了什么所有提示词必须创建包含以下内容的 SUMMARY.md:
<file_creation>
.prompts/{number}-{topic}-{purpose}/completed/ 子文件夹.prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md.prompts/{number}-{topic}-{purpose}/{topic}-{purpose}.md </file_creation> </step_1_generate><step_2_present>
保存提示词后,以内联方式呈现(非 AskUserQuestion):
<single_prompt_presentation>
Prompt created: .prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md
What's next?
1. Run prompt now
2. Review/edit prompt first
3. Save for later
4. Other
Choose (1-4): _
</single_prompt_presentation>
<multi_prompt_presentation>
Prompts created:
- .prompts/001-auth-research/001-auth-research.md
- .prompts/002-auth-plan/002-auth-plan.md
- .prompts/003-auth-implement/003-auth-implement.md
Detected execution order: Sequential (002 references 001 output, 003 references 002 output)
What's next?
1. Run all prompts (sequential)
2. Review/edit prompts first
3. Save for later
4. Other
Choose (1-4): _
</multi_prompt_presentation> </step_2_present>
<step_3_execute>
<execution_modes> <single_prompt> 直接执行单个提示词。
.prompts/{number}-{topic}-{purpose}/{topic}-{purpose}.mdcompleted/ 子文件夹<sequential_execution> 用于每个提示词依赖于前一个输出的链式提示词。
<progress_reporting> 执行期间显示进度:
Executing 1/3: 001-auth-research... ✓
Executing 2/3: 002-auth-plan... ✓
Executing 3/3: 003-auth-implement... (running)
</progress_reporting> </sequential_execution>
<parallel_execution> 用于没有依赖关系的独立提示词。
<failure_handling> 与顺序执行不同,并行执行即使部分失败也会继续:
<mixed_dependencies> 用于复杂的 DAG(例如,两个并行研究 → 一个计划)。
<dependency_detection> <automatic_detection> 扫描提示词内容中的 @ 引用以确定依赖关系:
@.prompts/{number}-{topic}/ 模式<inference_rules> 如果未找到显式的 @ 引用,则根据目的推断:
存在显式引用时,优先使用显式引用。 </inference_rules> </automatic_detection>
<missing_dependencies> 如果提示词引用了不存在的输出:
.prompts/*/ 中(已完成)<output_validation> 每次执行后验证输出:
<confidence>
* <dependencies>
* <open_questions>
* <assumptions><validation_failure> 如果验证失败:
<failure_handling> <sequential_failure> 立即停止链:
✗ Failed at 2/3: 002-auth-plan
Completed:
- 001-auth-research ✓ (archived)
Failed:
- 002-auth-plan: Output file not created
Not started:
- 003-auth-implement
What's next?
1. Retry 002-auth-plan
2. View error details
3. Stop here (keep completed work)
4. Other
</sequential_failure>
<parallel_failure> 继续其他任务,报告所有结果:
Parallel execution completed with errors:
✓ 001-api-research (archived)
✗ 002-db-research: Validation failed - missing <confidence> tag
✓ 003-ui-research (archived)
What's next?
1. Retry failed prompt (002)
2. View error details
3. Continue without 002
4. Other
</parallel_failure> </failure_handling>
<archive_operation> 将提示词文件移动到 completed 子文件夹:
mv .prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md \
.prompts/{number}-{topic}-{purpose}/completed/
输出文件保留在原位(不移动)。 </archive_operation>
<result_presentation> <single_result>
✓ Executed: 001-auth-research
✓ Created: .prompts/001-auth-research/SUMMARY.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Auth Research Summary
**JWT with jose library and httpOnly cookies recommended**
## Key Findings
• jose outperforms jsonwebtoken with better TypeScript support
• httpOnly cookies required (localStorage is XSS vulnerable)
• Refresh rotation is OWASP standard
## Decisions Needed
None - ready for planning
## Blockers
None
## Next Step
Create auth-plan.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What's next?
1. Create planning prompt (auth-plan)
2. View full research output
3. Done
4. Other
内联显示实际的 SUMMARY.md 内容,以便用户无需打开文件即可查看发现。 </single_result>
<chain_result>
✓ Chain completed: auth workflow
Results:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
001-auth-research
**JWT with jose library and httpOnly cookies recommended**
Decisions: None • Blockers: None
002-auth-plan
**4-phase implementation: types → JWT core → refresh → tests**
Decisions: Approve 15-min token expiry • Blockers: None
003-auth-implement
**JWT middleware complete with 6 files created**
Decisions: Review before Phase 2 • Blockers: None
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All prompts archived. Full summaries in .prompts/*/SUMMARY.md
What's next?
1. Review implementation
2. Run tests
3. Create new prompt chain
4. Other
对于链式执行,显示每个 SUMMARY.md 的浓缩一句话摘要,并标记决策/阻碍。 </chain_result> </result_presentation>
<special_cases> <re_running_completed> 如果用户想要重新运行已完成的提示词:
completed/ 子文件夹中{output}.bak<output_conflicts> 如果输出文件已存在:
{filename}.bak<commit_handling> 成功执行后:
例外:如果用户明确请求提交,则暂存并提交:
<recursive_prompts> 如果提示词的输出包含创建更多提示词的说明:
</automated_workflow>
<reference_guides> 按目的划分的提示词模式:
共享模板:
支持性参考资料:
<success_criteria> 提示词创建:
.prompts/ 中创建了具有正确命名的文件夹执行(如果用户选择运行):
completed/ 子文件夹研究质量(针对研究提示词):
每周安装次数
69
代码仓库
GitHub 星标数
1.7K
首次出现
2026年1月23日
安全审计
安装于
claude-code59
opencode57
codex56
gemini-cli55
github-copilot53
cursor49
Contains Shell Commands
This skill contains shell command directives (!command``) that may execute system commands. Review carefully before installing.
Every execution produces a SUMMARY.md for quick human scanning without reading full outputs.
Each prompt gets its own folder in .prompts/ with its output artifacts, enabling clear provenance and chain detection.
<quick_start>
.prompts/{number}-{topic}-{purpose}/<folder_structure>
.prompts/
├── 001-auth-research/
│ ├── completed/
│ │ └── 001-auth-research.md # Prompt (archived after run)
│ ├── auth-research.md # Full output (XML for Claude)
│ └── SUMMARY.md # Executive summary (markdown for human)
├── 002-auth-plan/
│ ├── completed/
│ │ └── 002-auth-plan.md
│ ├── auth-plan.md
│ └── SUMMARY.md
├── 003-auth-implement/
│ ├── completed/
│ │ └── 003-auth-implement.md
│ └── SUMMARY.md # Do prompts create code elsewhere
├── 004-auth-research-refine/
│ ├── completed/
│ │ └── 004-auth-research-refine.md
│ ├── archive/
│ │ └── auth-research-v1.md # Previous version
│ └── SUMMARY.md
</folder_structure> </quick_start>
<automated_workflow>
<step_0_intake_gate>
<critical_first_action> BEFORE analyzing anything , check if context was provided.
IF no context provided (skill invoked without description): → IMMEDIATELY use AskUserQuestion with:
After selection, ask: "Describe what you want to accomplish" (they select "Other" to provide free text).
IF context was provided: → Check if purpose is inferable from keywords:
implement, build, create, fix, add, refactor → Doplan, roadmap, approach, strategy, decide, phases → Plan→ If unclear, ask the Purpose question above as first contextual question → If clear, proceed to adaptive_analysis with inferred purpose </critical_first_action>
<adaptive_analysis> Extract and infer:
auth, stripe-payments)If topic identifier not obvious, ask:
For Refine purpose, also identify target output from .prompts/*/ to improve. </adaptive_analysis>
<chain_detection> Scan .prompts/*/ for existing *-research.md and *-plan.md files.
If found:
Match by topic keyword when possible (e.g., "auth plan" → suggest auth-research.md). </chain_detection>
<contextual_questioning> Generate 2-4 questions using AskUserQuestion based on purpose and gaps.
Load questions from: references/question-bank.md
Route by purpose:
<decision_gate> After receiving answers, present decision gate using AskUserQuestion:
Loop until "Proceed" selected. </decision_gate>
"Creating a {purpose} prompt for: {topic} Folder: .prompts/{number}-{topic}-{purpose}/ References: {list any chained files}"
Then proceed to generation. </step_0_intake_gate>
<step_1_generate>
Load purpose-specific patterns:
Load intelligence rules: references/intelligence-rules.md
<prompt_structure> All generated prompts include:
For Research and Plan prompts, output must include:
<confidence> - How confident in findings<dependencies> - What's needed to proceed<open_questions> - What remains uncertain<assumptions> - What was assumedAll prompts must create SUMMARY.md with:
<file_creation>
.prompts/{number}-{topic}-{purpose}/completed/ subfolder.prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md.prompts/{number}-{topic}-{purpose}/{topic}-{purpose}.md </file_creation> </step_1_generate><step_2_present>
After saving prompt(s), present inline (not AskUserQuestion):
<single_prompt_presentation>
Prompt created: .prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md
What's next?
1. Run prompt now
2. Review/edit prompt first
3. Save for later
4. Other
Choose (1-4): _
</single_prompt_presentation>
<multi_prompt_presentation>
Prompts created:
- .prompts/001-auth-research/001-auth-research.md
- .prompts/002-auth-plan/002-auth-plan.md
- .prompts/003-auth-implement/003-auth-implement.md
Detected execution order: Sequential (002 references 001 output, 003 references 002 output)
What's next?
1. Run all prompts (sequential)
2. Review/edit prompts first
3. Save for later
4. Other
Choose (1-4): _
</multi_prompt_presentation> </step_2_present>
<step_3_execute>
<execution_modes> <single_prompt> Straightforward execution of one prompt.
.prompts/{number}-{topic}-{purpose}/{topic}-{purpose}.mdcompleted/ subfolder<sequential_execution> For chained prompts where each depends on previous output.
<progress_reporting> Show progress during execution:
Executing 1/3: 001-auth-research... ✓
Executing 2/3: 002-auth-plan... ✓
Executing 3/3: 003-auth-implement... (running)
</progress_reporting> </sequential_execution>
<parallel_execution> For independent prompts with no dependencies.
<failure_handling> Unlike sequential, parallel continues even if some fail:
<mixed_dependencies> For complex DAGs (e.g., two parallel research → one plan).
<dependency_detection> <automatic_detection> Scan prompt contents for @ references to determine dependencies:
@.prompts/{number}-{topic}/ patterns<inference_rules> If no explicit @ references found, infer from purpose:
Override with explicit references when present. </inference_rules> </automatic_detection>
<missing_dependencies> If a prompt references output that doesn't exist:
Check if it's another prompt in this session (will be created)
Check if it exists in .prompts/*/ (already completed)
If truly missing:
File exists : Check output file was created
Not empty : File has content (> 100 chars)
Metadata present (for research/plan): Check for required XML tags
<confidence><dependencies><open_questions><assumptions>: Check SUMMARY.md was created
<validation_failure> If validation fails:
<failure_handling> <sequential_failure> Stop the chain immediately:
✗ Failed at 2/3: 002-auth-plan
Completed:
- 001-auth-research ✓ (archived)
Failed:
- 002-auth-plan: Output file not created
Not started:
- 003-auth-implement
What's next?
1. Retry 002-auth-plan
2. View error details
3. Stop here (keep completed work)
4. Other
</sequential_failure>
<parallel_failure> Continue others, report all results:
Parallel execution completed with errors:
✓ 001-api-research (archived)
✗ 002-db-research: Validation failed - missing <confidence> tag
✓ 003-ui-research (archived)
What's next?
1. Retry failed prompt (002)
2. View error details
3. Continue without 002
4. Other
</parallel_failure> </failure_handling>
<archive_operation> Move prompt file to completed subfolder:
mv .prompts/{number}-{topic}-{purpose}/{number}-{topic}-{purpose}.md \
.prompts/{number}-{topic}-{purpose}/completed/
Output file stays in place (not moved). </archive_operation>
<result_presentation> <single_result>
✓ Executed: 001-auth-research
✓ Created: .prompts/001-auth-research/SUMMARY.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# Auth Research Summary
**JWT with jose library and httpOnly cookies recommended**
## Key Findings
• jose outperforms jsonwebtoken with better TypeScript support
• httpOnly cookies required (localStorage is XSS vulnerable)
• Refresh rotation is OWASP standard
## Decisions Needed
None - ready for planning
## Blockers
None
## Next Step
Create auth-plan.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What's next?
1. Create planning prompt (auth-plan)
2. View full research output
3. Done
4. Other
Display the actual SUMMARY.md content inline so user sees findings without opening files. </single_result>
<chain_result>
✓ Chain completed: auth workflow
Results:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
001-auth-research
**JWT with jose library and httpOnly cookies recommended**
Decisions: None • Blockers: None
002-auth-plan
**4-phase implementation: types → JWT core → refresh → tests**
Decisions: Approve 15-min token expiry • Blockers: None
003-auth-implement
**JWT middleware complete with 6 files created**
Decisions: Review before Phase 2 • Blockers: None
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All prompts archived. Full summaries in .prompts/*/SUMMARY.md
What's next?
1. Review implementation
2. Run tests
3. Create new prompt chain
4. Other
For chains, show condensed one-liner from each SUMMARY.md with decisions/blockers flagged. </chain_result> </result_presentation>
<special_cases> <re_running_completed> If user wants to re-run an already-completed prompt:
completed/ subfolder{output}.bak<output_conflicts> If output file already exists:
{filename}.bak<commit_handling> After successful execution:
Exception: If user explicitly requests commit, stage and commit:
<recursive_prompts> If a prompt's output includes instructions to create more prompts:
</automated_workflow>
<reference_guides> Prompt patterns by purpose:
Shared templates:
Supporting references:
<success_criteria> Prompt Creation:
.prompts/ with correct namingExecution (if user chooses to run):
completed/ subfolderResearch Quality (for Research prompts):
Weekly Installs
69
Repository
GitHub Stars
1.7K
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code59
opencode57
codex56
gemini-cli55
github-copilot53
cursor49
GitHub Actions 官方文档查询助手 - 精准解答 CI/CD 工作流问题
47,200 周安装
research, understand, learn, gather, analyze, explore → Researchrefine, improve, deepen, expand, iterate, update → RefineSUMMARY.md complete : Has required sections (Key Findings, Decisions Needed, Blockers, Next Step)
One-liner is substantive : Not generic like "Research completed"