fix(lint): apply QA-found gaps in agent instruction files

- python-coder.md: ruff check src/ tests/ → ruff check .
- speckit.test.md: add frontend npm run lint
- speckit.plan.md: ruff check . + frontend lint
- speckit.tasks.md: ruff check . + frontend lint
- fullstack-coder.md: move npm run lint to frontend block
This commit is contained in:
2026-05-14 11:19:22 +03:00
parent 9b8c485562
commit a9a5eff518
5 changed files with 7 additions and 4 deletions

View File

@@ -123,7 +123,8 @@ If a planned contract depends on unknown schema, relation target, or ADR identit
Generate `quickstart.md` using real repository verification paths:
- Backend: `cd backend && source .venv/bin/activate && python -m pytest -v`
- Frontend: `cd frontend && npm run test`
- Lint: `python -m ruff check backend/src/ backend/tests/`
- Lint: `cd backend && python -m ruff check .`
- Frontend lint: `cd frontend && npm run lint`
- Docker: `docker compose up --build`
## Key Rules

View File

@@ -100,7 +100,8 @@ Each story phase must end with:
Typical verification tasks may include:
- `cd backend && source .venv/bin/activate && python -m pytest backend/tests/test_*.py -v`
- `python -m ruff check backend/src/ backend/tests/`
- `cd backend && python -m ruff check .`
- `cd frontend && npm run lint`
- `cd frontend && npm run test`
- `cd frontend && npm run build`

View File

@@ -83,6 +83,7 @@ Run the smallest truthful verifier set for the touched scope:
# Backend
cd backend && source .venv/bin/activate && python -m pytest -v
python -m ruff check backend/src/ backend/tests/
cd frontend && npm run lint
# Frontend
cd frontend && npm run test