jeremylongshore/tons-of-skills-marketplace / plugins/ai-agency/hyperflow/skills/hyperflow
hyperflow
FlaggedUse when applying Hyperflow's orchestration doctrine in Codex, Antigravity, Grok, or another single-agent surface. Auto-invoke for non-trivial engineering work: build, implement, add, refactor, debug, fix, review, audit, plan, scope, design, brainstorm, ship, or deploy. Trigger with /hyperflow:hyperflow, "use hyperflow", "apply the doctrine", or automatically on any task-shaped message.
quality-gates.md
View on GitHub# Quality Gates
Automated checks that must pass before a worker's output is approved. Runs after the Reviewer's code review, before marking a task done.
## Flow
```
Worker completes
|
Reviewer reviews code quality
|
Reviewer runs quality gates
|
All green? -> Mark task done
|
Red? -> Send failures back to worker -> worker fixes -> re-run gates
```
## Checks
The orchestrator auto-detects which checks are available by scanning the project's package.json scripts and config files.
| Check | Detection | Command |
|-------|-----------|---------|
| Lint | `eslint.config.*` or `scripts.lint` | `pnpm lint` / `npm run lint` |
| Typecheck | `tsconfig.json` | `pnpm typecheck` / `npx tsc --noEmit` |
| Tests | `vitest.config.*` or `jest.config.*` | `pnpm test` (affected files only) |
| Build | `scripts.build` | `pnpm build` (only on final review) |
## Scope
- **Per-task gates:** Lint + typecheck + tests for affected files only (not full suite)
- **Final review gates:** Full lint + typecheck + build + full test suite
Running the full suite per task is wasteful. Scope checks to what the worker touched.
## Failure Handling
1. Gate fails -> the Reviewer extracts the error message
2. The Reviewer sends specific fix instructions to the worker
3. Worker fixes -> gates re-run
4. Max 3 retry loops per gate. After 3 failures, escalate to a standalone fix worker with a full review pass
5. If that also fails, surface the error to the user
## Configuration
To disable specific gates or add custom checks, users can add to their project CLAUDE.md:
```markdown
## Hyperflow Quality Gates
- skip: typecheck
- add: pnpm format --check
```
Or say in conversation: "hyperflow: skip typecheck for this session"
## Worker Prompt Addition
When quality gates are active, append to the worker prompt constraints:
```
## Quality Requirements
- Code must pass lint (eslint)
- Code must pass typecheck (tsc --noEmit)
- Tests must pass for affected files
- Run these yourself before reporting completion
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |