Agent Skillsfranklioxygen/agent-workflows › workflow-automation

workflow-automation

GitHub

自动化路由工程任务至对应工作流并执行步骤,覆盖项目初始化、功能开发、修复、审查及重构等场景。

skills/workflow-automation/SKILL.md franklioxygen/agent-workflows

Trigger Scenarios

需要自动化选择并执行工程工作流 将用户请求路由到正确的工作流

Install

npx skills add franklioxygen/agent-workflows --skill workflow-automation -g -y
More Options

Use without installing

npx skills use franklioxygen/agent-workflows@workflow-automation

指定 Agent (Claude Code)

npx skills add franklioxygen/agent-workflows --skill workflow-automation -a claude-code -g -y

安装 repo 全部 skill

npx skills add franklioxygen/agent-workflows --all -g -y

预览 repo 内 skill

npx skills add franklioxygen/agent-workflows --list

SKILL.md

Frontmatter
{
    "name": "workflow-automation",
    "description": "Select and execute the right engineering workflow from an agent-workflows library for project initialization, feature work, bug fixes, code review, incident response, refactoring, and tech debt cleanup. Use when Codex should automate workflow selection, apply the workflow steps directly, or route a user request into the correct workflow instead of manually reading the markdown workflow files."
}

Workflow Automation

Description: Automate the agent-workflows library by routing a task to the correct workflow and executing the matching steps directly.

Quick Start

  • Run scripts/find_workflow_library.py --json from this skill directory, or run the script by its absolute path, to locate the nearest agent-workflows library and get the file map.
  • If the library is not near the current workspace, set AGENT_WORKFLOWS_ROOT to the library root before running the script.
  • Read references/workflow-routing.md to classify the task.
  • Read references/library-loading.md to know which shared docs and workflow file to load.
  • Follow shared safety, validation, and scope rules in ../_shared/references/skill-operating-rules.md.
  • Apply the workflow directly. Do not just restate the prompt text unless the user explicitly asks for prompt templates.

Operating Rules

  • Treat the workflow markdown files as operating instructions, not as documentation to paraphrase back to the user.
  • Use one primary workflow at a time. If a task crosses workflow boundaries, complete or pause the current workflow and then hand off explicitly to the next one.
  • Respect an explicitly requested workflow unless it is clearly unsafe or mismatched; if you override it, explain why.
  • Keep context lean: load README.md, the relevant shared docs, and the selected workflow file. Do not load every workflow file.
  • For code-changing workflows, execute the workflow steps in the repository, including validation and final reporting.
  • For read-only workflows such as code review or survey-only cleanup, stay read-only unless the user explicitly asks for edits.

Route the Task

Read references/workflow-routing.md when the correct workflow is not obvious. Use these defaults:

  • New capability, design change, or product behavior change: feature workflow.
  • New project, greenfield codebase, repository scaffold, or initial tooling setup: project initialization workflow.
  • Existing behavior is wrong or regressed: bug-fix workflow.
  • User asks for review, findings, PR review, or diff review: code-review workflow.
  • Live or recent production outage, mitigation, alert, or incident: incident workflow.
  • Behavior must stay the same while structure improves: refactoring workflow.
  • Cleanup, dependency upgrade, dead code removal, TODO resolution, or debt survey: tech-debt cleanup workflow.

If the classification is materially ambiguous, ask one short clarifying question. If the ambiguity is low-risk, choose the most likely workflow and state the assumption.

Locate the Library

  • Use scripts/find_workflow_library.py --json first, resolving the path relative to this skill directory if the current working directory is elsewhere.
  • The script checks AGENT_WORKFLOWS_ROOT, then script-relative paths, then walks upward from the start path.
  • If the script finds a library root, use the returned paths.
  • If no library is found, ask the user for the agent-workflows path instead of guessing.

Execute the Workflow

  • Read references/library-loading.md before opening files.
  • Run the workflow’s preflight, safety rule, triage gate, and only the necessary steps for the current task.
  • Follow the library’s shared conventions plus the workflow-specific rules.
  • For incident work, prioritize mitigation first and treat destructive actions as approval-gated.
  • For review work, default to findings-first and avoid edits unless explicitly asked.

References

Version History

  • 063f52c Current 2026-07-05 20:14

Same Skill Collection

skills/docs-maintenance/SKILL.md
skills/migration-planning/SKILL.md
skills/performance-review/SKILL.md
skills/project-initialization/SKILL.md
skills/release-prep/SKILL.md
skills/security-review/SKILL.md
skills/test-strategy/SKILL.md
skills/workflow-maintainer/SKILL.md
zh-cn/skills/docs-maintenance/SKILL.md
zh-cn/skills/migration-planning/SKILL.md
zh-cn/skills/performance-review/SKILL.md
zh-cn/skills/project-initialization/SKILL.md
zh-cn/skills/release-prep/SKILL.md
zh-cn/skills/security-review/SKILL.md
zh-cn/skills/test-strategy/SKILL.md
zh-cn/skills/workflow-automation/SKILL.md
zh-cn/skills/workflow-maintainer/SKILL.md

Metadata

Files
0
Version
063f52c
Hash
585fb46f
Indexed
2026-07-05 20:14

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 22:27
浙ICP备14020137号-1 $Гость$