Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Loop Preflight

ASecurity

Actually run a loop's pre-existing feedback mechanisms (gate scripts, test suites, checks inherited from prior work) before the loop starts, to confirm they still work — not just that the plan describes them. Use before starting an unattended loop (chief-loop or similar) when the plan depends on feedback that already exists, rather than feedback the loop will build fresh. Complements `loop-readiness`, which reviews the plan statically and never executes anything — this skill is the one that a...

65 stars
0 votes
0 copies
0 views
Added 9/20/2026
testinggorails

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add thaitype/chief --skill loop-preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loop Preflight?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Loop Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaitype-loop-preflight/badge)](https://www.skillsdirectory.com/skills/thaitype-loop-preflight)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: loop-preflight
description: Actually run a loop's pre-existing feedback mechanisms (gate scripts, test suites, checks inherited from prior work) before the loop starts, to confirm they still work — not just that the plan describes them. Use before starting an unattended loop (chief-loop or similar) when the plan depends on feedback that already exists, rather than feedback the loop will build fresh. Complements `loop-readiness`, which reviews the plan statically and never executes anything — this skill is the one that actually runs things.
---

# Loop preflight

`loop-readiness` reviews a plan's feedback mechanisms *statically* — it can confirm a
gate script is described in the plan, but by its own rule it never executes anything, so
it can't confirm the gate still actually runs. This skill fills that gap: it runs the
plan's existing feedback mechanisms for real, once, before the loop starts.

A gate can be described accurately in the plan and still be broken — an unrelated change
landing between when the plan was written and when the loop actually starts can silently
break something the plan assumes still works (e.g. a hardcoded path getting renamed
elsewhere). Only actually running the check reveals that; a static read of the plan
cannot.

This is a standalone check. Run it whenever a loop depends on pre-existing feedback,
whether or not `loop-readiness` was run first — `loop-readiness`'s own report should
point here when it finds feedback the plan treats as already in place.

## Step 1: Identify

From the plan (or a list the user gives directly), identify the concrete commands that
are pre-existing verification the plan depends on — gate scripts, test suites, lint/type
checks cited as feedback. This does **not** include the loop's actual work (deploy
steps, migrations, code changes) — only the checks that trigger these to feedback about
plan-driven work already have to keep passing.

List the identified commands back to the user before running anything. Don't assume;
confirm the list is right and complete.

## Step 2: Guardrails, then run

Before running each confirmed command:

- **Scope check** — only run commands identified in Step 1 as pre-existing feedback.
  Never run anything else from the plan (a deploy step, a migration, a data write) even
  if it's nearby in the same file or the user's earlier go-ahead was general.
- **Production check** — if a command's path, arguments, or target look
  production-related (e.g. references something named `prod`, or a shared/live system),
  stop and confirm with the user specifically before running that one — even if they
  already agreed to run the batch as a whole. A general "yes, run them" from Step 1
  isn't informed consent for a specific command that turns out to touch something live.

Run each confirmed, in-scope, cleared command for real, in the actual environment the
loop will operate in (not a substitute or sandboxed copy) — the point is confirming the
real thing works. Capture the exit code and output.

## Step 3: Report

For each command: pass or fail, with the actual output/error on failure — not just "the
gate is present." A failure here is a real, confirmed blocker, not a recommendation to
weigh; report it as one.

## Relationship to `loop-readiness`

Separate skill, no shared state or file. `loop-readiness` keeps its own "never execute"
rule fully intact — this skill exists precisely so that rule doesn't have to bend.

Attribution

thaitypethaitype
View sourceMore from thaitype →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

393431 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Springboot Tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

2456590 votes

Eval Harness

克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则

2456590 votes
View all in testing →