能力标签
克劳德代码工作流
💬
Prompt模板

克劳德代码工作流

基于 JavaScript · 专业级提示词模板,解锁 AI 的真实潜力
英文名:claude-code-workflows
⭐ 628 Stars 🍴 100 Forks 💻 JavaScript 📄 MIT 🏷 AI 8.2分
8.2AI 综合评分
promptclaude-codejavascriptai-agents
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,克劳德代码工作流 获评「强烈推荐」。这款Prompt模板在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。

📚 深度解析

克劳德代码工作流 是经过精心设计和实践验证的专业 Prompt 模板。Prompt 工程(Prompt Engineering)是充分发挥 Claude、ChatGPT 等大型语言模型潜力的关键技能,而一套经过优化的 Prompt 模板可以将 AI 输出质量提升数倍。

优质 Prompt 模板的核心价值在于其结构化设计:明确的角色设定、精确的任务描述、具体的输出格式要求和必要的边界条件,这些要素共同构成了一个能够持续产出高质量结果的 Prompt 框架。克劳德代码工作流 提供的模板经过反复迭代和用户验证,能够有效减少 AI 的"幻觉"(Hallucination)和输出不稳定问题。

无论你使用 Claude 3.5 Sonnet、GPT-4、Gemini 还是国内的文心一言、智谱 AI,优质的 Prompt 设计都能跨模型复用。AI Skill Hub 建议将本模板保存为个人 Prompt 库的标准组件,根据具体场景调整参数后反复使用,形成自己的 AI 提效工作流。

📋 工具概览

克劳德代码工作流 是经过精心设计和反复验证的专业 Prompt 模板集合。这些 Prompt 框架能够有效激活 Claude、ChatGPT 等大型语言模型的深层能力,让 AI 生成更准确、更有价值的输出结果。无需任何安装,直接复制模板内容到 AI 对话框即可使用。

GitHub Stars
⭐ 628
开发语言
JavaScript
支持平台
Windows / macOS / Linux
维护状态
正常维护,社区驱动
开源协议
MIT
AI 综合评分
8.2 分
工具类型
Prompt模板
Forks
100

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

克劳德代码工作流 是经过精心设计和反复验证的专业 Prompt 模板集合。这些 Prompt 框架能够有效激活 Claude、ChatGPT 等大型语言模型的深层能力,让 AI 生成更准确、更有价值的输出结果。无需任何安装,直接复制模板内容到 AI 对话框即可使用。

📌 核心特色
  • 精心设计的 Prompt 框架,快速激活 AI 的深层能力
  • 支持参数化替换,灵活适配多种业务场景
  • 经过反复验证的指令结构,显著提升 AI 输出质量和一致性
  • 适用于 Claude、ChatGPT 等主流大语言模型
  • 可作为团队标准 Prompt 模板复用和二次开发
🎯 主要使用场景
  • 快速生成高质量的专业文案、分析报告或结构化内容
  • 利用 Prompt 框架引导 AI 解决特定领域的复杂问题
  • 在不同 AI 工具间复用经过验证的提示词模板
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# Prompt 无需安装,直接复制使用
# 支持:Claude / ChatGPT / Gemini / 通义千问 等主流模型

# 使用步骤
# 1. 复制 Prompt 模板内容
# 2. 粘贴到 AI 对话框
# 3. 替换 [占位符] 为实际内容
# 4. 发送后获取结构化输出

# 获取原始文件
git clone https://github.com/shinpr/claude-code-workflows
📋 安装步骤说明
  1. 复制本工具的 Prompt 模板内容
  2. 打开 Claude、ChatGPT 或其他 AI 对话工具
  3. 将 Prompt 粘贴到对话框开头
  4. 根据实际需求替换 [占位符] 中的内容
  5. 发送后 AI 将按照模板格式执行,获得结构化输出
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 粘贴到 Claude/ChatGPT 使用
# 示例 Prompt 结构:

你是一位 [角色],擅长 [领域]。
请根据以下要求完成任务:

任务背景:[描述背景]
具体要求:[详细说明]
输出格式:[期望格式]

# 将 [] 内内容替换为实际需求
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# claude-code-workflows 配置说明
# 查看配置选项
claude-code-workflows --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export CLAUDE_CODE_WORKFLOWS_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 52/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Common setup

