skills/preflight/SKILL.md
Scan staged changes before commit for debug artifacts, secrets, skipped tests, generated files, and obvious code smells. Use when preparing a commit or checking whether staged changes are clean.
npx skillsauth add li3p/skills preflightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review staged changes and report issues that should be fixed before committing.
Inspect staged diffs and staged file metadata. If relevant, also mention related unstaged issues separately so the user can distinguish blockers from follow-up work.
Look for:
console.log, print, pdb, breakpoint, debugger,
or verbose flags in production paths..only, .skip, pytest.mark.skip, or
commented-out test suites.TODO, FIXME, HACK, XXX, or unexplained suppressions.If no issues are found, say the staged changes look clean.
If issues are found, group them as:
BLOCKER: likely to break production, leak data, or poison the commit.WARNING: risky or likely unintended.NOTE: worth checking but not necessarily blocking.For each item, include file path, line or diff context, and why it matters. Report only. Do not edit files, unstage files, or commit.
documentation
Search Notion for pages or databases by query using marknotion. Use when the user references a Notion page by name rather than URL, when locating a page to publish to or pull from, or when discovering what trackers and docs exist in the connected workspace.
documentation
Export a Notion page to local Markdown using marknotion. Use when the user wants to pull a spec, design doc, meeting notes, or any Notion page into the repository as a Markdown file, or wants to read Notion content as context for a task.
documentation
Publish a local Markdown file to a Notion page using marknotion. Use when the user wants to push README, docs, changelogs, or any Markdown content to Notion, either updating an existing page or creating a new one under a parent page.
testing
Generate tests that match an existing project's testing style. Use when adding coverage for a target file, function, bug fix, or edge case while preserving local conventions.