[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-rohitg00--pro-workflow":3,"tool-rohitg00--pro-workflow":61},[4,18,26,36,44,53],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",142651,2,"2026-04-06T23:34:12",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":32,"last_commit_at":42,"category_tags":43,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107888,"2026-04-06T11:32:50",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":32,"last_commit_at":50,"category_tags":51,"status":17},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[52,14],"插件",{"id":54,"name":55,"github_repo":56,"description_zh":57,"stars":58,"difficulty_score":10,"last_commit_at":59,"category_tags":60,"status":17},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,"2026-04-06T11:19:32",[35,15,13,14],{"id":62,"github_repo":63,"name":64,"description_en":65,"description_zh":66,"ai_summary_zh":66,"readme_en":67,"readme_zh":68,"quickstart_zh":69,"use_case_zh":70,"hero_image_url":71,"owner_login":72,"owner_name":73,"owner_avatar_url":74,"owner_bio":75,"owner_company":76,"owner_location":77,"owner_email":78,"owner_twitter":79,"owner_website":80,"owner_url":81,"languages":82,"stars":91,"forks":92,"last_commit_at":93,"license":78,"difficulty_score":32,"env_os":94,"env_gpu":95,"env_ram":94,"env_deps":96,"category_tags":104,"github_topics":105,"view_count":32,"oss_zip_url":78,"oss_zip_packed_at":78,"status":17,"created_at":125,"updated_at":126,"faqs":127,"releases":158},4744,"rohitg00\u002Fpro-workflow","pro-workflow","Claude Code learns from your corrections — self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.","pro-workflow 是一款专为提升 AI 编程效率设计的开源增强工具，主要服务于使用 Claude Code、Cursor 等智能编码助手的开发者。它核心解决了 AI 在长期协作中“记不住教训”的痛点：以往用户需要反复纠正相同的错误（如测试规范、项目约定），而 pro-workflow 通过内置的 SQLite 数据库持久化存储用户的每一次修正。随着使用次数增加（超过 50 次会话），这些修正会转化为自动加载的规则，让 AI 越用越聪明，最终实现几乎无需重复纠错的流畅体验。\n\n该工具不仅具备自我进化的记忆机制，还拥有多项独特技术亮点。它支持上下文工程、并行工作树和多智能体团队协作，内置了 24 种实战技能和 8 类代理角色。最新版本更引入了\"LLM  gates\"功能，可利用 AI 自动验证提交内容并检测敏感信息，同时提供成本追踪、权限调优及 MCP 审计等高级特性，帮助团队在复杂项目中保持代码质量与控制力。无论是独立开发者还是追求高效工作流的技术团队，pro-workflow 都能将原本碎片化的交互转化为持续积累的智能资产，显著降低重复沟通成本。","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.svg\" alt=\"Pro Workflow\" width=\"100%\"\u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fpro-workflow?style=for-the-badge&logo=github&color=D97757&labelColor=1e1e2e\" alt=\"Stars\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpro-workflow\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fpro-workflow?style=for-the-badge&logo=npm&color=E8926F&labelColor=1e1e2e\" alt=\"npm\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-22c55e?style=for-the-badge&labelColor=1e1e2e\" alt=\"License\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fagenstskills.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSkillKit-32%2B%20agents-f59e0b?style=for-the-badge&labelColor=1e1e2e\" alt=\"SkillKit\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Frohitg00-pro-workflow.mintlify.app\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-Mintlify-0D9373?style=for-the-badge&logo=mintlify&labelColor=1e1e2e\" alt=\"Docs\"\u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch3 align=\"center\">Your Claude Code gets smarter every session.\u003C\u002Fh3>\n\n\u003Cp align=\"center\">\n  Self-correcting memory that compounds over 50+ sessions. You correct Claude once &mdash; it never makes the same mistake again.\u003Cbr\u002F>\n  \u003Cb>24 skills\u003C\u002Fb> &bull; \u003Cb>8 agents\u003C\u002Fb> &bull; \u003Cb>21 commands\u003C\u002Fb> &bull; \u003Cb>29 hook scripts across 24 events\u003C\u002Fb>\u003Cbr\u002F>\n  Works with \u003Cb>Claude Code\u003C\u002Fb>, \u003Cb>Cursor\u003C\u002Fb>, and \u003Cb>32+ agents\u003C\u002Fb> via SkillKit.\n\u003C\u002Fp>\n\n---\n\n## The Problem\n\nYou correct Claude the same way 50 times. You tell it \"don't mock the database\" on Monday and again on Friday. You explain your project conventions every new session. Context compacts, learnings vanish, mistakes repeat.\n\n**Every Claude Code user hits this wall.**\n\n## The Solution\n\nPro Workflow captures every correction in a persistent SQLite database with full-text search. Corrections compound into rules. Rules load automatically on session start. After 50 sessions, Claude barely needs correcting.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fself-correction-demo.svg\" alt=\"Self-Correction Loop\" width=\"700\"\u002F>\n\u003C\u002Fp>\n\n```\nSession 1:  You → \"Don't mock the database in tests\"\n            Claude → Proposes rule → You approve → Saved to SQLite\n\nSession 2:  SessionStart hook loads all learnings\n            Claude → Writes integration tests (no mocks)\n            You → Zero corrections needed\n\nSession 50: Claude knows your conventions, style, and preferences\n            Correction rate: near zero\n```\n\n## Install (30 seconds)\n\n```bash\n\u002Fplugin marketplace add rohitg00\u002Fpro-workflow\n\u002Fplugin install pro-workflow@pro-workflow\n```\n\n\u003Cdetails>\n\u003Csummary>Other install methods\u003C\u002Fsummary>\n\n```bash\n# Cursor\n\u002Fadd-plugin pro-workflow\n\n# Any agent via SkillKit\nnpx skillkit install pro-workflow\n\n# Manual\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow.git \u002Ftmp\u002Fpw\ncp -r \u002Ftmp\u002Fpw\u002Ftemplates\u002Fsplit-claude-md\u002F* .\u002F.claude\u002F\n\n# Build with SQLite support\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow && npm install && npm run build\n```\n\n\u003C\u002Fdetails>\n\n---\n\n## What's New in v3.2\n\n- **LLM Gates** &mdash; First plugin with `type: \"prompt\"` hooks for AI-powered commit validation and secret detection\n- **Permission Tuner** &mdash; Analyzes denial patterns, generates optimized allow\u002Fdeny rules\n- **Compact Guard** &mdash; Protects context through compaction (5-file restore limit, 50K budget)\n- **Cost Tracker** &mdash; Session cost awareness with budget benchmarks\n- **MCP Audit** &mdash; Analyzes MCP server token overhead per request\n- **Auto Setup** &mdash; Detects project type, configures quality gates automatically\n- **File Watcher** &mdash; Reactive workflows with `CLAUDE_ENV_FILE` injection\n- **Agent Optimization** &mdash; `omitClaudeMd` on read-only agents saves tokens\n- **6 New Hook Events** &mdash; PermissionDenied, Setup, WorktreeCreate, WorktreeRemove, CwdChanged, TaskCreated\n\n---\n\n## How Pro Workflow Compares\n\n| Feature | Pro Workflow | [Superpowers](https:\u002F\u002Fgithub.com\u002Fobra\u002Fsuperpowers) | [ECC](https:\u002F\u002Fgithub.com\u002Faffaan-m\u002Feverything-claude-code) | [gstack](https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgstack) | [GSD](https:\u002F\u002Fgithub.com\u002Fgsd-build\u002Fget-shit-done) |\n|---------|:-----------:|:-----------:|:---:|:------:|:---:|\n| Self-correcting memory (SQLite + FTS5) | **Yes** | No | No | No | No |\n| LLM-powered hooks (`type: \"prompt\"`) | **Yes** | No | No | No | No |\n| Permission denial analysis | **Yes** | No | No | No | No |\n| Compaction-aware state preservation | **Yes** | No | No | No | No |\n| Cost tracking and budget alerts | **Yes** | No | No | No | No |\n| MCP overhead auditing | **Yes** | No | No | No | No |\n| Cross-agent (32+ agents via SkillKit) | **Yes** | No | Some | No | No |\n| Skills | 24 | 14 | 140+ | 18+ | 0 |\n| Agents | 8 | 5 | 36 | 0 | 18 |\n| Commands | 21 | 3 | 60+ | 5+ | 57 |\n| Hook Events | 24 | 8 | 18 | 0 | 0 |\n\n---\n\n## Try It\n\n```bash\n\u002Fdevelop add user authentication     # Multi-phase: Research > Plan > Implement > Review\n\u002Fwrap-up                             # End session, capture learnings, audit changes\n\u002Fdoctor                              # Check your setup health\n\u002Flearn-rule                          # Extract a correction into persistent memory\n\u002Fcommit                              # Quality gates > staged review > conventional commit\n\u002Fpermission-tuner                    # Analyze denials, generate allow\u002Fdeny rules\n\u002Fcost-tracker                        # Check session costs and token spend\n\u002Fmcp-audit                           # Audit MCP servers for overhead\n```\n\n---\n\n## What's Inside\n\n### 24 Skills\n\n| Skill | What It Does |\n|:------|:------------|\n| **Self-Correction Loop** | Claude learns from your corrections automatically |\n| **Context Engineering** | Write\u002FSelect\u002FCompress\u002FIsolate framework for token management |\n| **Agent Teams** | Multi-instance coordination with shared task list and messaging |\n| **Batch Orchestration** | `\u002Fbatch` pattern for parallel worktree agents |\n| **Parallel Worktrees** | Zero dead time with native `claude -w` worktrees |\n| **Smart Commit** | Quality gates, staged review, and conventional commits |\n| **Wrap-Up Ritual** | End sessions with intention, capture learnings |\n| **Context Optimizer** | Token management, context budget, MCP audit |\n| **Deslop** | Remove AI-generated code slop and clean up style |\n| **Orchestrate** | Wire Commands, Agents, and Skills for multi-phase development |\n| **Session Handoff** | Generate handoff documents for session continuity |\n| **Replay Learnings** | Surface past learnings relevant to the current task |\n| **Insights** | Session analytics, correction trends, productivity metrics |\n| **Safe Mode** | Guardrails for destructive operations |\n| **Sprint Status** | Track progress across sessions |\n| **Thoroughness Scoring** | Rate completeness of implementations |\n| **Learn Rule** | Capture corrections as persistent learning rules |\n| **LLM Gate** | AI-powered quality gates using `type: \"prompt\"` hooks |\n| **Permission Tuner** | Analyze denial patterns, generate allow\u002Fdeny rules |\n| **Compact Guard** | State preservation through compaction cycles |\n| **Cost Tracker** | Session cost awareness with budget benchmarks |\n| **MCP Audit** | Audit MCP servers for token overhead and redundancy |\n| **Auto Setup** | Detect project type, configure quality gates automatically |\n| **File Watcher** | Reactive workflows on config and dependency changes |\n\n### 8 Agents\n\n| Agent | Purpose |\n|-------|---------|\n| **planner** | Break down complex tasks (read-only, approval-gated) |\n| **reviewer** | Code review and security audit (checklist-based) |\n| **scout** | Confidence-gated exploration (background, worktree-isolated) |\n| **orchestrator** | Multi-phase feature development (Research > Plan > Implement > Review) |\n| **debugger** | Systematic bug investigation (hypothesis-driven) |\n| **context-engineer** | Context window analysis and optimization (lightweight, read-only) |\n| **permission-analyst** | Analyze permission denial patterns, recommend rule optimizations |\n| **cost-analyst** | Analyze token usage patterns, identify expensive operations |\n\n### 21 Commands\n\n| Command | What It Does |\n|---------|-------------|\n| `\u002Fdevelop` | Multi-phase feature build with validation gates |\n| `\u002Fcommit` | Smart commit with quality gates |\n| `\u002Fwrap-up` | End-of-session checklist and learning capture |\n| `\u002Flearn-rule` | Extract correction to persistent memory |\n| `\u002Fdoctor` | Health check for setup and configuration |\n| `\u002Finsights` | Session analytics and correction heatmap |\n| `\u002Freplay` | Surface past learnings for current task |\n| `\u002Fhandoff` | Generate session handoff document |\n| `\u002Fsearch` | Search learnings by keyword |\n| `\u002Flist` | List all stored learnings |\n| `\u002Fdeslop` | Remove AI-generated code slop from diff |\n| `\u002Fcontext-optimizer` | Audit and optimize context window usage |\n| `\u002Fparallel` | Set up git worktrees for parallel sessions |\n| `\u002Flearn` | Interactive Claude Code best practices guide |\n| `\u002Fsafe-mode` | Toggle destructive operation guardrails |\n| `\u002Fsprint-status` | Track multi-session progress |\n| `\u002Fauto-setup` | Auto-detect project type and configure quality gates |\n| `\u002Fcompact-guard` | Protected compaction with state preservation |\n| `\u002Fcost-tracker` | Track session costs and optimization tips |\n| `\u002Fmcp-audit` | Audit MCP servers for token overhead |\n| `\u002Fpermission-tuner` | Analyze denial patterns, generate allow\u002Fdeny rules |\n\n### 29 Hook Scripts (24 Events)\n\n| Hook Event | Scripts | What |\n|------------|:-------:|------|\n| SessionStart | 1 | Load learnings from database |\n| SessionEnd | 1 | Save session stats to database |\n| UserPromptSubmit | 2 | Correction tracking, drift detection |\n| PreToolUse (Edit\u002FWrite) | 1 | Track edit count, quality gate reminders |\n| PreToolUse (Bash) | 3 | Pre-commit check, LLM commit validation, pre-push check |\n| PreToolUse (Write) | 1 | LLM-powered secret detection |\n| PostToolUse (Edit) | 1 | Check for console.log, TODOs, secrets |\n| PostToolUse (Bash) | 1 | Suggest learning from test failures |\n| Stop | 2 | Context-aware reminders, auto-capture [LEARN] blocks |\n| PreCompact | 1 | Save context state before compaction |\n| PostCompact | 1 | Re-inject critical context summary |\n| SubagentStart | 1 | Log subagent lifecycle for observability |\n| SubagentStop | 1 | Log subagent completion and capture results |\n| TaskCompleted | 1 | Quality gate on completion |\n| TaskCreated | 1 | Validate task descriptions for tracking |\n| PermissionRequest | 1 | Flag dangerous operations |\n| PermissionDenied | 1 | Track denial patterns for optimization |\n| PostToolUseFailure | 1 | Track failures, suggest learnings |\n| TeammateIdle | 1 | Detect blockers in agent teams |\n| StopFailure | 1 | Log errors with retry advice |\n| FileChanged | 1 | Watch package.json, .env, CI configs |\n| ConfigChange | 1 | Detect mid-session settings changes |\n| Notification | 1 | Log permission requests |\n| Setup | 1 | Auto-detect project type on init |\n| WorktreeCreate | 1 | Log worktree creation for parallel tracking |\n| WorktreeRemove | 1 | Cleanup worktree tracking on removal |\n| CwdChanged | 1 | Detect project type on directory change |\n\n### 10 Reference Guides\n\n| Guide | What's Covered |\n|-------|---------------|\n| [`settings-guide.md`](docs\u002Fsettings-guide.md) | All settings keys, permission modes, hierarchy |\n| [`cli-cheatsheet.md`](docs\u002Fcli-cheatsheet.md) | Every CLI flag, keyboard shortcut, slash command |\n| [`orchestration-patterns.md`](docs\u002Forchestration-patterns.md) | Command > Agent > Skill architecture, agent teams |\n| [`context-engineering.md`](docs\u002Fcontext-engineering.md) | Write\u002FSelect\u002FCompress\u002FIsolate, memory taxonomy, compaction |\n| [`agent-teams.md`](docs\u002Fagent-teams.md) | Setup, task decomposition, teams vs sub-agents |\n| [`context-loading.md`](docs\u002Fcontext-loading.md) | CLAUDE.md loading, agent memory, skills discovery |\n| [`cross-agent-workflows.md`](docs\u002Fcross-agent-workflows.md) | Claude Code + Cursor together, SkillKit translation |\n| [`new-features.md`](docs\u002Fnew-features.md) | Voice, agent teams, checkpointing, remote control |\n| [`daily-habits.md`](docs\u002Fdaily-habits.md) | Session habits, debugging tips, anti-patterns |\n| [`core-rules.md`](rules\u002Fcore-rules.md) | Quality gates, atomic commits, context discipline |\n\n---\n\n## How It Works\n\nPro Workflow optimizes for the 80\u002F20 ratio. Every correction becomes a rule. Every rule prevents future mistakes. The loop compounds.\n\n### The `\u002Fdevelop` Flow\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fworkflow-flow.svg\" alt=\"Development Flow\" width=\"900\"\u002F>\n\u003C\u002Fp>\n\nMulti-phase development with validation gates: Research before planning. Plan before implementing. Review before committing.\n\n### Architecture\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Farchitecture.svg\" alt=\"Architecture Diagram\" width=\"900\"\u002F>\n\u003C\u002Fp>\n\n### Database\n\nLearnings stored in SQLite with FTS5 full-text search:\n\n```bash\n\u002Fsearch testing           # Find all testing-related learnings\n\u002Fsearch \"file paths\"      # Exact phrase search\n\u002Flist                     # Show all stored learnings\n```\n\n---\n\n## Core Patterns\n\n| Pattern | What It Does |\n|---------|--------------|\n| **Self-Correction Loop** | Claude learns from your corrections automatically |\n| **Parallel Worktrees** | Zero dead time with native `claude -w` worktrees |\n| **Wrap-Up Ritual** | End sessions with intention, capture learnings |\n| **Split Memory** | Modular CLAUDE.md for complex projects |\n| **80\u002F20 Review** | Batch reviews at checkpoints |\n| **Context Engineering** | Write\u002FSelect\u002FCompress\u002FIsolate for token management |\n| **Agent Teams** | Multi-instance coordination with shared task list |\n| **Batch Orchestration** | Parallel worktree agents for large-scale changes |\n| **Multi-Phase Dev** | Research > Plan > Implement > Review with gates |\n| **Learning Log** | Auto-document insights |\n| **Orchestration** | Command > Agent > Skill wiring for complex features |\n| **LLM Gates** | AI-powered verification before destructive operations |\n| **Permission Tuning** | Reduce prompt fatigue with denial pattern analysis |\n\n---\n\n## Cross-Agent Support\n\nWorks across 32+ AI coding agents via [SkillKit](https:\u002F\u002Fagenstskills.com):\n\n```bash\nnpx skillkit install pro-workflow\nnpx skillkit translate pro-workflow --agent cursor\nnpx skillkit translate pro-workflow --agent codex\nnpx skillkit translate pro-workflow --agent gemini-cli\n```\n\nSupported: Claude Code, Cursor, Codex CLI, Gemini CLI, Windsurf, OpenCode, Kiro, Amp, Goose, Roo, and [27 more](https:\u002F\u002Fagenstskills.com).\n\n---\n\n## Configuration\n\n### Settings\n\nSee [`settings.example.json`](settings.example.json) for production-ready configuration including permission rules, output style, auto-compaction, and custom spinner verbs.\n\n### MCP Config\n\nSee [`mcp-config.example.json`](mcp-config.example.json) for curated server recommendations:\n- **context7** &mdash; Live documentation lookup\n- **playwright** &mdash; Browser automation (most token-efficient)\n- **GitHub** &mdash; PRs, issues, code search\n\nRule: Start with 3 MCPs. Add only for concrete needs.\n\n---\n\n## Structure\n\n```text\npro-workflow\u002F\n├── skills\u002F           # 24 skills\n├── agents\u002F           # 8 agents\n├── commands\u002F         # 21 slash commands\n├── hooks\u002F            # 24 events, 29 scripts\n├── docs\u002F             # 10 reference guides\n├── rules\u002F            # 7 rules (Cursor + universal)\n├── contexts\u002F         # 3 context modes\n├── templates\u002F        # Split CLAUDE.md + AGENTS.md\n├── scripts\u002F          # 29 hook scripts\n├── src\u002F              # TypeScript source (SQLite)\n└── config.json\n```\n\n---\n\n## Tips from the Community\n\n> \"80% of my code is written by AI, 20% is spent reviewing and correcting it.\" &mdash; [Andrej Karpathy](https:\u002F\u002Fx.com\u002Fkarpathy\u002Fstatus\u002F2015883857489522876)\n\n> \"Use subagents to throw more compute at a problem &mdash; offload tasks to keep your main context clean.\" &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742755737555434)\n\n> \"If you do something more than once a day, turn it into a skill or command.\" &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742748984742078)\n\n> \"Write detailed specs and reduce ambiguity before handing work off &mdash; the more specific you are, the better the output.\" &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742752566632544)\n\n> \"Skill description field is a trigger, not a summary &mdash; write it for the model.\" &mdash; [Thariq Shihipar](https:\u002F\u002Fx.com\u002Ftrq212\u002Fstatus\u002F2033949937936085378)\n\n---\n\n## Philosophy\n\n1. **Compound improvements** &mdash; Small corrections lead to big gains over time\n2. **Trust but verify** &mdash; Let AI work, review at checkpoints\n3. **Zero dead time** &mdash; Parallel sessions keep momentum\n4. **Memory is precious** &mdash; Both yours and Claude's\n5. **Orchestrate, don't micromanage** &mdash; Wire patterns together, let agents execute\n\n---\n\n## Related Projects\n\n| Project | Description |\n|---------|-------------|\n| [everything-claude-code](https:\u002F\u002Fgithub.com\u002Faffaan-m\u002Feverything-claude-code) | 140+ skills, 36 agents &mdash; the comprehensive collection |\n| [claude-code-best-practice](https:\u002F\u002Fgithub.com\u002Fshanraisshan\u002Fclaude-code-best-practice) | Curated tips, comparisons, and community best practices |\n| [SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit) | Universal CLI for managing skills across 32+ agents |\n| [awesome-claude-code-toolkit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fawesome-claude-code-toolkit) | 850+ files, 135 agents, 176 plugins &mdash; curated directory |\n\n---\n\n## Star History\n\n\u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#rohitg00\u002Fpro-workflow&Date\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png&theme=dark\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png\" \u002F>\n   \u003Cimg alt=\"Star History Chart\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n---\n\n\u003Cp align=\"center\">\n  \u003Cbr\u002F>\n  \u003Cb>If pro-workflow saves you time, star the repo so others can find it.\u003C\u002Fb>\n  \u003Cbr\u002F>\u003Cbr\u002F>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fpro-workflow?style=for-the-badge&logo=github&color=D97757&labelColor=1e1e2e\" alt=\"Stars\"\u002F>\u003C\u002Fa>\n  \u003Cbr\u002F>\u003Cbr\u002F>\n  \u003Ca href=\"https:\u002F\u002Frohitg00-pro-workflow.mintlify.app\u002F\">Documentation\u003C\u002Fa> &bull;\n  \u003Ca href=\"https:\u002F\u002Fagenstskills.com\">SkillKit Marketplace\u003C\u002Fa> &bull;\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\">Report Issues\u003C\u002Fa> &bull;\n  \u003Ca href=\"docs\u002F\">Reference Guides\u003C\u002Fa>\n\u003C\u002Fp>\n","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.svg\" alt=\"Pro Workflow\" width=\"100%\"\u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fpro-workflow?style=for-the-badge&logo=github&color=D97757&labelColor=1e1e2e\" alt=\"Stars\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpro-workflow\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fpro-workflow?style=for-the-badge&logo=npm&color=E8926F&labelColor=1e1e2e\" alt=\"npm\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-22c55e?style=for-the-badge&labelColor=1e1e2e\" alt=\"License\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fagenstskills.com\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSkillKit-32%2B%20agents-f59e0b?style=for-the-badge&labelColor=1e1e2e\" alt=\"SkillKit\"\u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Frohitg00-pro-workflow.mintlify.app\u002F\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-Mintlify-0D9373?style=for-the-badge&logo=mintlify&labelColor=1e1e2e\" alt=\"Docs\"\u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch3 align=\"center\">你的 Claude Code 每次会话都会变得更聪明。\u003C\u002Fh3>\n\n\u003Cp align=\"center\">\n  自我修正的记忆会在超过 50 次会话中不断累积。你只需纠正一次 Claude，它就不会再犯同样的错误。\u003Cbr\u002F>\n  \u003Cb>24 项技能\u003C\u002Fb> &bull; \u003Cb>8 个代理\u003C\u002Fb> &bull; \u003Cb>21 条命令\u003C\u002Fb> &bull; \u003Cb>29 个钩子脚本覆盖 24 个事件\u003C\u002Fb>\u003Cbr\u002F>\n  可与 \u003Cb>Claude Code\u003C\u002Fb>、\u003Cb>Cursor\u003C\u002Fb> 以及通过 SkillKit 的 \u003Cb>32 多个代理\u003C\u002Fb> 配合使用。\n\u003C\u002Fp>\n\n---\n\n## 问题\n\n你以相同的方式纠正 Claude 50 次。周一告诉它“不要在测试中模拟数据库”，周五又重复一遍。每次新会话都要解释项目规范。上下文被压缩，学习成果消失，错误反复出现。\n\n**每个 Claude Code 用户都会遇到这个瓶颈。**\n\n## 解决方案\n\nPro Workflow 将每一次纠正都记录在一个支持全文检索的持久化 SQLite 数据库中。这些纠正会逐渐转化为规则，规则会在每次会话开始时自动加载。经过 50 次会话后，Claude 几乎不再需要纠正。\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fself-correction-demo.svg\" alt=\"自我修正循环\" width=\"700\"\u002F>\n\u003C\u002Fp>\n\n```\n会话 1： 你 → “不要在测试中模拟数据库”\n            Claude → 提出规则 → 你批准 → 保存到 SQLite\n\n会话 2：  SessionStart 钩子加载所有学习内容\n            Claude → 编写集成测试（不使用模拟）\n            你 → 完全不需要纠正\n\n会话 50： Claude 已经了解你的规范、风格和偏好\n            纠正率：接近零\n```\n\n## 安装（30 秒）\n\n```bash\n\u002Fplugin marketplace add rohitg00\u002Fpro-workflow\n\u002Fplugin install pro-workflow@pro-workflow\n```\n\n\u003Cdetails>\n\u003Csummary>其他安装方法\u003C\u002Fsummary>\n\n```bash\n# Cursor\n\u002Fadd-plugin pro-workflow\n\n# 任何代理通过 SkillKit\nnpx skillkit install pro-workflow\n\n# 手动安装\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow.git \u002Ftmp\u002Fpw\ncp -r \u002Ftmp\u002Fpw\u002Ftemplates\u002Fsplit-claude-md\u002F* .\u002F.claude\u002F\n\n# 构建并支持 SQLite\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow && npm install && npm run build\n```\n\n\u003C\u002Fdetails>\n\n---\n\n## v3.2 新功能\n\n- **LLM 闸门** — 第一个带有 `type: \"prompt\"` 钩子的插件，用于 AI 驱动的提交验证和机密检测\n- **权限调节器** — 分析拒绝模式，生成优化的允许\u002F拒绝规则\n- **紧凑保护器** — 通过压缩保护上下文（5 文件恢复限制，5 万预算）\n- **成本跟踪器** — 会话成本意识及预算基准\n- **MCP 审计** — 分析每次请求的 MCP 服务器令牌开销\n- **自动设置** — 检测项目类型，自动配置质量门\n- **文件监视器** — 基于 `CLAUDE_ENV_FILE` 注入的反应式工作流\n- **代理优化** — 在只读代理上启用 `omitClaudeMd` 以节省令牌\n- **6 个新钩子事件** — PermissionDenied、Setup、WorktreeCreate、WorktreeRemove、CwdChanged、TaskCreated\n\n---\n\n## Pro Workflow 的对比\n\n| 功能 | Pro Workflow | [Superpowers](https:\u002F\u002Fgithub.com\u002Fobra\u002Fsuperpowers) | [ECC](https:\u002F\u002Fgithub.com\u002Faffaan-m\u002Feverything-claude-code) | [gstack](https:\u002F\u002Fgithub.com\u002Fgarrytan\u002Fgstack) | [GSD](https:\u002F\u002Fgithub.com\u002Fgsd-build\u002Fget-shit-done) |\n|---------|:-----------:|:-----------:|:---:|:------:|:---:|\n| 自我修正记忆（SQLite + FTS5） | **是** | 否 | 否 | 否 | 否 |\n| LLM 驱动的钩子 (`type: \"prompt\"`) | **是** | 否 | 否 | 否 | 否 |\n| 权限拒绝分析 | **是** | 否 | 否 | 否 | 否 |\n| 压缩感知的状态保存 | **是** | 否 | 否 | 否 | 否 |\n| 成本跟踪与预算提醒 | **是** | 否 | 否 | 否 | 否 |\n| MCP 开销审计 | **是** | 否 | 否 | 否 | 否 |\n| 跨代理（通过 SkillKit 的 32 多个代理） | **是** | 否 | 部分 | 否 | 否 |\n| 技能 | 24 | 14 | 140+ | 18+ | 0 |\n| 代理 | 8 | 5 | 36 | 0 | 18 |\n| 命令 | 21 | 3 | 60+ | 5+ | 57 |\n| 钩子事件 | 24 | 8 | 18 | 0 | 0 |\n\n---\n\n## 试试看\n\n```bash\n\u002Fdevelop add user authentication     # 多阶段：研究 > 计划 > 实施 > 评估\n\u002Fwrap-up                             # 结束会话，记录学习成果，审核更改\n\u002Fdoctor                              # 检查你的设置健康状况\n\u002Flearn-rule                          # 将一次纠正提取为持久记忆\n\u002Fcommit                              # 质量门 > 阶段性评审 > 符合规范的提交\n\u002Fpermission-tuner                    # 分析拒绝情况，生成允许\u002F拒绝规则\n\u002Fcost-tracker                        # 检查会话成本和令牌消耗\n\u002Fmcp-audit                           # 审计 MCP 服务器的开销\n```\n\n---\n\n## 内容简介\n\n### 24项技能\n\n| 技能 | 功能描述 |\n|:------|:------------|\n| **自我纠正循环** | Claude 能够自动从您的纠正中学习 |\n| **上下文工程** | 编写\u002F选择\u002F压缩\u002F隔离框架，用于令牌管理 |\n| **代理团队** | 多实例协调，共享任务列表和消息传递 |\n| **批处理编排** | 使用 `\u002Fbatch` 模式进行并行工作树代理 |\n| **并行工作树** | 通过原生 `claude -w` 工作树实现零闲置时间 |\n| **智能提交** | 质量门控、分阶段评审和规范性提交 |\n| **总结仪式** | 带着意图结束会话，记录学习成果 |\n| **上下文优化器** | 令牌管理、上下文预算、MCP 审计 |\n| **去冗余** | 移除 AI 生成代码中的冗余部分并清理代码风格 |\n| **编排** | 将命令、代理和技能串联起来，实现多阶段开发 |\n| **会话交接** | 生成交接文档，确保会话连续性 |\n| **重现学习** | 展示与当前任务相关的过往学习内容 |\n| **洞察** | 会话分析、纠正趋势和生产力指标 |\n| **安全模式** | 针对破坏性操作的护栏 |\n| **冲刺状态** | 跟踪跨会话的进度 |\n| **全面性评分** | 评估实现的完整性 |\n| **学习规则** | 将纠正内容保存为持久的学习规则 |\n| **LLM 门控** | 使用 `type: \"prompt\"` 钩子的 AI 驱动质量门控 |\n| **权限调优器** | 分析拒绝模式，生成允许\u002F拒绝规则 |\n| **紧凑守护** | 通过压缩周期保持状态 |\n| **成本跟踪** | 提高会话成本意识，并设定预算基准 |\n| **MCP 审计** | 审计 MCP 服务器的令牌开销和冗余 |\n| **自动设置** | 自动检测项目类型，配置质量门控 |\n| **文件监视器** | 对配置和依赖项变化做出响应的工作流 |\n\n### 8个代理\n\n| 代理 | 目的 |\n|-------|---------|\n| **规划者** | 将复杂任务分解（只读，需审批） |\n| **评审员** | 代码评审和安全审计（基于检查清单） |\n| **侦察员** | 在置信度门控下进行探索（后台运行，隔离于工作树） |\n| **编排者** | 多阶段功能开发（研究 > 计划 > 实施 > 评审） |\n| **调试器** | 系统性的 bug 调查（基于假设驱动） |\n| **上下文工程师** | 上下文窗口分析与优化（轻量级，只读） |\n| **权限分析师** | 分析权限拒绝模式，推荐规则优化 |\n| **成本分析师** | 分析令牌使用模式，识别高成本操作 |\n\n### 21条命令\n\n| 命令 | 功能描述 |\n|---------|-------------|\n| `\u002Fdevelop` | 带有验证门控的多阶段功能构建 |\n| `\u002Fcommit` | 带有质量门控的智能提交 |\n| `\u002Fwrap-up` | 会话结束检查清单及学习记录 |\n| `\u002Flearn-rule` | 将纠正内容提取到持久内存 |\n| `\u002Fdoctor` | 设置与配置的健康检查 |\n| `\u002Finsights` | 会话分析与纠正热力图 |\n| `\u002Freplay` | 展示过往学习内容以辅助当前任务 |\n| `\u002Fhandoff` | 生成会话交接文档 |\n| `\u002Fsearch` | 按关键词搜索学习内容 |\n| `\u002Flist` | 列出所有存储的学习内容 |\n| `\u002Fdeslop` | 从差异中移除 AI 生成的代码冗余 |\n| `\u002Fcontext-optimizer` | 审计并优化上下文窗口使用情况 |\n| `\u002Fparallel` | 设置 Git 工作树以支持并行会话 |\n| `\u002Flearn` | 交互式 Claude Code 最佳实践指南 |\n| `\u002Fsafe-mode` | 切换破坏性操作防护栏 |\n| `\u002Fsprint-status` | 跟踪多会话进度 |\n| `\u002Fauto-setup` | 自动检测项目类型并配置质量门控 |\n| `\u002Fcompact-guard` | 带有状态保存的保护性压缩 |\n| `\u002Fcost-tracker` | 跟踪会话成本及优化建议 |\n| `\u002Fmcp-audit` | 审计 MCP 服务器的令牌开销 |\n| `\u002Fpermission-tuner` | 分析拒绝模式，生成允许\u002F拒绝规则 |\n\n### 29个钩子脚本（24个事件）\n\n| 钩子事件 | 脚本 | 功能 |\n|------------|:-------:|------|\n| 会话开始 | 1 | 从数据库加载学习内容 |\n| 会话结束 | 1 | 将会话统计信息保存到数据库 |\n| 用户提示提交 | 2 | 纠正跟踪、漂移检测 |\n| 工具使用前（编辑\u002F编写） | 1 | 跟踪编辑次数，提醒质量门控 |\n| 工具使用前（Bash） | 3 | 提交前检查、LLM 提交验证、推送前检查 |\n| 工具使用前（编写） | 1 | LLM 驱动的秘密检测 |\n| 工具使用后（编辑） | 1 | 检查 console.log、TODO 和秘密 |\n| 工具使用后（Bash） | 1 | 建议从测试失败中学习 |\n| 停止 | 2 | 上下文感知提醒，自动捕获 [LEARN] 块 |\n| 压缩前 | 1 | 在压缩前保存上下文状态 |\n| 压缩后 | 1 | 重新注入关键上下文摘要 |\n| 子代理启动 | 1 | 记录子代理生命周期以便观察 |\n| 子代理停止 | 1 | 记录子代理完成情况并捕获结果 |\n| 任务完成 | 1 | 完成时的质量门控 |\n| 任务创建 | 1 | 验证任务描述以便跟踪 |\n| 权限请求 | 1 | 标记危险操作 |\n| 权限被拒 | 1 | 跟踪拒绝模式以便优化 |\n| 工具使用失败后 | 1 | 跟踪失败，建议从中学习 |\n| 同事空闲 | 1 | 检测代理团队中的阻碍因素 |\n| 停止失败 | 1 | 记录错误并提供重试建议 |\n| 文件变更 | 1 | 监视 package.json、.env 和 CI 配置文件 |\n| 配置变更 | 1 | 检测会话中途的设置变化 |\n| 通知 | 1 | 记录权限请求 |\n| 设置 | 1 | 初始化时自动检测项目类型 |\n| 工作树创建 | 1 | 记录工作树创建以便并行跟踪 |\n| 工作树移除 | 1 | 清理移除工作树后的跟踪记录 |\n| 当前目录变更 | 1 | 检测目录变化时的项目类型 |\n\n### 10份参考指南\n\n| 指南 | 内容概述 |\n|-------|---------------|\n| [`settings-guide.md`](docs\u002Fsettings-guide.md) | 所有设置键、权限模式及层级关系 |\n| [`cli-cheatsheet.md`](docs\u002Fcli-cheatsheet.md) | 每一个 CLI 标志、键盘快捷键和斜杠命令 |\n| [`orchestration-patterns.md`](docs\u002Forchestration-patterns.md) | 命令 > 代理 > 技能架构，代理团队 |\n| [`context-engineering.md`](docs\u002Fcontext-engineering.md) | 编写\u002F选择\u002F压缩\u002F隔离、内存分类及压缩 |\n| [`agent-teams.md`](docs\u002Fagent-teams.md) | 设置、任务分解、团队与子代理 |\n| [`context-loading.md`](docs\u002Fcontext-loading.md) | CLAUDE.md 加载、代理内存及技能发现 |\n| [`cross-agent-workflows.md`](docs\u002Fcross-agent-workflows.md) | Claude Code + Cursor 协同工作，SkillKit 翻译 |\n| [`new-features.md`](docs\u002Fnew-features.md) | 语音、代理团队、检查点及远程控制 |\n| [`daily-habits.md`](docs\u002Fdaily-habits.md) | 会话习惯、调试技巧及反模式 |\n| [`core-rules.md`](rules\u002Fcore-rules.md) | 质量门控、原子提交及上下文纪律 |\n\n---\n\n## 工作原理\n\nPro Workflow 专注于 80\u002F20 法则。每一次纠正都会成为一条规则，而每一条规则都能避免未来的错误。这一循环不断累积放大。\n\n### `\u002Fdevelop` 流程\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fworkflow-flow.svg\" alt=\"开发流程\" width=\"900\"\u002F>\n\u003C\u002Fp>\n\n带有验证关卡的多阶段开发：先调研再规划，先规划再实现，提交前先评审。\n\n### 架构\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Farchitecture.svg\" alt=\"架构图\" width=\"900\"\u002F>\n\u003C\u002Fp>\n\n### 数据库\n\n学习内容存储在 SQLite 中，并使用 FTS5 全文搜索：\n\n```bash\n\u002Fsearch testing           # 查找所有与测试相关的学习内容\n\u002Fsearch \"file paths\"      # 精确短语搜索\n\u002Flist                     # 显示所有已存储的学习内容\n```\n\n---\n\n## 核心模式\n\n| 模式 | 作用 |\n|---------|--------------|\n| **自我修正循环** | Claude 能够自动从你的修正中学习 |\n| **并行工作树** | 使用原生 `claude -w` 工作树实现零闲置时间 |\n| **收尾仪式** | 带着明确意图结束会话，记录学习成果 |\n| **拆分记忆** | 针对复杂项目采用模块化的 CLAUDE.md |\n| **80\u002F20 审查** | 在关键检查点进行批量审查 |\n| **上下文工程** | 写入\u002F选择\u002F压缩\u002F隔离以管理 token 数量 |\n| **代理团队** | 多实例协作，共享任务列表 |\n| **批量编排** | 并行工作树代理用于大规模变更 |\n| **多阶段开发** | 调研 > 规划 > 实施 > 审查，各环节设有关卡 |\n| **学习日志** | 自动记录洞察 |\n| **编排** | 命令 > 代理 > 技能联动，用于复杂功能 |\n| **LLM 关卡** | 在执行破坏性操作前进行 AI 驱动的验证 |\n| **权限调优** | 通过分析拒绝模式来减少提示疲劳 |\n\n---\n\n## 跨代理支持\n\n可通过 [SkillKit](https:\u002F\u002Fagenstskills.com) 在 32+ 种 AI 编码代理之间协同工作：\n\n```bash\nnpx skillkit install pro-workflow\nnpx skillkit translate pro-workflow --agent cursor\nnpx skillkit translate pro-workflow --agent codex\nnpx skillkit translate pro-workflow --agent gemini-cli\n```\n\n支持的代理包括：Claude Code、Cursor、Codex CLI、Gemini CLI、Windsurf、OpenCode、Kiro、Amp、Goose、Roo，以及 [另外 27 种](https:\u002F\u002Fagenstskills.com)。\n\n---\n\n## 配置\n\n### 设置\n\n请参阅 [`settings.example.json`](settings.example.json)，其中包含适用于生产环境的配置，包括权限规则、输出样式、自动压缩和自定义加载动词。\n\n### MCP 配置\n\n请参阅 [`mcp-config.example.json`](mcp-config.example.json)，其中提供了精选的服务器推荐：\n- **context7** &mdash; 实时文档查找\n- **playwright** &mdash; 浏览器自动化（最节省 token）\n- **GitHub** &mdash; PR、问题和代码搜索\n\n建议：初始设置 3 个 MCP。仅在有具体需求时再添加。\n\n---\n\n## 结构\n\n```text\npro-workflow\u002F\n├── skills\u002F           # 24 个技能\n├── agents\u002F           # 8 个代理\n├── commands\u002F         # 21 个斜杠命令\n├── hooks\u002F            # 24 个事件，29 个脚本\n├── docs\u002F             # 10 份参考指南\n├── rules\u002F            # 7 条规则（Cursor + 通用）\n├── contexts\u002F         # 3 种上下文模式\n├── templates\u002F        # 分割的 CLAUDE.md 和 AGENTS.md\n├── scripts\u002F          # 29 个钩子脚本\n├── src\u002F              # TypeScript 源代码（SQLite）\n└── config.json\n```\n\n---\n\n## 社区建议\n\n> “我写的代码中，80% 是由 AI 生成的，剩下的 20% 则用来审查和修正。” &mdash; [Andrej Karpathy](https:\u002F\u002Fx.com\u002Fkarpathy\u002Fstatus\u002F2015883857489522876)\n\n> “使用子代理为问题投入更多算力——将任务卸载出去，保持主上下文的简洁。” &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742755737555434)\n\n> “如果某件事你每天要做一次以上，就把它做成一个技能或命令。” &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742748984742078)\n\n> “在将工作交给他人之前，务必写出详细的需求规格，减少歧义——越具体，结果越好。” &mdash; [Boris Cherny](https:\u002F\u002Fx.com\u002Fbcherny\u002Fstatus\u002F2017742752566632544)\n\n> “技能描述字段是一个触发器，而非摘要——要为模型而写。” &mdash; [Thariq Shihipar](https:\u002F\u002Fx.com\u002Ftrq212\u002Fstatus\u002F2033949937936085378)\n\n---\n\n## 哲学理念\n\n1. **累积改进** &mdash; 小小的修正随着时间推移带来巨大的收益\n2. **信任但验证** &mdash; 让 AI 工作，在关键节点进行审查\n3. **零闲置时间** &mdash; 并行会话保持进度\n4. **记忆珍贵** &mdash; 无论是你的还是 Claude 的\n5. **编排而非微观管理** &mdash; 将模式串联起来，让代理自行执行\n\n---\n\n## 相关项目\n\n| 项目 | 描述 |\n|---------|-------------|\n| [everything-claude-code](https:\u002F\u002Fgithub.com\u002Faffaan-m\u002Feverything-claude-code) | 140+ 技能，36 个代理——全面的集合 |\n| [claude-code-best-practice](https:\u002F\u002Fgithub.com\u002Fshanraisshan\u002Fclaude-code-best-practice) | 精选技巧、对比分析及社区最佳实践 |\n| [SkillKit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fskillkit) | 通用 CLI，用于管理 32+ 种代理的技能 |\n| [awesome-claude-code-toolkit](https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fawesome-claude-code-toolkit) | 850+ 文件，135 个代理，176 个插件——精选目录 |\n\n---\n\n## 星标历史\n\n\u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#rohitg00\u002Fpro-workflow&Date\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png&theme=dark\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png\" \u002F>\n   \u003Cimg alt=\"星标历史图表\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_readme_6802d9d83367.png\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n---\n\n\u003Cp align=\"center\">\n  \u003Cbr\u002F>\n  \u003Cb>如果 pro-workflow 节省了您的时间，请给这个仓库加星，让更多人发现它。\u003C\u002Fb>\n  \u003Cbr\u002F>\u003Cbr\u002F>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Frohitg00\u002Fpro-workflow?style=for-the-badge&logo=github&color=D97757&labelColor=1e1e2e\" alt=\"星标\"\u002F>\u003C\u002Fa>\n  \u003Cbr\u002F>\u003Cbr\u002F>\n  \u003Ca href=\"https:\u002F\u002Frohitg00-pro-workflow.mintlify.app\u002F\">文档\u003C\u002Fa> &bull;\n  \u003Ca href=\"https:\u002F\u002Fagenstskills.com\">SkillKit 市场\u003C\u002Fa> &bull;\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\">报告问题\u003C\u002Fa> &bull;\n  \u003Ca href=\"docs\u002F\">参考指南\u003C\u002Fa>\n\u003C\u002Fp>","# Pro Workflow 快速上手指南\n\nPro Workflow 是一款专为 Claude Code、Cursor 及兼容 SkillKit 的 AI 代理设计的增强工具。它通过 SQLite 持久化存储用户的修正指令，实现“自我纠正”的记忆机制，让 AI 随着使用次数增加而越来越懂你的项目规范和编码习惯。\n\n## 环境准备\n\n在开始之前，请确保满足以下要求：\n\n*   **运行环境**：已安装 Node.js (推荐 v18+) 和 npm。\n*   **宿主工具**：\n    *   **Claude Code** (官方 CLI 版本)\n    *   **Cursor** (编辑器内置终端)\n    *   或其他支持 **SkillKit** 的 AI 代理框架。\n*   **系统权限**：拥有当前项目目录的读写权限，以便创建 `.claude` 配置文件夹和 SQLite 数据库。\n\n> **注意**：本工具主要面向全球社区，目前暂无专门的国内镜像源。如遇网络问题，请配置合适的网络加速方案以确保 `npm` 和 `git` 命令正常执行。\n\n## 安装步骤\n\n根据你的使用场景，选择以下任一方式进行安装（耗时约 30 秒）：\n\n### 方式一：Claude Code 原生安装（推荐）\n\n如果你直接使用 Claude Code CLI，请在终端执行以下命令：\n\n```bash\n\u002Fplugin marketplace add rohitg00\u002Fpro-workflow\n\u002Fplugin install pro-workflow@pro-workflow\n```\n\n### 方式二：Cursor 编辑器安装\n\n在 Cursor 的聊天窗口或终端中输入：\n\n```bash\n\u002Fadd-plugin pro-workflow\n```\n\n### 方式三：通用 SkillKit 安装\n\n适用于其他支持 SkillKit 协议的 AI 代理：\n\n```bash\nnpx skillkit install pro-workflow\n```\n\n### 方式四：手动安装（高级用户）\n\n如需自定义构建或调试，可克隆源码并手动部署：\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow.git \u002Ftmp\u002Fpw\ncp -r \u002Ftmp\u002Fpw\u002Ftemplates\u002Fsplit-claude-md\u002F* .\u002F.claude\u002F\n\n# 进入插件目录构建（需 SQLite 支持）\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow && npm install && npm run build\n```\n\n## 基本使用\n\n安装完成后，Pro Workflow 会自动在会话启动时加载记忆规则。你无需额外配置即可享受基础功能，但建议通过以下命令快速体验核心特性：\n\n### 1. 健康检查\n首次使用后，运行医生命令检查配置状态：\n```bash\n\u002Fdoctor\n```\n\n### 2. 体验自我纠正记忆\n这是核心功能。当 AI 犯错时（例如错误地使用了数据库 Mock），你只需告诉它一次，它便会永久记住。\n\n**操作步骤：**\n1.  在对话中指出错误，例如：“不要在测试中 mock 数据库”。\n2.  运行以下命令将此次修正保存为永久规则：\n    ```bash\n    \u002Flearn-rule\n    ```\n3.  **验证效果**：开启一个新的会话 (`Session Start`)，再次要求编写测试代码。AI 将自动应用该规则，无需再次提醒。\n\n### 3. 多阶段开发工作流\n使用 `\u002Fdevelop` 命令启动标准化的开发流程（研究 > 计划 > 实现 > 审查）：\n\n```bash\n\u002Fdevelop add user authentication\n```\n\n### 4. 会话结束与知识沉淀\n完成任务后，运行收尾命令以捕获本次会话的学习成果并审计变更：\n\n```bash\n\u002Fwrap-up\n```\n\n### 5. 其他常用命令\n*   `\u002Fcommit`：带质量门禁的智能提交。\n*   `\u002Finsights`：查看会话分析和修正趋势。\n*   `\u002Fcost-tracker`：检查当前会话的 Token 消耗成本。\n*   `\u002Fpermission-tuner`：分析权限拒绝模式并优化规则。\n\n通过以上步骤，你的 AI 助手将开始积累项目特定的知识，随着会话次数增加，重复纠错的需求将显著降低。","某全栈开发团队正在使用 Claude Code 重构一个遗留的电商后端系统，需要在数周内完成大量代码迁移并统一测试规范。\n\n### 没有 pro-workflow 时\n- **重复纠正低效**：开发者每天需多次向 AI 强调“不要在集成测试中 Mock 数据库”或“遵循特定的错误处理格式”，同样的指令在周一和周五被反复提及。\n- **上下文记忆丢失**：每次开启新会话或切换分支时，AI 会遗忘之前达成的共识，导致生成的代码风格不一致，需要人工重新解释项目约定。\n- **协作成本高昂**：团队成员各自为战，A 成员调教好的 AI 习惯无法同步给 B 成员，导致代码审查时发现大量因 AI 理解偏差产生的低级错误。\n- **规则难以沉淀**：随着项目推进，临时性的修正指令散落在聊天记录中，无法形成可执行的长期规则，导致错误模式不断重演。\n\n### 使用 pro-workflow 后\n- **一次纠正永久生效**：当开发者首次指出“禁止 Mock 数据库”后，pro-workflow 自动将其保存为持久化规则；后续所有会话中，AI 自动生成正确的集成测试，无需二次提醒。\n- **会话启动即智能**：利用 SQLite 存储的自我修正记忆，每次会话开始时 AI 自动加载团队积累的 50+ 条最佳实践，输出代码风格高度统一且符合项目规范。\n- **团队智慧复用**：通过共享的规则数据库，新加入的成员能立即获得经过团队验证的 AI 行为模式，大幅减少沟通成本和对齐时间。\n- **错误率显著下降**：随着会话次数增加，AI 对团队偏好的理解呈复利增长，在第 50 次会话时，因误解需求导致的返工率接近于零。\n\npro-workflow 将原本线性的、易遗忘的人机交互，转化为具有累积效应的智能资产，让 AI 真正成为懂团队默契的资深伙伴。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Frohitg00_pro-workflow_c73d46fa.png","rohitg00","Rohit Ghumare","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Frohitg00_0db5b2cc.png","Principal Product Evangelist | DevRel | GDE @Google Cloud | CNCF Ambassador | Docker Captain | AWS CommunityBuilder | Ex - Solo.io, Cerbos, Oracle, Reliance Jio","Motia","London, UK",null,"ghumare64","https:\u002F\u002Fwww.devrelasservice.com\u002F","https:\u002F\u002Fgithub.com\u002Frohitg00",[83,87],{"name":84,"color":85,"percentage":86},"JavaScript","#f1e05a",78.8,{"name":88,"color":89,"percentage":90},"TypeScript","#3178c6",21.2,1551,151,"2026-04-06T01:35:20","未说明","不需要 GPU",{"notes":97,"python":94,"dependencies":98},"该工具是 Claude Code 的插件，主要运行在 Node.js 环境中而非 Python。安装需要 npm 和 git。核心功能依赖 SQLite 数据库存储记忆。支持通过 SkillKit 与 32+ 种 AI 代理协作。无需显卡加速，主要消耗取决于所连接的 LLM 服务而非本地硬件。",[99,100,101,102,103],"Node.js\u002Fnpm (用于构建)","SQLite (内置支持)","Claude Code","Cursor","SkillKit",[52,13],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124],"claude","claude-code","cursor","workflow","agent-orchestration","ai-agents","ai-coding","ai-workflow","claude-code-plugin","claude-code-skills","claude-skills","codex","context-engineering","developer-tools","gemini-cli","hooks","productivity","self-correction","worktrees","2026-03-27T02:49:30.150509","2026-04-07T09:55:19.877017",[128,133,138,143,148,153],{"id":129,"question_zh":130,"answer_zh":131,"source_url":132},21554,"在 Ubuntu 上安装插件时遇到 'EXDEV: cross-device link not permitted' 错误怎么办？","这是 Claude Code CLI 的问题，而非 pro-workflow 插件特有。当 Node.js 尝试在不同文件系统挂载点（如 \u002Fhome 和 \u002Ftmp）之间移动文件时会发生此错误。\n\n解决方法：在安装前设置 TMPDIR 环境变量，使其指向与主目录相同的文件系统路径：\n\n```bash\nexport TMPDIR=~\u002F.cache\u002Fclaude-tmp\nmkdir -p $TMPDIR\n```\n\n然后重试安装插件。如果问题依旧，建议向 Claude Code 团队报告，以便他们在安装程序中增加当 rename() 失败时自动回退到复制 + 删除的逻辑。","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F12",{"id":134,"question_zh":135,"answer_zh":136,"source_url":137},21555,"\u002Flearn save 命令为什么无法将学习内容写入数据库？","早期版本中，\u002Flearn 命令缺少指导 Claude 实际执行数据库写入操作的指令，导致学习表为空。该问题已在后续版本中修复。维护者已确认添加了明确的指令块，指导如何通过 sqlite3 或 Node.js store API 将数据插入数据库，确保 \u002Fsearch、\u002Freplay 和 \u002Flist 命令能正常返回结果。","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F13",{"id":139,"question_zh":140,"answer_zh":141,"source_url":142},21556,"doctor 脚本在基于插件的安装模式下检查路径错误怎么办？","该问题已在 v2.0\u002Fv3.0 版本中解决。doctor 命令已被重写，不再使用旧的独立安装路径检查逻辑。当前的 commands\u002Fdoctor.md 文件已能正确处理基于插件的安装路径（~\u002F.claude\u002Fplugins\u002Fcache\u002F...），请确保升级到最新版本即可。","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F28",{"id":144,"question_zh":145,"answer_zh":146,"source_url":147},21557,"在 Windows 上使用 \u002Fagent 命令时出现 'custom agent markdown frontmatter is malformed' 警告如何解决？","此警告通常由两个原因引起：\n1. 文件使用了 Windows 风格的换行符（CRLF），而解析器仅支持 Linux 风格（LF）。\n2. Agent 配置文件（如 planner.md, reviewer.md）缺少必要的前置元数据（frontmatter）。\n\n解决方法：\n- 将相关 .md 文件的换行符转换为 Unix (LF) 格式。\n- 确保文件顶部包含正确格式的前置元数据，例如：\n```markdown\n---\nname: planner-agent\ndescription: Specialized agent for breaking down complex tasks.\ntools: [\"read\", \"search\", \"edit\"]\n---\n```","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F7",{"id":149,"question_zh":150,"answer_zh":151,"source_url":152},21558,"\u002Fdevelop 命令在进行代码审查时为什么不验证其发现的结果？","用户反馈 \u002Fdevelop 命令在代码审查任务中倾向于提供未经验证的发现，即使提示中要求不要假设。这是一个已知的使用行为问题，建议在使用该命令时，明确要求它在输出结论前必须运行测试或静态分析工具进行验证，或者在提示词中强化“验证步骤”的约束。","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F35",{"id":154,"question_zh":155,"answer_zh":156,"source_url":157},21559,"是否支持用于内容写作的人类化流水线（humanization pipeline）功能？","不支持。该项目专注于编码工作流（coding workflows），不包含内容写作相关的功能（如 3-agent 人类化流水线）。此类需求被视为超出项目范围（out of scope），相关提议已被关闭。","https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fissues\u002F11",[159,164,169,174,179,184,189,194],{"id":160,"version":161,"summary_zh":162,"released_at":163},127542,"v3.2.0","## v3.2.0 新增功能\n\n### 基于大模型的钩子（首个在任何 Claude Code 插件中实现）\n- **提示钩子** (`type: \"prompt\"`) — 使用 Haiku 的 AI 驱动质量门控\n- **提交信息验证** — 由大模型强制执行 Conventional Commits 格式\n- **密钥检测** — 扫描文件写入操作，查找硬编码的 API 密钥和令牌\n- **`if` 条件判断** — 精确过滤钩子，无需启动新进程\n\n### 7 项新技能（17 → 24）\n| 技能 | 功能描述 |\n|-------|-------------|\n| **permission-tuner** | 分析拒绝模式，生成优化的允许\u002F拒绝规则 |\n| **compact-guard** | 通过上下文压缩保护环境（恢复上限为 5 个文件，预算 5 万 token） |\n| **cost-tracker** | 会话成本感知，按任务类型设置预算基准 |\n| **auto-setup** | 自动检测项目类型，配置质量门控（Node.js\u002FPython\u002FRust\u002FGo） |\n| **mcp-audit** | 分析 MCP 服务器的令牌开销，推荐停用的服务器 |\n| **llm-gate** | 使用提示和代理钩子配置 AI 驱动的质量门控 |\n| **file-watcher** | 基于 FileChanged\u002FCwdChanged 事件的响应式工作流，并支持环境变量注入 |\n\n### 2 个新代理（6 → 8）\n- **权限分析师** — 分析拒绝模式，按风险等级生成规则\n- **成本分析师** — 分析令牌使用情况，优化缓存，选择最佳模型\n\n### 6 个新钩子事件（18 → 24）\n`PermissionDenied`、`Setup`、`WorktreeCreate`、`WorktreeRemove`、`CwdChanged`、`TaskCreated`\n\n### 代理令牌优化\n- 在 6 个只读代理上启用 `omitClaudeMd: true` — 跳过项目上下文加载以节省令牌\n- 适用代理：planner、reviewer、scout、context-engineer、permission-analyst、cost-analyst\n\n### 5 个新命令（16 → 21）\n`\u002Fpermission-tuner`、`\u002Fcompact-guard`、`\u002Fcost-tracker`、`\u002Fauto-setup`、`\u002Fmcp-audit`\n\n### 钩子改进\n- 将 Git 提交\u002F推送钩子合并为单个匹配器，并支持 `if` 条件\n- 将 FileChanged 事件范围限定为配置文件（`.env|package.json|tsconfig.json|Cargo.toml|go.mod`）\n- 添加对 `cargo test` 的测试失败检测\n- 所有脚本均经过 JSON 格式安全性和错误处理验证\n\n### 完整统计\n| 组件 | v3.1 | v3.2 |\n|-----------|------|------|\n| 技能 | 17 | **24** |\n| 代理 | 6 | **8** |\n| 钩子事件 | 18 | **24** |\n| 命令 | 16 | **21** |\n| 脚本 | 23 | **29** |\n\n### 安装\n```bash\n# Claude Code 插件\n\u002Fplugin marketplace add rohitg00\u002Fpro-workflow\n\n# SkillKit\nnpx skillkit install pro-workflow\n```\n\n**完整变更日志**: https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fcompare\u002Fv3.1.0...v3.2.0","2026-03-31T13:41:36",{"id":165,"version":166,"summary_zh":167,"released_at":168},127543,"v3.1.0","## 变更内容\n\n- chore: 版本升级至 3.1.0\n- 添加决策框架、安全模式和冲刺进度跟踪功能 (#33)\n\n## 安装\n\n### Claude 插件\n```bash\nclaude plugin marketplace add rohitg00\u002Fpro-workflow\nclaude plugin install pro-workflow@pro-workflow\n```\n\n### npm 包\n```bash\nnpm install pro-workflow\n```\n\n### 构建 SQLite 支持\n```bash\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow\nnpm install && npm run build\n```\n","2026-03-29T22:03:55",{"id":170,"version":171,"summary_zh":172,"released_at":173},127544,"v3.0.0","## 变更内容\n\n- 修复 CI：兼容 TypeScript 6.0，同步版本至 3.0.0\n- 依赖更新：将 TypeScript 从 5.9.3 升级至 6.0.2\n- 依赖更新：将 @types\u002Fnode 从 25.3.0 升级至 25.5.0\n- 依赖更新：将 better-sqlite3 从 12.6.2 升级至 12.8.0\n- 修复：在发布变更日志中使用 GITHUB_OUTPUT\n- v3.0：上下文工程化、代理团队功能，提取钩子 (#32)\n- 在 README 和信息图中添加 Mintlify 文档链接 (#26)\n- 修复：将视觉元素重新品牌化为 Anthropic 颜色，并将信息图更新至 v2.0 (#24)\n\n## 安装\n\n### Claude 插件\n```bash\nclaude plugin marketplace add rohitg00\u002Fpro-workflow\nclaude plugin install pro-workflow@pro-workflow\n```\n\n### npm 包\n```bash\nnpm install pro-workflow\n```\n\n### 构建 SQLite 支持\n```bash\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow\nnpm install && npm run build\n```\n","2026-03-29T11:18:43",{"id":175,"version":176,"summary_zh":177,"released_at":178},127545,"v2.0.0","## 变更内容\n\n$(cat \u002Ftmp\u002Fchangelog.txt)\n\n## 安装\n\n### Claude 插件\n```bash\nclaude plugin marketplace add rohitg00\u002Fpro-workflow\nclaude plugin install pro-workflow@pro-workflow\n```\n\n### npm 包\n```bash\nnpm install pro-workflow\n```\n\n### 构建 SQLite 支持\n```bash\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow\nnpm install && npm run build\n```\n","2026-03-05T10:22:56",{"id":180,"version":181,"summary_zh":182,"released_at":183},127546,"v1.3.0","7项改进，充分利用全新Claude Code 2.1.49的功能，并与Cursor完全兼容。\n\n## 新增功能\n\n### 原生工作树标志\n`claude -w` 可替代手动执行 `git worktree add`，实现即时并行会话。更新了 `\u002Fparallel` 命令和 parallel-worktrees 技能。Cursor 用户则可同时使用手动的 `git worktree` 方法。\n\n### 后台侦察代理\nScout 现在以 `background: true` 和 `isolation: worktree` 模式运行——信心评分无需阻塞您的主会话即可完成。\n\n### ConfigChange 钩子\n新增钩子类型，可在会话中途检测质量门或钩子被修改的情况。随附 `config-watcher.js`，支持100KB日志轮转。\n\n### 更智能的停止钩子\n利用 `last_assistant_message`（2.1.49+）来检测任务完成信号及重大变化，而非单纯依赖响应次数。为提升性能，会截断至最后2000个字符。\n\n### 默认插件设置\n随附 `settings.json` 文件，预设质量门权限（lint、测试、类型检查、git 工作树），避免用户在常用命令时频繁收到提示。\n\n### 更新的模型偏好\n- Opus 4.6 和 Sonnet 4.6 均支持自适应思考及100万标记上下文（通过 `context-1m-2025-08-07` 头部启用，处于测试阶段；默认仍为20万标记）\n- Sonnet 4.5（20万标记）已从 Max 计划中移除\n- 从配置中移除了 `opus-thinking`（自适应思考功能已内置）\n\n### 更新的 \u002Flearn 命令\n新增快捷键（`Ctrl+F` 杀死代理），简易模式包含编辑工具，`Shift+Down` 仅用于队友导航，增加了 ConfigChange 钩子文档，并新增插件板块。\n\n## Cursor 兼容性\n\n- 平台特定部分标有 *(Claude Code)* 标签\n- 命令表格中列出了 Cursor 技能的等效选项\n- 9项技能中有7项完全跨平台通用\n- 代理前端元数据中的 `background: true` 和 `isolation: worktree` 对 Cursor 而言会被静默忽略\n- `.mdc` 规则提供了与 Claude Code 钩子等效的强制执行机制\n\n## 安装\n\n### Claude Code 插件\n```bash\nclaude plugin marketplace add rohitg00\u002Fpro-workflow\nclaude plugin install pro-workflow@pro-workflow\n```\n\n### Cursor 插件\n```bash\n\u002Fadd-plugin pro-workflow\n```\n\n### npm\n```bash\nnpm install pro-workflow\n```\n\n### 构建 SQLite 支持\n```bash\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow\nnpm install && npm run build\n```\n\n## 文件变更\n\n- 共修改14个文件，新增383行，删除114行\n- 新增2个文件：`.claude-plugin\u002Fsettings.json` 和 `scripts\u002Fconfig-watcher.js`\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002Frohitg00\u002Fpro-workflow\u002Fcompare\u002Fv1.2.0...v1.3.0","2026-02-20T17:28:33",{"id":185,"version":186,"summary_zh":187,"released_at":188},127547,"v1.2.0","## v1.2.0 新增内容\n\n### 新功能\n\n- **侦察代理** — 基于置信度的探索机制。在执行前，会从五个维度评估准备度（0–100分）。若置信度低于70分，则自动收集更多上下文信息。并集成学习数据库，针对历史上的问题模式降低置信度。\n\n- **`\u002Freplay`** — 针对当前任务调用过往的学习记录。利用 FTS5 BM25 排序算法找到相关学习内容，并结合会话历史检查类似工作的修正率。如同编码会话中的肌肉记忆。\n\n- **`\u002Fhandoff`** — 生成结构化的会话交接文档。自动生成可直接复制粘贴的工作简报（状态、已完成、待办、决策、陷阱、恢复指令），便于下一次会话无缝衔接。\n\n- **漂移检测** — 新增 `UserPromptSubmit` 钩子，用于跟踪原始任务意图，并在连续6次以上编辑且与原目标相关性较低时发出警告。能够识别明确的任务切换行为。\n\n- **自适应质量门控** — 质量门控阈值现可根据数据库中的修正历史动态调整。修正率较高（>25%）时，门控设为3次编辑；修正率较低（\u003C5%）时，则设为10次编辑。随着时间推移，系统会变得更加智能。\n\n- **修正热力图** — 新增 `\u002Finsights heatmap` 选项，展示按类别和项目划分的修正分布、自适应门控状态、热点学习（频繁被修正但较少被记录）以及冷点学习（虽已记录但从未应用）。\n\n### 修复\n\n- 为规划者和评审者代理添加 YAML 前置元数据（修复 #7）\n- 添加 `.gitattributes` 文件，强制使用 LF 换行符以提高 Windows 兼容性\n- 将所有版本文件同步至 1.2.0\n\n### 提交记录\n\n- feat: 添加侦察代理、\u002Freplay、\u002Fhandoff、漂移检测、自适应门控及修正热力图\n- fix: 为规划者和评审者代理添加 YAML 前置元数据\n- fix: 将版本号更新至 1.2.0，为下一次发布做准备\n\n## 安装\n\n### Claude 插件\n```bash\nclaude plugin marketplace add rohitg00\u002Fpro-workflow\nclaude plugin install pro-workflow@pro-workflow\n```\n\n### npm 包\n```bash\nnpm install pro-workflow\n```\n\n### 构建 SQLite 支持\n```bash\ncd ~\u002F.claude\u002Fplugins\u002F*\u002Fpro-workflow\nnpm install && npm run build\n```","2026-02-06T17:38:11",{"id":190,"version":191,"summary_zh":192,"released_at":193},127548,"v1.1.0","## 新增内容\n\n### 新命令\n- **`\u002Fcommit`** - 智能提交，包含预提交质量检查（lint、类型检查、测试）、暂存变更评审、遵循规范的提交信息起草以及提交后学习记录捕获\n- **`\u002Finsights`** - 会话分析、学习数据库分析（热门类别、应用最多的内容、过时的学习内容）、纠错模式分析以及生产力指标\n\n### 新特性\n- **代理团队（实验性）** - 协调多个 Claude Code 会话，共享任务列表、代理间消息传递、委派模式和分屏功能（tmux\u002FiTerm2）\n- **自定义子代理** - 可创建项目级或用户级子代理，配备自定义工具、权限模式、持久化内存、钩子及技能预加载\n- **自适应思考** - Opus 4.6 会根据任务自动校准推理深度\n- **上下文压缩** - 在容量达到约 95% 时自动压缩，支持可配置阈值和 PreCompact 钩子\n\n### 更新内容\n- 模型选择更新：Haiku 4.5、Sonnet 4.5、Opus 4.6\n- `\u002Flearn` 命令扩展，新增代理团队、子代理、自适应思考、上下文压缩功能，并提供新的 CLI 快捷键\n- 所有 8 种模式的 SKILL.md 文件均已更新\n- 共计 8 条命令：`\u002Fwrap-up`、`\u002Flearn`、`\u002Flearn-rule`、`\u002Fparallel`、`\u002Fsearch`、`\u002Flist`、`\u002Fcommit`、`\u002Finsights`\n\n### 安装\n\n**插件：**\n```\n\u002Fplugin marketplace add rohitg00\u002Fpro-workflow\n\u002Fplugin install pro-workflow@pro-workflow\n```\n\n**SkillKit：**\n```bash\nnpx skillkit install pro-workflow\n```","2026-02-05T19:11:32",{"id":195,"version":196,"summary_zh":177,"released_at":197},127549,"v0.1.0","2026-02-02T23:34:02"]