用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/htlin222/dotfiles --skill retro命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
依 ticket/issue 產出初版實作 — 解析需求、從最新 develop 切出符合命名規範的分支、寫出實作、跑既有測試與 lint、conventional commit,然後交棒給 /simplify。Use when the user types /develop, or asks to start implementing a ticket, issue, or feature request end-to-end from requirement to first commit.
Put a website behind a Cloudflare Access (Zero Trust) login gate, or remove one, entirely from the CLI — no dashboard GUI. Use when the user wants to password/email-protect a hostname, gate a Cloudflare Pages or Workers site, restrict a site to specific emails, set up Zero Trust Access, or asks about "cf-gate". Manages Access applications and allow-email policies via the Cloudflare API using a token in the skill's .env. Note: wrangler does NOT manage Access — this uses the Cloudflare REST API directly.
Curate a GitHub repository's wiki (the separate repo.wiki.git) into a coherent, tightly written set of pages: Home, Introduction (project + features), Roadmap, Gotchas/Lessons, Tech Debt, and an Architecture page taught through the book *Head First Software Architecture* — with mermaid diagrams, in the repo's own language and style, then commit and push. Use when the user wants to create, update, curate, or document a GitHub repo's wiki; write or refresh wiki pages; add an architecture / design page to a wiki; enable a wiki; or asks for "/wiki-git". Handles both first-time wikis and updates to existing ones, and can fan out across many repos.
基于 SOC 职业分类
正在显示 SKILL.md
| name | retro |
| description | Session retrospective report. Use when reviewing or summarizing a work session. |
Generate a structured retrospective report for the current Claude Code session.
Extract only human-readable content. This means:
A companion Python script handles robust extraction from session JSONL files:
# Extract transcript from the current project's latest session
python3 ~/.dotfiles/claude.symlink/skills/retro/extract_conversation.py --timestamps --stats
# Or target a specific project
python3 ~/.dotfiles/claude.symlink/skills/retro/extract_conversation.py --project-dir /path/to/project --timestamps --stats
# Output as structured JSON (for programmatic use)
python3 ~/.dotfiles/claude.symlink/skills/retro/extract_conversation.py --format json
# List all sessions for a project
python3 ~/.dotfiles/claude.symlink/skills/retro/extract_conversation.py --list-sessions
The script (extract_conversation.py in this skill's directory) parses Claude Code JSONL logs and:
type: "text" blocks)tool_use, tool_result, thinking blocks, <system-reminder> tags, progress events, and file-history snapshotsmarkdown, json, and plain output formatsUse the following structure for the report. Write in Markdown with bullet points. The format adapts IMRaD (Introduction, Methods, Results, and Discussion) for session retrospectives.
# Session Review — [Date] — [Brief Topic/Goal]
## Introduction (What & Why)
- **Goal**: What was the user trying to accomplish this session?
- **Context**: Any relevant background (project name, stage of work, blockers)
## Methods (How We Worked)
- **Approach**: High-level steps taken to reach the goal
- **Tools/Technologies**: Key tools, libraries, languages involved
- **Workflow Pattern**: How the conversation flowed (linear, iterative, exploratory, debugging loop, etc.)
## Results (What We Accomplished)
- **Completed**:
- [item 1]
- [item 2]
- ...
- **Partially Completed**:
- [item — what remains]
- **Not Started / Deferred**:
- [item — reason]
## Discussion
### Efficiency Review
Where the user could have been more efficient with prompts or workflow:
- **[Issue]**: [What happened] → **Suggestion**: [Better approach]
- ...
### English Corrections
Grammar, word choice, or phrasing improvements from the user's messages:
- ❌ `[original text]` → ✅ `[corrected text]` — [brief explanation]
- ...
(If no corrections needed, write: "No corrections — messages were clear and well-written.")
### Concepts to Study Deeper
Topics that came up where deeper understanding would help:
- **[Concept]**: [Why it matters / what to explore]
- ...
Suggested additions or changes to the project's CLAUDE.md based on friction points observed in this session:
: — [reason: what friction it would prevent]
: → — [reason]
...
Run the extraction script. Execute the companion script to get a clean transcript:
python3 ~/.dotfiles/claude.symlink/skills/retro/extract_conversation.py --timestamps --stats
This produces a markdown transcript with only user prompts and assistant prose — no tool noise. If the script fails or no session file is found, fall back to manually scanning the conversation history and mentally filtering out tool calls/results.
Review the extracted transcript. Read through the clean output from start to finish. Focus on:
Identify the session goal. Infer from the first few user messages what the overarching objective was.
Catalog accomplishments. List concrete outputs: files created, bugs fixed, features implemented, decisions made.
Analyze efficiency. Look for patterns like:
Correct English. Review every user message for:
Identify learning opportunities. Note concepts where the user:
Suggest CLAUDE.md improvements. Look for:
Write the report using the template above. Keep bullet points concise but informative. Use code formatting for file names, commands, and code references.