Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

workflow工作流

Agent Skill

workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1

周安装

12

GitHub Stars

公开资料未说明

下载量

97
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workflow(工作流)
来源仓库:https://github.com/squirrelsoft-dev/agent-skills
仓库路径:skills/workflow
安装命令:
npx skills add https://github.com/squirrelsoft-dev/agent-skills --skill workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/squirrelsoft-dev/agent-skills --skill workflow

简介

workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持通过指定仓库、路径或关键词进行信息聚合与过滤,适用于研究、数据整理等场景。
  • 可通过 npx skills add 命令从 GitHub 安装,具体用法需结合原始 README 进一步确认。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Workflow Setup

Installs the development workflow layer. Requires an existing .claude/ directory — run the greenfield or brownfield skill first.


Step 1 — Preflight

Check that prerequisites exist:

ls .claude/ 2>/dev/null || echo "MISSING"
ls .claude/hooks/stop-quality-gate.sh 2>/dev/null && echo "GATE_EXISTS" || echo "GATE_MISSING"
cat .claude/settings.json 2>/dev/null | grep -q "AGENT_TEAMS" && echo "TEAMS_ENABLED" || echo "TEAMS_DISABLED"

If .claude/ is missing, stop:

"No.claude/ directory found. Run the greenfield or brownfield skill first, then re-run /workflow."

If .claude/commands/ or .claude/agents/ already have files, warn:

"Existing commands/agents will be overwritten. Continue? (yes/no)"

Step 2 — Check for Previous Configuration

Before starting the interview, check if this skill has been run before:

SKILL_NAME="workflow" \
bash "${CLAUDE_SKILL_DIR}/scripts/load-config.sh"

If the output is a non-empty JSON object (not {}), previous answers exist. Present them:

Previous workflow configuration found:

  Orchestration: [ORCHESTRATION]
  Commands:      [COMMANDS]
  Gitleaks:      [GITLEAKS]
  Semgrep:       [SEMGREP]

Would you like to:
  a) Update — reinstall all commands and agents using these settings
  b) Reconfigure — start the interview from scratch

Use AskUserQuestion and wait for the response.

  • If Update: load all saved values into environment variables and skip to Step 3.
  • If Reconfigure: proceed to the full interview below.

If no previous config exists, proceed directly to the interview.


Step 2b — Interview

Ask each question using AskUserQuestion and wait for the response before proceeding to the next question.

Question 1 — Orchestration Mode

Use AskUserQuestion with this prompt:

Setting up your development workflow.

Orchestration mode — How should /breakdown, /spec, and /work orchestrate agents?

  a) Subagents — parallel (recommended) — parallel workers in isolated git
     worktrees, merged by the git-expert agent. Stable, works everywhere.

  b) Subagents — PEE loop — sequential Planner → Executor → Evaluator loop
     per spec on a shared branch, with one full quality pass at the end.
     One-shot subagents (no team infrastructure). Optimized for spec-compliance
     correctness, not raw speed. Uses opus for planner/evaluator and sonnet
     for the executor.

  c) Agent teams (experimental) — teammates work on parallel domains of the
     codebase on a shared branch. Requires CC v2.1.32+ and
     CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS enabled.

Map the answer to the internal ORCHESTRATION value: a → subagents, b → loop, c → teams.

Question 2 — Commands

Use AskUserQuestion with this prompt:

Which commands would you like installed? (default: all)

  a) /breakdown, /spec, /work  — feature planning and implementation   ✓
  b) /commit                   — conventional commit message generator  ✓
  c) /review                   — code review of current changes         ✓
  d) /pr, /squash-pr, /address-pr-comments — pull request workflow      ✓
  e) /fix-issue                — implement a GitHub issue end-to-end    ✓
  f) /security-scan            — on-demand deep security scan           ✓
  g) /triage                   — GitHub issue analysis (requires gh)    ✓
  h) /update-skills            — find and install skills for your deps  ✓

Enter "all" or list letters to include (e.g. "a, b, d"):

Step 2c — Save Configuration

After the interview (or after loading previous config for an update), save the current answers:

SKILL_NAME="workflow" \
CONFIG_JSON='{"ORCHESTRATION":"[val]","COMMANDS":"[val]","GITLEAKS":"[val]","SEMGREP":"[val]"}' \
bash "${CLAUDE_SKILL_DIR}/scripts/save-config.sh"