```bash

Install one workflow plugin

Install the plugin that matches your project. If the install tells you to run /reload-plugins, do that before invoking the recipe.

```bash

Team setup

Claude Code supports project-scoped marketplaces and plugins. Commit the resulting .claude/settings.json so contributors are prompted to use the same workflow plugin.

claude plugin marketplace add shinpr/claude-code-workflows --scope project
claude plugin install dev-workflows-fullstack@claude-code-workflows --scope project

Replace dev-workflows-fullstack with the plugin that matches the repository. See the Claude Code plugin documentation for project and managed installation options.

---

Quick Start

Requires a Claude Code release with plugin marketplace support.

Workflow Recipe Reference

All workflow entry points use the recipe- prefix. Type /recipe- and use tab completion to see what the installed plugin provides.

<details> <summary>View all backend and general recipes</summary>

RecipePurposeWhen to Use
/recipe-implementEnd-to-end feature developmentNew features, complete workflows
/recipe-designCreate design documentationArchitecture planning
/recipe-planGenerate a work plan from designPlanning phase
/recipe-buildExecute an existing work planResume implementation
/recipe-reviewReview a completed implementation against the agreed outcomePost-implementation check
/recipe-quality-profileSet repository-specific quality rulesRepository quality rules
/recipe-diagnoseInvestigate a problem and compare solutionsRoot cause analysis
/recipe-reverse-engineerDerive PRDs and Design Docs from codeExisting-system documentation
/recipe-add-integration-testsAdd integration or E2E testsCoverage for existing code
/recipe-update-docUpdate and review existing documentsRequirement or design changes
/recipe-taskRun a rule-guided task directlyWork that does not need staged workflow handoffs

</details>

<details> <summary>View all frontend recipes</summary>

The frontend plugin adds React-specific analysis, component architecture, React Testing Library, TypeScript checks, and applicable UI Spec generation from optional prototype code.

RecipePurposeWhen to Use
/recipe-front-designCreate an applicable UI Spec and frontend Design DocReact component architecture
/recipe-front-planGenerate a frontend work planComponent planning
/recipe-front-buildExecute a frontend work planResume React implementation
/recipe-front-adjustAdjust an implemented UI with external verificationVisual refinements
/recipe-front-reviewReview a completed frontend against the agreed outcomePost-implementation check
/recipe-quality-profileSet repository-specific quality rulesRepository quality rules
/recipe-diagnoseInvestigate a problem and compare solutionsRoot cause analysis
/recipe-update-docUpdate and review existing documentsRequirement or design changes
/recipe-taskRun a rule-guided task directlyWork that does not need staged workflow handoffs

</details>

---

Claude Code Development Workflows

Claude Code GitHub Stars License: MIT PRs Welcome

English | 简体中文 | 日本語 | Español | 한국어 | Português (Brasil)

Claude Code can explore a codebase deeply. On non-trivial work, the harder problem is convergence. While designing an account-recovery flow, Claude may find a real inconsistency in token handling and spend most of the design on it, leaving the requested recovery behavior vague.

claude-code-workflows keeps that exploration pointed at an agreed result. It agrees on the outcome and exclusions before design, checks designs against the repository, verifies each task before commit, and, on larger changes, independently reviews the finished implementation to make sure it delivers the agreed result, does not include unnecessary changes, and has no serious functional, reliability, or security problems. Within that scope, Claude chooses the implementation details from the codebase.

Use Claude Code directly when the outcome and safe implementation boundary are already clear. Use these workflows when a change needs scope agreement, durable design decisions, a reliable handoff between contexts, or independent verification.

---

When is the workflow useful?

The workflow adds agent calls and artifacts, so it should earn that cost. Use it when a real side finding could pull a larger change away from its intended result, a design could be internally consistent but miss the requested behavior, or a passing test could fail to observe what it claims to prove.

Once the implementation scope is approved, Claude carries the tasks through focused verification, repository quality checks, commits, and final review without asking for routine implementation decisions. It asks the user only when the agreed product outcome or exclusions must change; Claude handles technical design and implementation choices. Because the process is packaged as a Claude Code plugin, a team can apply the same controls across repositories without prescribing Claude's steps.

---

A real workflow run

