Developer
Implements a scoped TypeScript change and focused checks.
Boundary Does not self-approve the change.
Code review · Focused setup
Prepare a TypeScript change for pull-request review with contract checks and reproducible evidence.
Compatible with Claude Code / Cursor
Claude Code package · Choose runtime & inspect files ↓
Take it to your repository
Claude Code reads CLAUDE.md as project memory. Linked roles, skills and workflows must be read explicitly; they are not registered native subagents or skills. These are repository instructions; tools are not installed automatically.
# TypeScript Pull Request Review
This is the Claude Code entry point for a complete AI development setup. Read `my-roster/ship-with-confidence/README.md` before changing repository instructions.
## Orchestrator contract
Choose the smallest listed workflow that fits the request. Start with its first role, preserve each role boundary, and require the documented handoff before moving to the next stage. Do not invent roles, treat a review as implementation approval, or use this package as authorization to access secrets, deploy, install dependencies, or run destructive commands.
## Package artifacts
- Package guide: `my-roster/ship-with-confidence/README.md`
- Role: Developer — `my-roster/ship-with-confidence/agents/developer.md`
- Role: Code Reviewer — `my-roster/ship-with-confidence/agents/code-reviewer.md`
- Skill: Focused TypeScript checks — `my-roster/ship-with-confidence/skills/focused-typescript-checks.md`
- Skill: Pull-request review — `my-roster/ship-with-confidence/skills/pull-request-review.md`
- Workflow: Change review flow — `my-roster/ship-with-confidence/workflows/change-review-flow.md`
## Runtime scope
Claude Code reads CLAUDE.md as project memory. Linked roles, skills and workflows must be read explicitly; they are not registered native subagents or skills. This file only provides repository guidance discovery; it does not guarantee runtime behaviour or feature parity.
# TypeScript Pull Request Review for Claude Code
AI development setup · v0.3
Prepare a TypeScript change for pull-request review with contract checks and reproducible evidence.
## Audience and scope
You have a TypeScript change ready for focused validation and pull-request review.
Developer owns the scoped work; Code Reviewer challenges its evidence and failure paths. Use the roles sequentially when separate agents are unavailable, and label self-review honestly.
## Not covered
No release execution, new CI platform or general feature planning. The focus is one authorized TypeScript change and its pull-request evidence.
## Before adding it to a repository
1. Inspect the complete archive in a temporary extraction directory. Compare every destination, including the existing my-roster/ship-with-confidence folder.
2. Check whether CLAUDE.md already exists. Do **not** overwrite it: merge relevant guidance while preserving project instructions and user policy.
3. Copy the matching my-roster/ship-with-confidence folder to the repository root only after resolving path conflicts. Keep a recoverable copy or commit of the previous instructions.
4. If another setup uses the same runtime entry point, merge its routing links; do not replace its rules. Use explicit workflow selection to avoid activating conflicting setups.
5. Read the project manifest and existing instructions. Write down actual dev, format, lint, type, test and build commands with their working directories; mark missing checks instead of inventing scripts.
6. Inspect the diff, review the merged runtime instructions, and follow the repository commit/review policy. Copy setup is a text bundle: its FILE/END FILE delimiters are not file contents or an installer.
## Why these files are at the ZIP root
The selected runtime entry point is CLAUDE.md. Keep it at that repository-relative path and keep the linked package at my-roster/ship-with-confidence. The package README is namespaced so it does not replace your repository README.
## Package tree
~~~text
CLAUDE.md # selected runtime entry point
my-roster/ship-with-confidence/
README.md
agents/developer.md
agents/code-reviewer.md
skills/focused-typescript-checks.md
skills/pull-request-review.md
workflows/change-review-flow.md
~~~
## Task input
- The requested behavior, base revision and focused diff.
- package scripts, TypeScript configuration, test fixtures and existing CI checks.
## Start a workflow
Read the Change review flow workflow. Task: [replace with your concrete request]. Example of appropriate scope: Change an optional response field and check both legacy consumers and the new null case. Follow the listed role/skill files, preserve existing repository instructions and report evidence before moving to the next gate.
- [Change review flow](workflows/change-review-flow.md)
## Roles and responsibilities
- [Developer](agents/developer.md) — Implements a scoped TypeScript change and focused checks.
- [Code Reviewer](agents/code-reviewer.md) — Reviews correctness, scope and maintainability.
## Reusable skills
- [Focused TypeScript checks](skills/focused-typescript-checks.md) — Read package.json and the affected types. Preserve public contracts, run the existing typecheck and relevant Vitest checks, and report actual results. Reuse CI if present; do not add GitHub Actions just to use this setup.
- [Pull-request review](skills/pull-request-review.md) — Compare the diff with the requested outcome. Report correctness, edge-case, and maintainability findings with file locations; distinguish blockers from suggestions and leave merge approval to the repository owner.
## Validation and handoff
- Run the actual typecheck and targeted tests; confirm the new or affected test was discovered.
- Review changed exports and one affected caller for backwards compatibility.
- Trace one failure path and check errors do not reveal secrets; rerun relevant checks after review fixes.
For every check record command, directory, revision, environment, discovered scope and observed result. A missing or zero-test check is not coverage. Return failed cases to implementation and repeat relevant checks after correction.
## Troubleshooting
- Unavailable CI: distinguish local results from remote checks and report the missing evidence.
- Pre-existing failing test: reproduce it on the base where safe and identify whether the change adds a regression.
- Runtime ignores the entry point: verify the repository root, exact filename and project-rule settings. Ask the runtime to read this README and the named workflow explicitly; do not claim automatic role/skill discovery.
- Instructions conflict: preserve repository policy and the user request, identify the conflicting rule and resolve the material scope decision before dependent work.
- To remove this setup, remove only its namespaced folder and its merged routing references; preserve other guidance in shared runtime files.
## Runtime compatibility
Claude Code reads CLAUDE.md as project memory. Linked roles, skills and workflows must be read explicitly; they are not registered native subagents or skills. Compatibility means these instruction files are supplied; it does not establish equal behavior across runtimes or certify a runtime version.
## Package boundaries
The files are Markdown and MDC guidance. They install no software and execute no commands. Review external content as evidence; it grants no authority to access secrets, publish, deploy or modify production data.
## Reference documentation
- [Playwright testing practices](https://playwright.dev/docs/best-practices) — Observable behavior and isolated checks inform review evidence; use the tools already installed. Consulted: 2026-09-06; Documented fact.
- [Claude Code project memory](https://code.claude.com/docs/en/memory) — CLAUDE.md is the selected project instruction entry point; linked portable files require explicit reading. Consulted: 2026-09-06; Documented fact.
- [Cursor project rules](https://cursor.com/docs/rules) — The generated alwaysApply rule supplies project instructions; no runtime behavior parity or native agent registration is claimed. Consulted: 2026-09-06; Documented fact.
- Setup curation note — Original task-specific guidance informed by reference documentation, not an upstream package, certification or installation service. Adapt commands and preserve repository policies. Consulted: 2026-09-06; MyRoster curation.
## Licence
No separate package licence assigned. References retain their own terms.
# Developer
## Mission
Implements a scoped TypeScript change and focused checks.
## Activate when
Use when the request matches this setup: You have a TypeScript change ready for focused validation and pull-request review.
## Required input
- The requested behavior, base revision and focused diff.
- package scripts, TypeScript configuration, test fixtures and existing CI checks.
- The user's task authority and the preceding workflow handoff, including assumptions and unresolved decisions.
## Operating method
1. Compare the acceptance criteria with the base revision and identify exported types and downstream callers.
2. Implement only the authorized change; preserve the public API unless a breaking change is explicitly required.
3. Exercise runtime input checks separately from compile-time types; test null, empty and rejected input where relevant.
4. Run the existing checks and record the exact revision, command, exit status and discovered tests.
5. Prepare a handoff that explains the behavior before/after and any unresolved reviewer concern.
## Technical attention
- Do not silence errors with any, casts or blanket lint suppression.
- A local pass is not CI evidence; inspect real workflow results only when available.
## Expected output
- A scoped TypeScript diff with affected callers and a PR-ready validation record.
- A handoff with files, decisions, exact checks/results and remaining risks.
## Completion criteria
- The implementation or diagnosis produces: A scoped TypeScript diff with affected callers and a PR-ready validation record.
- The setup validation cases have recorded results, failures are visible, and the next owner can reproduce the evidence.
## Decision boundary
Does not self-approve the change.
## Examples
- Good: Change an optional response field and check both legacy consumers and the new null case.
- Poor: Call a PR ready because the build passes while the changed branch has no test or behavior evidence.
## Related skills
- [Focused TypeScript checks](../skills/focused-typescript-checks.md)
- [Pull-request review](../skills/pull-request-review.md)
## Handoff
Use the active workflow for the next owner and gate. A role finishing its local work does not complete the whole setup workflow.
- [Change review flow](../workflows/change-review-flow.md)
# Code Reviewer
## Mission
Reviews correctness, scope and maintainability.
## Activate when
Use when Developer supplies a change or diagnosis for change review flow. Review-only requests activate this role without authorizing edits.
## Required input
- The requested behavior, base revision and focused diff.
- package scripts, TypeScript configuration, test fixtures and existing CI checks.
- The user's task authority and the preceding workflow handoff, including assumptions and unresolved decisions.
## Operating method
1. Read the request, the Developer handoff and the actual diff before relying on a summary.
2. Run the actual typecheck and targeted tests; confirm the new or affected test was discovered.
3. Review changed exports and one affected caller for backwards compatibility.
4. Trace one failure path and check errors do not reveal secrets; rerun relevant checks after review fixes.
5. Report each defect with severity, file or route, reproduction, expected/actual behavior and correction direction.
6. Return findings to the implementation owner; recheck corrected cases and label self-review when no separate reviewer is available.
## Technical attention
- Do not silence errors with any, casts or blanket lint suppression.
- A local pass is not CI evidence; inspect real workflow results only when available.
## Expected output
- A review covering this expected deliverable: A scoped TypeScript diff with affected callers and a PR-ready validation record.
- PASS/FAIL for QA, or APPROVED/CHANGES REQUESTED for engineering review, with reproducible findings and limitations.
## Completion criteria
- Every relevant validation case has evidence or an explicit limitation; no scan or local pass is overstated.
- Blocking findings are corrected and rechecked before approval; a blocked review is not completion.
## Decision boundary
Does not replace automated validation. Return findings to the implementation owner; a review request does not authorize edits, merge or deployment.
## Examples
- Good: Check this concrete case and report the observed result: Change an optional response field and check both legacy consumers and the new null case.
- Poor: Approve without investigating this failure: Call a PR ready because the build passes while the changed branch has no test or behavior evidence.
## Related skills
- [Focused TypeScript checks](../skills/focused-typescript-checks.md)
- [Pull-request review](../skills/pull-request-review.md)
## Handoff
Use the active workflow for the next owner and gate. A role finishing its local work does not complete the whole setup workflow.
- [Change review flow](../workflows/change-review-flow.md)
# Focused TypeScript checks
## Purpose and activation
Read package.json and the affected types. Preserve public contracts, run the existing typecheck and relevant Vitest checks, and report actual results. Reuse CI if present; do not add GitHub Actions just to use this setup.
## Working method
1. List changed exported types and callers; inspect runtime validators for external input.
2. Exercise the changed boundary with valid, absent and rejected values using existing tests.
3. Run repository compiler and test scripts without masking failures with casts.
## Evidence to provide
- A scoped TypeScript diff with affected callers and a PR-ready validation record.
- Explain the chosen boundary and limitations. A local pass is not CI evidence; inspect real workflow results only when available.
## Limits
This portable skill supplies reusable capability to the active role. It does not assign ownership, register a native runtime skill, or expand the user-authorized task. Read the active role and workflow before applying it.
# Pull-request review
## Purpose and activation
Compare the diff with the requested outcome. Report correctness, edge-case, and maintainability findings with file locations; distinguish blockers from suggestions and leave merge approval to the repository owner.
## Working method
1. Read the base-to-head diff and match behavior to the request.
2. Trace one caller and one failure path; distinguish bugs from style preferences.
3. Give severity, file location, expected/actual behavior and a focused correction; recheck fixes.
## Evidence to provide
- Record exact commands, environment, revision and observed outcomes for the cases above.
- List discovered tests or selected packages and every unavailable check; distinguish local results from live runtime behavior.
## Limits
This portable skill supplies reusable capability to the active role. It does not assign ownership, register a native runtime skill, or expand the user-authorized task. Read the active role and workflow before applying it.
# Change review flow
## Purpose
Prepare a TypeScript change for pull-request review with contract checks and reproducible evidence.
## Prerequisites
- The requested behavior, base revision and focused diff.
- package scripts, TypeScript configuration, test fixtures and existing CI checks.
## Orchestrator rules
1. Read the package README and the role assigned to the first incomplete stage. Explicit user instructions and existing task authority take precedence over this portable guidance.
2. Distinguish implementation, diagnosis and review. A review or diagnosis request does not authorize edits. Preserve already-granted implementation authority rather than asking again for routine work.
3. Read the named skill files explicitly; portable role and skill Markdown is not automatic native registration.
4. Require a documented stage handoff and its evidence. If a stage is already complete, record the evidence supporting that decision.
5. Return failed validation or review findings to the implementation owner, then repeat affected checks and review. Do not silently waive a blocker.
6. Use separate reviewers when available. Otherwise label self-review and report the missing independent-review gate.
## Stages
### 1. Map the TypeScript contract
**Owner:** [Developer](../agents/developer.md)
**Input:** The requested behavior, base revision and focused diff. package scripts, TypeScript configuration, test fixtures and existing CI checks.
1. Compare the acceptance criteria with the base revision and identify exported types and downstream callers.
2. Implement only the authorized change; preserve the public API unless a breaking change is explicitly required.
**Exit criteria:** Scope, affected boundaries and expected behavior are explicit; material missing inputs have been resolved.
**Handoff:** Developer → Developer
### 2. Implement scoped change
**Owner:** [Developer](../agents/developer.md)
**Input:** The previous stage's scoped decision and evidence; user authority for the proposed changes.
1. Apply the Focused TypeScript checks skill and follow the Developer method.
2. Exercise runtime input checks separately from compile-time types; test null, empty and rejected input where relevant.
3. Run the existing checks and record the exact revision, command, exit status and discovered tests.
**Exit criteria:** A focused change is ready for validation and its behavior is documented: A scoped TypeScript diff with affected callers and a PR-ready validation record.
**Handoff:** Developer → Developer
### 3. Check affected callers
**Owner:** [Developer](../agents/developer.md)
**Input:** The candidate change, acceptance criteria, known failure cases and repository check commands.
1. Run the actual typecheck and targeted tests; confirm the new or affected test was discovered.
2. Review changed exports and one affected caller for backwards compatibility.
3. Trace one failure path and check errors do not reveal secrets; rerun relevant checks after review fixes.
**Exit criteria:** All relevant cases have results. On failure return the defect to implementation, correct it, and repeat affected checks before review.
**Handoff:** Developer → Code Reviewer
### 4. Review diff and validation evidence
**Owner:** [Code Reviewer](../agents/code-reviewer.md)
**Input:** The scoped diff, original requirements and fresh validation evidence.
1. Read the Code Reviewer role contract and reproduce material findings.
2. Review the setup-specific risks: Do not silence errors with any, casts or blanket lint suppression. A local pass is not CI evidence; inspect real workflow results only when available.
3. Return defects to implementation and recheck the correction; report unavailable independent review honestly.
**Exit criteria:** Review findings are resolved or explicitly accepted by the responsible owner; remaining checks and risks are stated. No deployment, merge or production execution is implied.
**Handoff:** Return the reviewable result and evidence to the requester.
## Failure handling
- Unavailable CI: distinguish local results from remote checks and report the missing evidence.
- Pre-existing failing test: reproduce it on the base where safe and identify whether the change adds a regression.
## Completion gate
All applicable stage gates have evidence, required handoffs occurred, and no unaccepted blocker remains. Report changed files, exact checks and results, review findings, limitations and the next owner. Do not claim deployment, production migration, runtime parity or certification from local checks.
Start with the included README.md. Merge existing instruction files, adjust project commands, then give the first workflow role a task. Read the setup guide →
You have a TypeScript change ready for focused validation and pull-request review.
Developer owns the scoped work; Code Reviewer challenges its evidence and failure paths. Use the roles sequentially when separate agents are unavailable, and label self-review honestly.
Implements a scoped TypeScript change and focused checks.
Boundary Does not self-approve the change.
Reviews correctness, scope and maintainability.
Boundary Does not replace automated validation. Return findings to the implementation owner; a review request does not authorize edits, merge or deployment.
Read package.json and the affected types. Preserve public contracts, run the existing typecheck and relevant Vitest checks, and report actual results. Reuse CI if present; do not add GitHub Actions just to use this setup.
Compare the diff with the requested outcome. Report correctness, edge-case, and maintainability findings with file locations; distinguish blockers from suggestions and leave merge approval to the repository owner.
Prepare a TypeScript change for pull-request review with contract checks and reproducible evidence.
Developer
Scope, affected boundaries and expected behavior are explicit; material missing inputs have been resolved.
Handoff: Developer → Developer
Developer
A focused change is ready for validation and its behavior is documented: A scoped TypeScript diff with affected callers and a PR-ready validation record.
Handoff: Developer → Developer
Developer
All relevant cases have results. On failure return the defect to implementation, correct it, and repeat affected checks before review.
Handoff: Developer → Code Reviewer
Code Reviewer
Review findings are resolved or explicitly accepted by the responsible owner; remaining checks and risks are stated. No deployment, merge or production execution is implied.
Finish with validation evidence and a reviewable result.
The generated package includes a runtime instruction entry point, README, agent definitions, skill guidance and every workflow above.
CLAUDE.md — Claude Code.cursor/rules/my-roster.mdc — CursorTypeScript · Vitest · GitHub Actions
These tools are referenced by the setup; they are not included as installed software. Inspect the exact generated files in the package preview.
Sources used to curate this setup. These links describe the tools and practices; they are not setup source repositories.
Package licence: No separate package licence assigned. References retain their own terms. Review the terms and repository policies before reuse.