Presubmit

From wowsignal-io/pedro · View interactive version

Presubmit is an AI agent skill from the GitHub repository wowsignal-io/pedro. Complete the required presubmit. Use before declaring a feature finished, after a large refactor or when asked.

How to use this skill

Skill file

Presubmit

This skill provides the most extensive and robust battery of tests and static checks available.

Utility Scripts

Instructions

The presubmit can take several minutes to complete. The script blocks until complete.

Important: Do not run the real presubmit directly, always use the utility script

${CLAUDE_PLUGIN_ROOT}/scripts/presubmit.sh.

Important: Ensure the cwd is the project root before running the presubmit.

Always present the user with a list of presubmit failures, if any. (The user doesn't see the

detailed output.)

Follow these steps:

  1. Run ${CLAUDE_PLUGIN_ROOT}/scripts/presubmit.sh.
  2. Check the output file. (It can take a few minutes for the presubmit to finish.)
  3. If the output contains errors unrelated to the present context, escalate to the user
  4. If the output contains errors related to your context, attempt to fix them
  5. If the error prove too hard to fix, summarize your findings, a more specific repro command and

escalate to the user

  1. Run ${CLAUDE_PLUGIN_ROOT}/scripts/presubmit.sh again and repeat until it passes
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.