PromptShop

Verify

Automate verify operations through Composio's verify toolkit.

Install

npx promptshop add verify

Details

What This Skill Does

  • This skill automates the verification process for a React codebase, ensuring code quality and consistency.
  • It runs code formatting, linting, type checking, and tests across different environments.
  • It's intended for developers seeking to streamline their workflow and catch issues early.

When to Use

  • Before submitting a pull request.
  • As a pre-commit hook to prevent broken code.
  • To ensure code style consistency across the team.
  • To catch type errors and runtime exceptions early.
  • To validate changes against different React environments.
  • After merging code to the main branch.

Key Features

  • Runs prettier to format code.
  • Runs linc to lint changed files.
  • Uses /flow to type check the code.
  • Uses /test to run tests in the source channel.
  • Uses /test www to run tests in the www channel.
  • Stops immediately on failure and reports the issue.

Manual Installation

Run all verification steps.

Arguments: $ARGUMENTS: Test pattern for the test step

Instructions

Run these first in sequence: Run yarn prettier - format code (stop if fails) Run yarn linc - lint changed files (stop if fails)

Then run these with subagents in parallel: Use /flow to type check (stop if fails) Use /test to test changes in source (stop if fails) Use /test www to test changes in www (stop if fails)

  • If all pass, show success summary.
  • On failure, stop immediately and report the issue with suggested fixes.
  • Verification.

Run all verification steps.

Arguments: $ARGUMENTS: Test pattern for the test step

Instructions

Run these first in sequence: Run yarn prettier - format code (stop if fails) Run yarn linc - lint changed files (stop if fails)

Then run these with subagents in parallel: Use /flow to type check (stop if fails) Use /test to test changes in source (stop if fails) Use /test www to test changes in www (stop if fails)

If all pass, show success summary. On failure, stop immediately and report the issue with suggested fixes.

agentsengineeringproduct managementproject management