Replace [val] with actual values. This writes to .claude/skill-config.json so future runs can reuse these answers.


Step 3 — Detect Quality Tools

bash scripts/detect-tools.sh

For any missing tools, list what they do and how to install them. Do NOT offer to install them automatically.

Recommended tools:

  gitleaks — Scans for accidentally committed secrets
    https://github.com/gitleaks/gitleaks#installing
    brew install gitleaks

  semgrep — SAST security scanner (injection, OWASP Top 10)
    https://semgrep.dev/docs/getting-started/
    pip install semgrep  /  brew install semgrep

  gh CLI — Required for /triage, /pr, /squash-pr, /address-pr-comments
    https://cli.github.com/
    brew install gh

The quality gate will skip checks for tools that aren't installed.

Step 4 — Install Commands and Agents

Run in parallel if subagents are available, otherwise sequential:

ORCHESTRATION="[subagents|teams|loop]" \
COMMANDS="[comma-separated approved list]" \
bash scripts/install-commands.sh

ORCHESTRATION="[subagents|teams|loop]" \
bash scripts/install-agents.sh

If gh CLI is available and /triage was approved:

bash scripts/install-triage-skill.sh

Step 5 — Verify Quality Gate

Confirm the installed .claude/hooks/stop-quality-gate.sh is the scoped, stack-aware template (gitleaks and semgrep are now built into the hook's shared security block and run only on changed files — no patching needed):

bash scripts/patch-quality-gate.sh

The script is a no-op when the hook is already the scoped template. If it detects an older unscoped hook, it prints instructions to re-run greenfield/brownfield to regenerate.


Step 6 — Patch Settings for Agent Teams (if chosen)

If orchestration = teams only (the PEE loop mode uses one-shot subagents and does not need team infrastructure):

bash scripts/patch-settings-teams.sh

Adds TaskCompleted hook to .claude/settings.json that runs format.sh and task-summary.sh. Quality gates are handled by the dedicated Quality Gate agent between groups — no teammate-quality-gate.sh is created.

Note to developer after patching:

VS Code may show schema warnings on TaskCompleted. This is a known schema lag — agent teams hooks are newer than the schema. The hooks work correctly at runtime. To suppress the warning add this to .vscode/settings.json: {"json.schemas": [{"fileMatch": ["**/.claude/settings.json"], "schema": {}}]}

Step 7 — Commit

git add .claude/
git commit -m "chore(claude): install development workflow"

Step 8 — Completion

✅ Workflow Setup Complete

Commands installed:
  /breakdown + /spec + /work  — [subagents parallel | subagents PEE loop | agent teams] orchestration
  /commit                     — conventional commit message generator
  /review                     — code review of current changes
  /pr + /squash-pr            — pull request workflow
  /address-pr-comments        — address GitHub review comments
  /fix-issue                  — implement a GitHub issue end-to-end
  /security-scan              — on-demand deep security scan
  /triage                     — GitHub issue analysis and planning
  /update-skills              — find and install skills for project dependencies

Agents installed:
  architect                                       — plans features and architecture
  [implementer | domain-implementer | planner+executor+evaluator]  — implement specs
  quality                                         — 8-gate quality review
  git-expert                                      — worktrees, merges, verification

Quality tools:
  gitleaks: [✅ active in quality gate | ⚠️ not installed]
  semgrep:  [✅ active in quality gate | ⚠️ not installed]
  gh CLI:   [✅ installed | ⚠️ not installed — /triage, /pr, /squash-pr need this]

Agent teams hooks: [added to settings.json | not needed for this orchestration mode]

⚠️ Restart Claude Code to load the new commands and agents.

Typical workflow once restarted:
  /breakdown my-feature     — decompose into tasks
  /spec my-feature          — generate implementation specs
  /work my-feature --all    — implement with agents
  /squash-pr my-feature     — create PR

Reference Files

  • Commands: references/commands/
  • Agents: references/agents/
  • Triage skill: references/triage-skill.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38%
按下载量换算37

Claude

29.81%
按下载量换算29

Cursor

17.25%
按下载量换算17

Gemini CLI

9.58%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills