agentleFS
nordinitnordinit/agent-hq/skills/workflow-definitions/SKILL.md

workflow-definitions

Skill1 starsChanged 48 days agoMITView on GitHub

Create, edit, delete, or verify Agent HQ Workflow Definitions page configuration.

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. About 0 are common, 21 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈21

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this whenever changing Agent HQ Workflow Definitions page configuration:

    line 8
  2. Very specific:

    Do not invent workflow_type payload keys where the tool contract says workflow_type.

    line 25
  3. Distinctive:

    Use Agent HQ MCP tools only.

    line 29
  4. Distinctive:

    Do not use raw Agent HQ API calls for Workflow Definitions page config changes.

    line 30
  5. Distinctive:

    Do not use direct SQL for Workflow Definitions page config changes.

    line 31
  6. Distinctive:

    Do not edit local config files as a substitute for changing Agent HQ Workflow Definitions.

    line 32
  7. Distinctive:

    If an MCP tool does not exist for the needed Workflow Definitions change, stop and escalate instead of inventing an API or SQL workaround.

    line 33
  8. Distinctive:

    Before writing, decide the target scope explicitly:

    line 37
  9. Distinctive:

    Do not edit a project-wide or workflow-type default when the user asked for a one-off workflow change.

    line 46
  10. Distinctive:

    Do not create a one-off override when the user asked for a reusable definition.

    line 47
  11. Distinctive:

    Read the existing Workflow Definitions configuration through MCP.

    line 52
  12. Distinctive:

    Read back the exact target configuration after the write.

    line 55
  13. Distinctive:

    Verify any affected inherited behavior, especially status availability, task-type availability, field requirements, gates, and transitions.

    line 56
  14. Distinctive:

    Before changing task/status definitions:

    line 61
  15. Distinctive:

    Prefer adding a new allowed value over renaming/removing an active one unless migration is part of the task.

    line 64
  16. Distinctive:

    Before changing field schemas:

    line 66
  17. Distinctive:

    Do not make fields required unless they block safe dispatch, handoff, or verification.

    line 68
  18. Distinctive:

    Read back stored JSON/schema shape after writing.

    line 69
  19. Distinctive:

    Before changing gates or workflow defaults:

    line 71
  20. Distinctive:

    Verify the matching lifecycle transition still exists.

    line 72
  21. Distinctive:

    Do not weaken QA/review requirements casually.

    line 73
  22. Distinctive:

    Never manually set QA outcomes or advance QA lanes as part of verification.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workflow Definitions

Use this whenever changing Agent HQ Workflow Definitions page configuration:

  • workflow types
  • workflow type task/status definitions
  • allowed task types
  • task field schemas
  • status templates
  • workflow/status defaults shown or edited from Workflow Definitions
  • evidence gate requirements when they are part of the Workflow Definitions workflow

Naming Compatibility

The product surface is Workflow Definitions. MCP tool names have completed the rename; machine-readable payload fields have not:

  • MCP tools are named agent_hq_*_workflow_type* (for example agent_hq_list_workflow_types). Each tool has exactly one name — the workflow_type spellings and the atlas_* names are gone.
  • Payload and response fields still use workflow_type, workflow_id, and similar keys.
  • Do not invent workflow_type payload keys where the tool contract says workflow_type.

Core Rules

  • Use Agent HQ MCP tools only.
  • Do not use raw Agent HQ API calls for Workflow Definitions page config changes.
  • Do not use direct SQL for Workflow Definitions page config changes.
  • Do not edit local config files as a substitute for changing Agent HQ Workflow Definitions.
  • If an MCP tool does not exist for the needed Workflow Definitions change, stop and escalate instead of inventing an API or SQL workaround.

Scope Decision

Before writing, decide the target scope explicitly:

  • project
  • workflow type
  • task type
  • status
  • field schema
  • gate or workflow default

Do not edit a project-wide or workflow-type default when the user asked for a one-off workflow change. Do not create a one-off override when the user asked for a reusable definition.

Workflow

  1. Resolve the target project and workflow type from Agent HQ.
  2. Read the existing Workflow Definitions configuration through MCP.
  3. Identify the smallest config object that must change.
  4. Apply the change through Agent HQ MCP only.
  5. Read back the exact target configuration after the write.
  6. Verify any affected inherited behavior, especially status availability, task-type availability, field requirements, gates, and transitions.
  7. Report what changed and which project/workflow type it affects.

Safety Checks

Before changing task/status definitions:

  • Confirm existing tasks will not be stranded in removed statuses.
  • Confirm assignment rules and transitions still reference valid statuses and task types.
  • Prefer adding a new allowed value over renaming/removing an active one unless migration is part of the task.

Before changing field schemas:

  • Preserve existing field keys unless the user explicitly asks for a schema migration.
  • Do not make fields required unless they block safe dispatch, handoff, or verification.
  • Read back stored JSON/schema shape after writing.

Before changing gates or workflow defaults:

  • Verify the matching lifecycle transition still exists.
  • Do not weaken QA/review requirements casually.
  • Never manually set QA outcomes or advance QA lanes as part of verification.

Output Standard

When finished, include:

  • project id/name
  • workflow type or definition changed
  • specific config objects changed
  • MCP readback result
  • any follow-up needed for assignment rules, model routing, tasks, or agents

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.