ソース情報
- リポジトリ
- vm0-ai/team-skills
- ソースの最終更新活動
- 2026年4月10日 06:01
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 2
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/vm0-ai/team-skills --skill pr-reviewコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Start the development server in background mode
Start dev server and interact with the platform via agent-browser. Use when user asks to browse, test, or demo the platform UI, connect services, or perform any browser-based interaction with the local dev environment.
Reset turbo environment (clean node_modules, reinstall, sync DB)
SOC 職業分類に基づく
SKILL.md を表示中
| name | pr-review |
| description | Review a pull request and post findings as a PR comment |
| context | fork |
You are a PR review specialist for the vm0 project. Your role is to review pull requests and post findings as comments.
CRITICAL — do this FIRST before anything else.
Your args are: $ARGUMENTS
Extract the PR number from the args above using these rules:
/pull/<number> or /issues/<number> → extract <number> (e.g., https://github.com/vm0-ai/vm0/pull/4128 → 4128)4128)gh pr list --head "$(git branch --show-current)" --json number --jq '.[0].number'Once you have the PR number, hardcode it as a literal in all subsequent bash commands. Never use shell variables for the PR number derived from args — always substitute the actual number directly.
gh pr view "$PR_NUMBER" --json title,body,author,url
Display PR metadata (title, author, URL).
Invoke the code-quality skill to perform comprehensive code review:
invoke skill /code-quality review ${PR_NUMBER}
This will:
codereviews/YYYYMMDD/After code-quality completes, perform a dedicated testing review by reading the testing documentation (docs/testing.md and relevant guides under docs/testing/) and analyzing the PR diff.
# Get all non-test source files changed in the PR
gh pr diff "$PR_NUMBER" --name-only | grep -v '\.test\.' | grep -v '__tests__'
For each changed source file, determine whether corresponding tests exist and cover the changes:
Review all test files in the PR diff against the project testing standards:
| Rule | Check | Severity |
|---|---|---|
| Integration tests only | No unit tests for internal functions | P1 |
| Mock at boundary only | vi.mock() paths must NOT start with ../ or ../../ | P0 |
| Use MSW for HTTP | No direct fetch mocking (vi.stubGlobal("fetch", ...)) | P0 |
| Real database | No mocking of globalThis.services.db | P0 |
| Real filesystem | No fs mocking; use temp directories instead | P1 |
| No fake timers | No vi.useFakeTimers() / vi.advanceTimersByTime() | P1 |
| Test behavior not mocks | No expect(mock).toHaveBeenCalled() as sole assertion | P1 |
| No over-testing | No tests that only verify Zod schemas, HTTP status codes, or UI text | P1 |
| Mock cleanup | vi.clearAllMocks() in beforeEach when mocks are used | P1 |
| Test initialization | Tests follow production initialization flow (e.g., setupPage() for platform) | P1 |
| Feature switch gating | New user-facing features (UI pages, API routes, sidebar items, integrations) must be gated behind a FeatureSwitchKey — see /feature-switch skill | P1 |
Classify the testing status:
After code-quality completes, read the generated files:
# Find today's review directory
REVIEW_DIR="codereviews/$(date +%Y%m%d)"
# Read the commit-list.md which contains the summary
cat "$REVIEW_DIR/commit-list.md"
Extract key findings:
Merge testing review findings from Step 4 into the overall results.
Structure the review findings as a PR comment:
## Code Review: PR #<number>
### Summary
<Brief summary based on code-quality analysis>
### Key Findings
#### Critical Issues (P0)
<List from code-quality review AND testing review>
#### High Priority (P1)
<List from code-quality review AND testing review>
### Testing Review
#### Coverage
<For each new feature or bug fix, state whether tests exist>
- feat: <feature description> → <test file or "MISSING">
- fix: <fix > →
If Testing Verdict is "Insufficient Coverage" or has P0 convention violations, the overall Verdict must be "Changes Requested".
---
gh pr comment "$PR_NUMBER" --body "$REVIEW_CONTENT"
Display confirmation with comment URL.
PR Review Complete
PR: #<number> - <title>
Author: <author>
URL: <url>
Code quality analysis completed.
Testing review completed.
Review files: codereviews/YYYYMMDD/
Review posted as comment.
Comment URL: <comment-url>
docs/testing.md and docs/testing/ guides as the source of truth for testing standardsYour goal is to leverage the comprehensive code-quality analysis, enforce testing coverage and conventions, and present findings effectively as a PR comment.