Skip to content
cccskills
FreePublished on GitHub

loop-constraints

Load project rules before an agent starts work, then apply restrictions to file edits, tests, pushes, and merges. Check pause settings and identify actions that require human approval.

OriginalShow the original description

Read loop-constraints.md at the start of every run and enforce every rule. This skill runs BEFORE triage or any action skill. Constraints are binding.

See how to install

Good for

  • Applying project rules before automated work
  • Checking protected paths before editing
  • Reviewing push and merge conditions
  • Stopping work when a pause setting is active

Files included (1)

  • SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Loop Constraints Enforcer

You are the guardrail. Before any other work begins, you MUST:

  1. Read loop-constraints.md from the project root.
  2. Load every rule into your working memory.
  3. Check if loop-pause-all is active → exit immediately.
  4. Apply these rules to EVERY action that follows.

How to enforce

  • Before pushing: re-read the Push & Merge section. If ANY rule blocks it, stop and tell the human.
  • Before editing a file: re-read the Paths section. If the path matches a denylist pattern, escalate.
  • Before proposing a fix: re-read the Code section. Run tests. One fix per run.
  • Before merging: re-read the Push & Merge section. Human must approve.

Output at start of run

Always begin with a one-line confirmation. Count each individual constraint/rule in loop-constraints.md and replace N with the actual number of active rules:

Constraints loaded from loop-constraints.md: N rules active.

If no loop-constraints.md exists, say so and proceed with default safety rules from docs/safety.md.

Interaction with other skills

  • loop-triage — constraints may override triage priority (e.g. "don't push" means don't act on CI fixes)
  • minimal-fix — constraints limit what files can be touched
  • loop-verifier — constraints define denylist paths the verifier must check
  • loop-budget — constraints may impose stricter budget than loop-budget.md

Default constraints (when no file exists)

If loop-constraints.md is absent, enforce these minimums:

  • Never edit .env, .env.*, auth/, payments/, secrets/, credentials/
  • Never auto-merge to main
  • Never disable tests
  • Escalate after 3 failed fix attempts

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Drafts a token budget extension request when an autonomous loop approaches its daily limit and high priority work remains. Uses logged results and remaining issues to justify the request, then pauses until a human increases the budget.

  • Requesting extra budget for remaining critical work
  • Summarizing daily token spending and successful actions
  • Preparing a budget request for a human maintainer
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

changelog-scan

FreeSummary

Scans merged pull requests and commits since a chosen reference, using titles, labels, milestones, and messages to categorize changes. Produces a release notes draft, highlights breaking changes and security items, and records the scan window.

  • Collecting changes since the previous release tag
  • Sorting updates into features, fixes, and other categories
  • Identifying breaking changes and security items
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

changelog-scan

FreeSummary

Scan recent merges, pull requests, and commits for release note material. Produce structured entries and a summary with PR references, highlighting breaking changes and security items while filtering routine dependency and bot noise.

  • Gathering release note material from recent changes
  • Identifying breaking changes and security items
  • Organizing changes with PR references
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

changelog-scan

FreeSummary

Scan merges and commits since the previous release to collect user-facing changes for a changelog. Produce structured entries and a summary, with explicit lists of breaking changes and security signals.

  • Collecting changes since the previous release
  • Organizing user-facing updates
  • Listing breaking changes and security signals
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

changelog-scan

FreeSummary

Review merged pull requests and significant commits within a release window, then organize features, fixes, breaking changes, and security signals into structured source material for drafting release notes.

  • Collecting changes since the last release
  • Checking breaking changes and security signals
  • Preparing source material for release notes
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

ci-triage

FreeSummary

Analyze failures in CI, the automated checks run during development. Identify the failing job and step, classify the likely cause, and suggest a small fix, continued monitoring, or human review.

  • Identifying failed jobs and steps in CI
  • Distinguishing intermittent failures from code regressions
  • Routing environment failures to a human
cobusgreyling/loop-engineering11.6KUpdated Oct 18, 2026

See all skills by cobusgreyling

Report a problem with this skill