Skip to content
Back to skills

Workflow

ASecurity

Picks the flow for a task by its risk class: the default flow for routine and elevated changes, the critical flow for critical ones, and research, docs passes and batches. Use before the first edit in a repository, before issue or pull request work, and before research with two or more items.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsrustgonodecode-reviewgit

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add CedarLoom/cedarloom --skill workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cedarloom-workflow/badge)](https://www.skillsdirectory.com/skills/cedarloom-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workflow
description: "Picks the flow for a task by its risk class: the default flow for routine and elevated changes, the critical flow for critical ones, and research, docs passes and batches. Use before the first edit in a repository, before issue or pull request work, and before research with two or more items."
user-invocable: false
metadata:
  writes: "The risk line `Risk: <class> (<reason>)` before the first edit; commits and a pull request in the project's convention."
---

# Workflow

1. **Classify.** Before the first edit or command, write `Risk: <routine|elevated|critical> (<reason>)` by Classify the risk in the working rules.
   - A change to authentication, permissions, secrets, input validation, production data or deploy configuration is critical. A file under `sensitivePaths` (`cedarloom.json`) makes it at least elevated. Keep a class the user or a spec gives, or raise it. Unsure whether critical: critical. Riskier work: a new line before the next edit.
   - Routine and elevated run the default flow below; critical runs the [critical flow](critical.md).
   - Research: [research.md](research.md). A docs pass over several documents: [docs.md](docs.md). A bug of unknown cause: [diagnose.md](diagnose.md) first. A request that reads two ways: [settle.md](settle.md) first.
2. **Build** in this session: the change and the callers, tests and docs it breaks, with targeted checks after each edit. Commit by the project's convention, else [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/).
3. **Review once.** A fresh subagent (`cl-workflow:review`) runs `/code-review high` on the branch's diff; a review that reports void (its context compacted) reruns as parts, one fresh reviewer each. A routine, behavior-free change (docs text, comments, copy, a rename) skips steps 3 and 4.
4. **Fix once.** Fix the real Blocking and Important findings ([review-findings.md](review-findings.md)), then a fresh subagent (`cl-workflow:recheck`) rechecks the fix diff alone. Left after it: Blocking keeps the pull request open and goes to the coordinator or owner; Important becomes a follow-up issue; nits drop.
5. **Pull request.** Run the project's full gate once after the last edit, push, and open the pull request. Add the label `cl:session` where the repository has it.
6. **Follow up until done.** Wait on CI with a blocking watch (`gh pr checks <n> --watch --interval 30`).
   - Red CI: at most 2 fix attempts, each with the recheck of step 4, then hand off with the failing log.
   - Answer or fix each trusted review comment once. Review bots get the leftover rule of step 4 and start no new round.
   - Done: merged through the project's merge path, or handed off to the coordinator or owner with a stated reason. Then remove `cl:session`.

## Batch

When the user asks for it or names several tasks for one branch: build them one after another, each with its own Risk line. A critical task leaves the batch. Steps 3 to 6 run once for the branch.

## Roles and texts

- Subagents run on the roles of the SessionStart model line: review on `review`; recheck, gather and research on `light`. This session builds and fixes. Codex, or no plugin agents: a general subagent briefed with the agent's lines.
- Read-only lookups (searches, logs, CI output, pull request status) go to `cl-workflow:gather`; independent items, one subagent each in parallel.
- GitHub texts: write only a kind's fields; `node <this skill's folder>/text.mts <kind> <fields file> <out file>` writes the `--body-file`. A project template wins: fill its sections, then `text.mts check <file> <template>`.
- Questions go where the task brief sends them, else one issue per task in the project's tracker, else the report.
- Report done as Verify in proportion says. After a compaction, reread this skill.

Files in this skill

  • SKILL.md10.6 KB
  • agents/openai.yaml97 B
  • deep.md4.3 KB
  • design.md2.3 KB
  • diagnose.md2.2 KB
  • docs.md1.9 KB
  • domain.md2 KB
  • draft.md610 B
  • fable.md504 B
  • models.json1.2 KB
  • models.md520 B
  • models.mjs12.5 KB
  • research.md2.5 KB
  • risk.md1.4 KB
  • settle.md1.4 KB
  • software.md6.3 KB
  • tests.md2.4 KB
  • text-kinds.mts18.8 KB
  • text.mts11.8 KB
  • zoom-out.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.