workflow-preflight

workflow-preflight is a skill for Claude Code from charlesjones-dev/claude-code-plugins-dev. It costs 51 tokens per session (5,133 once invoked), scanned A, original, MIT.

A preflight command that discovers and runs a project's configured type checks, lint checks, and tests. These checks catch invalid code, style problems, and behavior regressions before changes are shared.

In plain words
What is it for?
Use it before submitting or pushing code to run the repository's configured checks, inspect failures, and optionally repair them.
Why use it?
It gathers common quality checks into one validation step and can offer to fix problems it finds. Check-only mode reports issues without changing files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-workflow plugin — 6 skills shipped together

Good fit Use it before submitting or pushing code to run the repository's configured checks, inspect failures, and optionally repair them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add charlesjones-dev/claude-code-plugins-dev --skill workflow-preflight
Clone the repo
git clone --depth 1 https://github.com/charlesjones-dev/claude-code-plugins-dev

Made for: Claude Code.

Or install ai-workflow, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight/github.svg)](https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight)
Your own site
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflow-preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/workflow-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,133 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 19 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 116
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 301
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 117
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 302
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 118
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 303
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 119
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 305
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 119
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 306
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 176
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 181
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 399
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 403
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 304
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • low Tool Misuse · line 176
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • low Tool Misuse · line 181
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • low Tool Misuse · line 399
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • low Tool Misuse · line 403
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.05133
Opus 5.5 $0.00020 $0.02053
Sonnet 5.5 $0.00010 $0.01027
Haiku 4.5 $0.00005 $0.00513

Measured 14d ago against content hash fa61da52cb52, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow-preflight scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ai-workflow/skills/workflow-preflight/SKILL.md · 610 lines

How it starts

The opening of the file, as written. The whole thing — 610 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preflight Code Quality Checks

You are running a comprehensive preflight check on this codebase. This command discovers and runs configured quality checks including type checking, linting, and tests.

Arguments

  • --fix - Automatically attempt to fix issues without prompting
  • --check-only - Only report issues, never prompt to fix
  • --verbose - Show detailed output from all commands
  • No arguments - Interactive mode (default): prompt before fixing

User provided: $ARGUMENTS

Step 1: Discovery Phase

First, analyze the project to discover configured quality tools. Check for:

Package Manager & Config Files

  • package.json - Check for scripts: lint, typecheck, type-check, tsc, test, check, validate
  • tsconfig.json / jsconfig.json - TypeScript/JavaScript configuration
  • .eslintrc*, eslint.config.* - ESLint configuration
  • biome.json, biome.jsonc - Biome configuration
  • .prettierrc*, prettier.config.* - Prettier configuration
  • deno.json / deno.jsonc - Deno configuration
  • .stylelintrc* - Stylelint configuration

Python Projects

  • pyproject.toml - Check for ruff, mypy, pytest, black, isort configs
  • setup.py / setup.cfg - Legacy Python config
  • requirements.txt / requirements-dev.txt - Dependencies
  • mypy.ini / .mypy.ini - MyPy configuration
  • ruff.toml / .ruff.toml - Ruff configuration
  • pytest.ini / pyproject.toml [tool.pytest] - Pytest configuration
  • tox.ini - Tox configuration

.NET Projects

  • *.csproj / *.fsproj / *.vbproj - .NET project files
  • *.sln - Solution files
  • .editorconfig - Editor configuration with .NET analyzers
  • Directory.Build.props - MSBuild properties

Go Projects

  • go.mod - Go module
  • .golangci.yml / .golangci.yaml - GolangCI-Lint configuration

Rust Projects

  • Cargo.toml - Check for clippy, rustfmt
  • rustfmt.toml / .rustfmt.toml - Rustfmt configuration
  • clippy.toml / .clippy.toml - Clippy configuration

Security Scanning

  • pnpm-lock.yaml / package-lock.json / yarn.lock - Dependency audit support
  • .semgreprc.yml / .semgrep.yml / semgrep.yml / .semgrep/ - Semgrep configuration
  • .github/workflows/*.yml - Check for semgrep CI jobs (extract config flags)
  • eslint-plugin-security in devDependencies - ESLint security rules
  • package.json scripts containing audit or semgrep - Custom security scripts
  • README.md / CONTRIBUTING.md - Check for documented security scanning commands

Read the full file on GitHub · 610 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed · -1 lines · +22 tokens per session fa61da52cb52
  2. 18d ago Changed 116d42efddc7
  3. 1mo ago First seen · 611 lines · 29 tokens per session scan A 34b9070560db

Subscribe to this mod's changes

workflow-preflight is a skill published in the GitHub repository charlesjones-dev/claude-code-plugins-dev (35 stars, last pushed 14d ago), licensed MIT. It adds 51 tokens to every session and 5,133 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

cli-local-build

Build and test the Kurtosis CLI from source. Compile the CLI binary locally, run it against Docker or Kubernetes engines, and iterate on CLI changes without creating a release. Use when developing or debugging CLI commands.

kurtosis-tech/kurtosis · 46 tokens

wispr-flow-debug

Debug and test the Wispr Flow AutoHotkey dictation triggers (Copilot key + extra keys) from WSL by deploying macos.ahk to the Windows Desktop, reloading AutoHotkey, and reading the debug log. Use when an activation/trigger key isn't starting/stopping dictation, when the overlay clicks land wrong, or when verifying a…

sfc-gh-eraigosa/dotfiles · 87 tokens

delivery-baseline-audit

Audit claimed delivery against the starting baseline and the current working tree. Use when a task has declared deliverables, when a long run might say 'done' before shipping real changes, or when final verification must check the actual artifact set rather than only the transcript or commits.

markoblogo/abvx-agent-skills · 60 tokens

ci-triage

Diagnose failing CI, build, release-gate, or test runs for Cool Workflow. Use when a GitHub Actions check, local npm test, npm run build, release gate, smoke test, or generated-manifest check fails and Codex must identify the first actionable failure with logs and verifier commands.

coo1white/cool-workflow · 66 tokens

mcloud-local

Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without pushing to the tracked branch, iterating on a build fix, or testing build-variable changes locally. Requires Docker and must run inside the project's Git repo.

medusajs/medusa-agent-skills · 59 tokens

tapp

Use Tapp to see, drive, explore, and verify real application surfaces on iOS simulators, Android emulators/devices, or the web. Use when a user asks an agent to test an app or UI change, find bugs, inspect or screenshot a screen, exercise a journey, create a replayable flow, gather release evidence, run the…

aarwitz/tapp · 136 tokens