Skip to main content

harness-quality

Phase skill: run all quality checks — typecheck, tests, lint, format

Ir a la instalación

Datos de origen

Repositorio
cowcow02/agentfleet
Última actividad en el origen
9 de abril de 2026 a las 07:32
Idioma detectado de SKILL.md
inglés
Estrellas
0
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
harness-quality
description
Phase skill: run all quality checks — typecheck, tests, lint, format
user-invocable
false
## Purpose Ensure the codebase passes all static and dynamic quality checks before verification. ## Steps 1. **Type checking:** ```bash pnpm turbo typecheck ``` Fix any type errors before proceeding. 2. **Full test suite:** ```bash pnpm turbo test ``` All tests must pass — both new and existing. If any fail, fix them. 3. **Linting:** ```bash pnpm --filter web lint ``` Fix any lint errors. Note: only `apps/web` has ESLint configured currently. 4. **Formatting** (once Prettier is configured): ```bash pnpm prettier --check "apps/**/*.{ts,tsx}" "packages/**/*.ts" ``` If files are unformatted, run `pnpm prettier --write` on the changed files only. 5. **Record to conversation file:** - **Insert before** the `## Harness Issues` marker in `.harness/conversations/<task-id>.md` (use Edit tool with `## Harness Issues` as the anchor — do NOT literally append, that would land below the issues section): ``` ## Quality **Typecheck:** pass/fail **Tests:** X passed, Y failed **Lint:** pass/fail **Format:** pass/fail **Pre-existing issues noted:** <list any errors in files you didn't touch> ``` - **If you hit friction** (broken pre-existing checks blocking you, flaky tests, slow checks), append an entry to the **literal end** of the file — it will land inside the `## Harness Issues` section since that section is last. ## Checklist - [ ] `pnpm turbo typecheck` passes - [ ] `pnpm turbo test` passes (all tests green) - [ ] `pnpm --filter web lint` passes - [ ] Formatting check passes (when configured) - [ ] Conversation file updated ## Escalation - If a pre-existing test is failing (not caused by your changes), note it and proceed — don't fix unrelated test failures - If type errors are in code you didn't change, note and proceed - If stuck on a quality issue after 2 fix attempts → surface to human
Ver en GitHub