Skip to main content

review-task

Review a completed implementation task before push/PR. Validates issue-spec acceptance criteria, scope, tests, docs, and lint readiness on a local branch. Use when asked to verify issue completion without an open PR.

소스 정보

저장소
torrust/torrust-tracker
최근 소스 활동
2026년 9월 14일 16:01
감지된 SKILL.md 언어
영어
스타
532
포크
56

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
review-task
description
Review a completed implementation task before push/PR. Validates issue-spec acceptance criteria, scope, tests, docs, and lint readiness on a local branch. Use when asked to verify issue completion without an open PR.
metadata
{"author":"torrust","version":"1.0"}
# Reviewing A Task (Pre-PR) Use this skill when there is no pull request yet and the goal is to verify that implementation for an issue/task is complete and ready to be pushed. ## Preconditions - An issue spec exists (typically under `docs/issues/open/`). - Local changes are available on the branch. - No PR review workflow is required yet. ## Workflow 1. Read the issue spec and extract acceptance criteria. 2. Map each criterion to concrete evidence in changed files/tests. 3. Run relevant validation checks (`linter all` minimum, plus focused tests when applicable). 4. Classify each criterion as `PASS`, `FAIL`, or `PENDING`. 5. Update only verified checklist items in the issue spec. 6. Review the implementation completion evidence. Require an issue-local `implementation-retrospective.md` when the work revealed reusable lessons, material design changes, or meaningful deviations from the plan. Otherwise, require a concise issue progress-log entry explaining why no retrospective was needed. 7. Require a folder-style specification before accepting an issue-local retrospective. When a touched legacy single-file specification needs one, require migration to the documented folder layout first. `ISSUE.md` and `EPIC.md` are allowed primary-file exceptions in that layout. 8. Report pass/fail with remediation for any gaps. ## Task Review Checklist ### Scope And Criteria - [ ] Issue spec path is identified. - [ ] Acceptance criteria are fully listed. - [ ] Claimed implementation scope matches actual changes. - [ ] No scope creep beyond what the issue asks. ### Verification - [ ] Each acceptance criterion has objective evidence. - [ ] Required tests/lint checks pass. - [ ] Docs updates are present when behavior changed. - [ ] New terms are added to `project-words.txt` when needed. ### Test Design When the reviewed changes add or modify tests, inspect each changed test against `.github/skills/dev/testing/write-unit-test/SKILL.md` and report a finding for every unchecked item below: - [ ] The test's name states one observable behavior and relevant condition. - [ ] Arrange makes the causal initial-state difference visible. - [ ] Any builder or scenario fixture is named for that state and owns only incidental mechanics; it is not a parameter bag mirroring the production call. - [ ] Every helper names a coherent action, capability, or state and keeps the caller at one abstraction level. Do not treat a single-use helper as a defect solely because it has one caller; flag it only when it is vague, hides behavior, or mixes responsibilities. - [ ] The production Act remains visible in the test body. - [ ] Expected results are independently specified and assertions remain visible. - [ ] The test does not duplicate a better-owned protocol, domain, integration, or end-to-end contract. - [ ] Execution is deterministic: no uncontrolled I/O, wall-clock dependency, sleep, polling, or shared mutable state is introduced. - [ ] The test evidence records a prose-first Arrange-Act-Assert comparison, or the reviewer records why it was not applicable. The final code expresses the temporary prose; redundant comments were removed and retained comments provide irreducible context. ### Spec Hygiene - [ ] Only verified checklist items are marked done. - [ ] Workflow checkpoints reflect pre-PR status correctly. - [ ] Progress log includes meaningful, factual updates. - [ ] Completion review records a retrospective or a rationale that one was unnecessary. - [ ] Any retrospective belongs to a folder-style issue specification; the retrospective is lowercase while `ISSUE.md` and `EPIC.md` are allowed primary-file exceptions. ## Output Return: 1. Scope reviewed 2. Acceptance criteria matrix (`PASS`/`FAIL`/`PENDING` + evidence) 3. Repository-convention findings 4. Completion-review finding 5. Issue spec updates made 6. Overall result (`REVIEW PASSED` or `REVIEW FAILED`) ## Not In Scope - Reviewing an open pull request (use `review-pr` for that). - Publishing review comments to a PR. - Merging or closing PRs.
GitHub에서 보기