From swcc
Orchestrates agent-based consultation for task planning: sorting, research with user input, left/right debate, final decision—outputs reports without code execution.
npx claudepluginhub ylxmf2005/swcc --plugin swccThis skill uses the workspace's default tool permissions.
运行中办分拣 → 政研室调研 → 政协协商 → 党委决策,产出实施方案但**不执行代码变更**。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
运行中办分拣 → 政研室调研 → 政协协商 → 党委决策,产出实施方案但不执行代码变更。
接受 $ARGUMENTS 作为 TASK_DESC。如果为空,从对话上下文提取。
创建会话目录: 从任务描述提取 2-4 个英文关键词作为 slug(kebab-case,不超过 30 字符),生成:
SESSION_DIR=".tmp/swcc/$(date +%Y-%m-%d)-{slug}"
mkdir -p "$SESSION_DIR"
Agent tool parameters:
subagent_type: "swcc:zhongban"
prompt: "请对以下任务进行分拣评估:
任务描述:{TASK_DESC}
请调查代码库并判定任务规模(小/中/大)。
请将报告保存到 `{SESSION_DIR}/zhongban-report.md`"
description: "中办收文分拣"
等待完成。读取 {SESSION_DIR}/zhongban-report.md 提取 SCALE。
Agent tool parameters:
subagent_type: "swcc:zhengyanshi"
prompt: "请对以下任务进行前期调研与方案预研:
任务描述:{TASK_DESC}
中办分拣报告请从此文件读取:`{SESSION_DIR}/zhongban-report.md`
请按照你的工作流程,深入调查项目上下文、识别关键问题和模糊点、提出 2-3 种可选方向。
请将报告保存到 `{SESSION_DIR}/zhengyanshi-report.md`"
description: "政研室前期调研"
等待完成。读取报告展示给用户。
向用户确认方向:
政研室调研完成。请确认方向后继续协商。
输入你的选择或反馈。如无异议,回复"继续"。
等待用户回复。 记为 USER_DIRECTION。
无论规模大小,/xieshang 总是进行协商(即使是小任务也跑,因为用户显式要求了协商)。
并行调用左派 + 右派(1 条消息,2 个 Agent 调用):
Agent call #1:
subagent_type: "swcc:zuopai"
prompt: "请对以下任务提出你的左派革新方案:
任务描述:{TASK_DESC}
中办代码库摘要请从此文件读取:`{SESSION_DIR}/zhongban-report.md`
政研室调研报告请从此文件读取:`{SESSION_DIR}/zhengyanshi-report.md`
{如果有 USER_DIRECTION:}
用户确认的方向:{USER_DIRECTION}
请将报告保存到 `{SESSION_DIR}/zuopai-proposal.md`"
description: "政协左派提案"
Agent call #2:
subagent_type: "swcc:youpai"
prompt: "请对以下任务提出你的右派稳健方案:
任务描述:{TASK_DESC}
中办代码库摘要请从此文件读取:`{SESSION_DIR}/zhongban-report.md`
政研室调研报告请从此文件读取:`{SESSION_DIR}/zhengyanshi-report.md`
{如果有 USER_DIRECTION:}
用户确认的方向:{USER_DIRECTION}
请将报告保存到 `{SESSION_DIR}/youpai-proposal.md`"
description: "政协右派提案"
等待完成。
如果 SCALE = 大: 追加调用中间路线:
Agent tool parameters:
subagent_type: "swcc:zhongjian"
prompt: "请在左右两派方案基础上,提出你的中间路线折中方案:
任务描述:{TASK_DESC}
请从以下文件读取上游报告:
- 中办分拣报告:`{SESSION_DIR}/zhongban-report.md`
- 政研室调研报告:`{SESSION_DIR}/zhengyanshi-report.md`
- 左派方案:`{SESSION_DIR}/zuopai-proposal.md`
- 右派方案:`{SESSION_DIR}/youpai-proposal.md`
请将报告保存到 `{SESSION_DIR}/zhongjian-proposal.md`"
description: "中间路线折中"
等待完成。
Agent tool parameters:
subagent_type: "swcc:dangwei"
prompt: "请综合政协各派意见,做出最终实施决策:
任务描述:{TASK_DESC}
请从以下文件读取各方报告:
- 中办分拣报告:`{SESSION_DIR}/zhongban-report.md`
- 政研室调研报告:`{SESSION_DIR}/zhengyanshi-report.md`
- 左派方案:`{SESSION_DIR}/zuopai-proposal.md`
- 右派方案:`{SESSION_DIR}/youpai-proposal.md`
{如果 SCALE = 大,加上:}
- 中间路线方案:`{SESSION_DIR}/zhongjian-proposal.md`
{如果有 USER_DIRECTION:}
- 用户确认的方向:{USER_DIRECTION}
请将决策报告保存到 `{SESSION_DIR}/dangwei-decision.md`"
description: "党委集中决策"
等待完成。
读取 {SESSION_DIR}/dangwei-decision.md 的完整内容并展示给用户。
政协协商 + 党委决策完成。所有中间产物保存在 {SESSION_DIR}/
如需执行此方案,运行:/zhixing
$ARGUMENTS