From tailored-reviewer
This skill should be used when the user asks to "set up tailored review", "interview for review", "collect project information", "initialize review project", "プロジェクト情報を収集", "レビュー用の情報を集めて", "インタビューして", or needs to collect project-specific knowledge for review skill generation. Also triggered when existing knowledge-base files have stale last_verified dates, or when tailored-reviewer version has changed since last interview.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tailored-reviewer:interviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Collect project-specific knowledge through a structured 3-phase process. The output feeds into build-skills to create tailored review skills.
Collect project-specific knowledge through a structured 3-phase process. The output feeds into build-skills to create tailored review skills.
The current directory IS the review data project. All files go directly here — do NOT create subdirectories like tailored-reviewer-data/ or review-data/.
Expected structure (all at current directory root):
./config.md
./knowledge-base/
./meta/
./workspace/ ← git clone of the target project
./.claude/skills/ ← generated by build-skills
./reviews/ ← review outputs
./backtest/ ← backtest cases and results
./CLAUDE.md ← generated by this skill
If config.md already exists, this is an update. If not, this is a new project.
Prerequisites: The user should have created and cd'd into the project directory before running this skill (e.g., mkdir ~/review/rmw_zenoh && cd ~/review/rmw_zenoh).
Map where project information lives. Ask the user one category at a time. Provide concrete examples to help them think of sources they might forget.
Ask these in order. For each, provide examples of what you're looking for:
Repository structure
Bug & task tracking
Error monitoring
Communication channels
Documentation
Code quality tools
Roadmap & planning
Available Claude Code tools
Specification sources
Library / platform / API specification sources
Write results to:
config.md — frontmatter (project_name, git_url, default_branch) + information source sections with full detail (see spec for format)knowledge-base/source-map.md — structured map of all identified sources with access methodsPurpose: Some projects use a branch other than the GitHub default as their primary development branch (e.g., develop for active work, main only for releases). Using the wrong branch causes stale analysis.
Run immediately after Phase 1 (once git_url is known):
${CLAUDE_PLUGIN_ROOT}/scripts/detect-dev-branch.sh <owner/repo>
The script reports 3 signals. Use this decision logic:
master ですが、実際の開発ブランチは develop のようです(最終コミット: 2026-03-09、masterより24コミット先行)。develop を主ブランチとして使ってよいですか?"Store the confirmed primary development branch as default_branch in config.md frontmatter. This is the branch that all tailored-reviewer operations (backtest, fact-check, workspace checkout) will use.
If the primary branch differs from the GitHub default, also note this in config.md body:
## Branch Strategy
- GitHub default branch: master (release branch, infrequently updated)
- Primary development branch: develop (stored as default_branch)
Read from sources identified in Phase 1. Use only tools available in the user's Claude Code environment (MCP servers, gh CLI, git, file system). Do NOT attempt to access tools that aren't installed.
Execute these in order. For each, write results to the appropriate knowledge-base file with metadata frontmatter:
---
last_verified: YYYY-MM-DD
update_frequency: monthly | weekly
confidence: 0.0-1.0
sources:
- "source description (date)"
---
Repository analysis → knowledge-base/project-context.md
Design principles → knowledge-base/design-principles.md
sources: ["コード推論: {path} のパターンから"]Implementation principles → knowledge-base/implementation-principles.md
Bug patterns → knowledge-base/bug-patterns.md
${CLAUDE_PLUGIN_ROOT}/scripts/extract-fix-patterns.sh <workspace-path>PR review patterns → knowledge-base/pr-review-patterns.md
${CLAUDE_PLUGIN_ROOT}/scripts/extract-pr-comments.sh <owner/repo>Roadmap → knowledge-base/roadmap.md
Team context → knowledge-base/team-context.md
Spec sources → knowledge-base/spec-sources.md
When reading documents, compare document dates with code reality:
confidence: 0.3, sources: ["STALE: doc.md (2024-01) vs code reality"]Review all knowledge-base files. For each:
Present a bulleted summary of everything collected, grouped by knowledge-base file. Ask the user to confirm or correct. Update files based on their response.
When run on a project that already has knowledge-base files:
last_verified + update_frequency on each filegit clone <git_url> workspace/cd workspace && git checkout <default_branch from config.md> (this matters when the primary development branch differs from the GitHub default).gitignore if it doesn't exist (workspace/ should not be committed to the review data project):
workspace/
meta/plugin-version-used.md with current tailored-reviewer versionmeta/last-updated.md with current timestamps per fileCLAUDE.md at the project root with environment instructions:# Review Data Project: {project_name}
This directory is a review data project for tailored-reviewer, NOT the project itself.
## Directory Structure
- `config.md` — project configuration
- `knowledge-base/` — collected project knowledge
- `meta/` — metadata (plugin-version, build-inputs, etc.)
- `workspace/` — git clone of {git_url}. This is the actual code.
- `.claude/skills/` — generated review skills
- `reviews/` — review output
- `backtest/` — backtest cases and results
## Important Rules
- All git/gh commands must run inside `workspace/`, not here
- `meta/` files go at this project root, NOT in `.claude/skills/meta/`
- Review outputs go to `reviews/`
npx claudepluginhub suzuki0keiichi/claude-plugins-suzuki0keiichi --plugin tailored-reviewerDiscovers git state, project structure, language/framework, and dev tooling in unfamiliar codebases. Provides structured summary with risk flags and recommendations for onboarding.
Answers codebase questions by reading an Agentheim project's index, READMEs, ADRs, and task boards, then verifying against source code. Use when you need a thorough, code-grounded answer that separates decisions from implementation.
Captures PR review findings into project memory palaces as decisions, patterns, standards, and lessons. Retrieves for reference in future reviews and code work.