The incremental sync feature in mcp-local-rag was a 42-file change across filesystem scanning, storage, and both the CLI and MCP surfaces. An independent security review sent the implementation back twice. It caught file reads happening before validation and a path-containment escape through a symlinked parent.

The run began with an existing Work Plan that referred to an ADR and Design Doc that were not present, leaving the approved source for its technical decisions unclear. The user chose to treat the Work Plan as the source of truth, and the recipe divided it into 13 planned tasks. The final implementation included the changes needed to verify the approved behavior, while the PR records why watch mode and persistent jobs were left out.

Typical Workflows

What the Plugins Include

Specialized agents keep analysis and design separate from execution and final review. Each plugin includes only the roles its workflows use; the full-stack plugin combines the backend and frontend roles. The complete role list is folded below.

<details> <summary>View all specialized agent roles</summary>

dev-skills -> dev-workflows

/plugin uninstall dev-skills@claude-code-workflows /plugin install dev-workflows@claude-code-workflows

dev-workflows -> dev-skills

/plugin uninstall dev-workflows@claude-code-workflows /plugin install dev-skills@claude-code-workflows


</details>

<details>
<summary>View optional add-ons</summary>

These plugins cover adjacent work without changing the core development workflow:

- [claude-code-discover](https://github.com/shinpr/claude-code-discover): turns feature ideas into evidence-backed PRDs.
- [metronome](https://github.com/shinpr/metronome): detects shortcut-taking behavior and asks Claude to follow the defined procedure.
- [linear-prism](https://github.com/shinpr/linear-prism): validates requirements and turns them into structured Linear tasks.
- [pr-review](https://github.com/shinpr/pr-review-skill): reviews GitHub PRs against repository-specific criteria before posting approved findings.
bash /plugin install discover@claude-code-workflows /plugin install metronome@claude-code-workflows /plugin install linear-prism@claude-code-workflows /plugin install pr-review@claude-code-workflows ```

</details>

---

Contributing External Plugins

This marketplace supports the full lifecycle of building products with AI: product quality, discovery, implementation control, and verification. If your plugin helps developers build better products with AI coding agents, we'd like to hear from you.

See CONTRIBUTING.md for submission guidelines and acceptance criteria.

<details> <summary>View repository layout</summary>

claude-code-workflows/
├── .claude-plugin/
│   └── marketplace.json        # Plugin definitions and per-plugin contents
├── agents/                     # Specialized analysis, design, execution, and review roles
├── skills/
│   ├── recipe-*/               # Workflow entry points
│   ├── documentation-criteria/ # Document rules and templates
│   ├── coding-principles/
│   ├── testing-principles/
│   ├── external-resource-context/
│   ├── llm-friendly-context/
│   └── ...
├── LICENSE
└── README.md

</details>

---

FAQ

Q: What if there are errors?

A: The quality-fixer agents handle test, type, lint, and build failures within the approved outcome, including adjacent changes required by the same responsibility or contract.

The workflow asks the user only when keeping both the requested outcome and its exclusions is no longer possible, or when an irreversible external action needs approval. It handles technical design, contracts, UI, architecture, persistence, and implementation changes on its own as long as they do not change what the product delivers.

Q: Is there a version for OpenAI Codex CLI?

A: Yes. codex-workflows provides the same workflow model, adapted to the Codex CLI environment.

Q: Should I commit the work plan and task files in docs/plans/?

A: No. Recipes treat docs/plans/ as ephemeral working state. Consumed task files and intermediate fix files are cleaned up after successful execution. The work plan may remain for review or a later build and can be deleted when it is no longer needed. Add the following line to your project's .gitignore so this working state stays out of git:

docs/plans/

PRDs, ADRs, UI Specs, and Design Docs live in their own directories (docs/prd/, docs/adr/, docs/ui-spec/, docs/design/) and are intended to be committed.

---

🇨🇳 中文文档镜像 AI 翻译 2026-07-12
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
⚡ 功能介绍

本项目为 Claude Code 提供了一套强大的开发工作流插件。它支持后端功能开发(Backend Feature Development),通过 `/recipe-implement` 命令实现如 JWT 用户认证等复杂逻辑;同时支持前端功能开发(Frontend Feature Development),利用 `/recipe-front-design` 构建用户仪表盘等 UI 界面。此外,系统会自动生成覆盖全层级的 PRD 文档,确保从需求到实现的一致性。

📋 环境依赖

在开始使用前,系统会通过 `requirement-analyzer` 模块自动评估任务规模。该模块能够识别开发任务的复杂度,从而决定后续工作流的执行深度,确保 Claude 在处理不同规模的需求时都能保持高质量的输出。

🛠 安装步骤(Docker/pip/源码)

您可以根据开发需求选择不同的安装方式。基础环境配置完成后,可以通过 `/plugin install` 命令安装特定的技能插件。例如,安装开发技能插件:`/plugin install dev-skills@claude-code-workflows`。插件支持自动加载机制,当进入实现阶段时,`coding-principles` 会自动激活;在编写测试时,`testing-principles` 则会自动介入。

🚀 使用教程

本项目提供极简的快速上手体验。开发者无需记忆复杂的指令,只需根据工作类型调用对应的 Recipe 命令即可。后端开发使用 `/recipe-implement`,前端开发使用 `/recipe-front-design`,全栈开发则使用 `/recipe-fullstack-implement`。插件会自动处理从需求分析到代码实现的所有中间环节。

⚙️ 配置说明(含 MCP / env)

除了核心工作流,您还可以根据需要配置可选的扩展插件以增强体验。例如,使用 `claude-code-discover` 将创意转化为基于证据的 PRD;使用 `metronome` 来检测 Claude 是否存在“走捷径”的行为并进行提醒;或���通过 `linear-prism` 进行任务管理。这些插件可以根据您的工作流阶段进行灵活组合。

🔄 工作流/模块

本项目通过模块化的插件体系构建完整的工作流。根据您的工作内容,可以选择不同的插件包:后端、API 或 CLI 工具开发请安装 `dev-workflows`;React/TypeScript 前端开发请安装 `dev-workflows-frontend`;若需进行全栈开发(Backend + React),建议直接安装 `dev-workflows-fullstack` 插件以替代上述两者,实现一站式开发体验。

❓ FAQ 摘要

针对开发者常见的问题,我们提供了详细解答。关于指令学习:您无需学习特殊命令,只需使用特定的 Recipe 命令,插件会自动处理其余逻辑。关于错误处理:每个插件都内置了 `quality-fixer` Agent,能够自动检测并修复大部分开发过程中出现的错误,确保交付质量。

🎯 aiskill88 AI 点评 A 级 2026-07-12

高质量的开源Prompt模板,适合生产环境

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 想快速复用高质量提示词模板的 AI 用户
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • CLI:直接 npm install -g / pip install,命令行调用
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
claude-code-workflows 中文教程claude-code-workflows 安装报错怎么办claude-code-workflows MCP 配置claude-code-workflows Agent 工作流claude-code-workflows 与同类工具对比claude-code-workflows 最佳实践claude-code-workflows 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
  • 构建多智能体协作系统的 Agent 开发者
  • 想快速复用高质量提示词模板的 AI 用户
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效

👥 适合人群

内容创作者和自媒体人职场人士和学生ChatGPT / Claude 重度用户希望提升 AI 使用效率的普通用户

🎯 使用场景

  • 快速生成高质量的专业文案、分析报告或结构化内容
  • 利用 Prompt 框架引导 AI 解决特定领域的复杂问题
  • 在不同 AI 工具间复用经过验证的提示词模板

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +无需安装,立即可用
  • +适配所有主流 AI 工具
  • +经社区验证的最佳实践
⚠️ 不足
  • 效果依赖使用者对 Prompt 工程的熟悉程度
  • 不同模型和版本的响应效果可能存在差异
  • 复杂场景需结合实际需求二次调整
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

The quality-fixer agents handle test, type, lint, and build failures within the approved outcome, including adjacent changes required by the same responsibility or contract.
💡 AI Skill Hub 点评

AI Skill Hub 点评:克劳德代码工作流 的核心功能完整,质量优秀。对于内容创作者和自媒体人来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 克劳德代码工作流
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 claude-code-workflows
原始描述 开源Prompt模板:Production-ready development workflows for Claude Code, powered by specialized A。⭐628 · JavaScript
Topics promptclaude-codejavascriptai-agents
GitHub https://github.com/shinpr/claude-code-workflows
License MIT
语言 JavaScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/shinpr/claude-code-workflows

收录时间:2026-07-12 · 更新时间:2026-07-12 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →