Skip to content
Back to skills

Govkit Loop Engineering Feature

ASecurity

Work on one feature in rounds until GovKit answers done, and stop for a person on escalate, on no progress or at the round limit.

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
developmentgo

Works with

  • claude code

Security analysis

A100/100

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

Scanned December 4, 2026

npx -y skills add Accelerated-Innovation/governed-ai-delivery --skill govkit-loop-engineering-feature --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Govkit Loop Engineering Feature?

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

Security grade badge for Govkit Loop Engineering Feature
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/accelerated-innovation-govkit-loop-engineering-feature/badge)](https://www.skillsdirectory.com/skills/accelerated-innovation-govkit-loop-engineering-feature)

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: govkit-loop-engineering-feature
description: Work on one feature in rounds until GovKit answers done, and stop for a person on escalate, on no progress or at the round limit.
---

# Feature loop

Work on one feature in rounds. After each round, GovKit answers `done`, `continue` or `escalate` for that feature. You stop when the rules below say so. GovKit does not run this loop; you do.

Read [the round and the stop rules](references/feature-loop.md) before you start. In Claude Code, also read [driving the loop in Claude Code](references/claude-code.md).

## Before the first round

Get these from the person who starts the loop. Do not guess any of them.

- The feature's name: a directory under `features/`.
- The request file, the base commit and the accepted policy checkout that `govkit conform` needs.
- The command that runs the tests and writes JUnit XML.
- The round limit. It is 10 unless the person states another number.
- A path for the run record, if the person wants one. Read [the run record](references/run-record.md) when you have a path: the first write comes before the first round.

The `govkit-loop-engineering-goal` skill gathers these and writes the prompt that starts this loop.

## One round

1. Do what the reasons call for. In the first round, implement the feature. For `results-stale` that is only running the tests again. In a later round, if there is nothing the reasons call for that you may do, do not run the round: stop, as the stop rules say.
2. Run the tests.
3. Run `govkit evidence --target . --record`.
4. Run `govkit conform` with the request, the base, the policy checkout and `--feature <name>`.
5. Act on the exit status.
6. If you have a path for the run record, write the record.

| Exit | State | What you do |
|---|---|---|
| 0 | `done` | Stop and report |
| 1 | `continue` | Read every reason, then start the next round, unless a stop rule applies |
| 3 | `escalate` | Stop and hand over to a person |
| 2 | The run could not start | Stop and report the message. Do not retry with changed inputs |

GovKit also prints the state as a line: `Feature <name>: DONE`, `Feature <name>: CONTINUE` or `Feature <name>: ESCALATE`. A run that could not start prints no such line. Read the state from that line when you cannot see the exit status. Run `govkit conform` as a command of its own, so that the line is in the output.

## Stop rules

Stop and hand over to a person when any of these is true:

- The state is `escalate`.
- Two rounds in a row give the same set of reason codes. You are not making progress.
- You have completed the round limit.
- The state is `continue` and there is nothing the reasons call for that you may do. Write the line `Loop stopped: nothing to change`, then say why. Do not run the commands again to see whether the answer changes.

The last rule needs an answer from GovKit first. Do not stop on it before the first round: implement what the definition supports and let GovKit report.

## What you must not do

- Do not edit `acceptance.feature`, `eval_criteria.yaml` or an existing test to reach done. GovKit reports a changed definition as `definition-changed`, and the state becomes `escalate`. It reports a changed test as `protected-changed` only where the project's accepted policy protects its tests. The rule holds either way: an edit GovKit does not report is still not allowed.
- Do not skip a test, or mark one as expected to fail, to reach done.
- Do not start a paid evaluation or one that needs a person. GovKit reports those as owed.
- Do not write the results by hand. Results come from the test run.
- Do not call a local `done` approved, reviewed or ready to merge.

## What you report when you stop

- The final state, and how many rounds you ran.
- Every reason code and message from the last run, as GovKit printed them.
- Which stop rule applied.
- What you changed.

A loaded skill is guidance, never evidence that a check passed. Accepted project policy remains authoritative.

Files in this skill

  • SKILL.md3.9 KB
  • references/claude-code.md4.7 KB
  • references/feature-loop.md4.4 KB
  • references/run-record.md4.7 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 development →

Comments

Loading comments…

Newsletter

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