スキル一覧に戻る
siy

jbct-review

by siy

Java Backend Coding Technology

10🍴 3📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: jbct-review description: Thorough parallel JBCT code review. Launches 10 focused reviewers plus aggregator for comprehensive compliance checking.

JBCT Parallel Code Review

Comprehensive JBCT compliance review using parallel focused workers with aggregation.

Usage

/jbct-review                           # Full codebase, all focus areas
/jbct-review src/main/java             # Specific path, all focus areas
/jbct-review --focus="Composition,Null"  # Specific focus areas only
/jbct-review src --focus="ValueObjects,UseCases"   # Combined path and focus

Arguments

  • path (optional): Directory or file to review. Default: entire codebase
  • --focus (optional): Comma-separated list of focus areas. Default: all 10 areas

Focus Areas

Short NameFull Focus Area
ValueObjectsValue Objects (factories + immutability)
UseCasesUse Cases (structure + composition)
ReturnTypesReturn Types (Result/Promise, Void→Unit, no exceptions)
StructuralStructural Patterns (Leaf, Sequencer, Fork-Join)
CompositionComposition Rules (fold() abuse, lambda complexity)
NullNull Policy (Option usage)
ThreadSafetyThread Safety (immutability, shared state)
NamingNaming Conventions (factories, zones, acronyms)
TestingTesting Patterns (assertions, organization)
CrossCuttingCross-Cutting Concerns (security, performance, logging)

Execution Steps

Step 1: Parse Arguments

1. Extract path argument (if provided, default to current directory)
2. Extract --focus argument (if provided, default to all 10 areas)
3. Parse focus areas into list

Step 2: Discover Files

1. Use Glob to find all Java files in target path: **/*.java
2. Filter out test files if reviewing production code only
3. Count total files to review

Step 3: Launch Parallel Workers

For each focus area, launch a jbct-reviewer agent with the focus parameter:

Task tool call:
  subagent_type: "jbct-reviewer"
  prompt: |
    Review the following Java files for JBCT compliance.

    **Focus Area:** [FOCUS_AREA_NAME]

    Check ONLY for violations in this specific area. Ignore other issues.

    Files to review:
    [LIST_OF_FILES]

    Report findings with severity levels (Critical/Warning/Suggestion/Nitpick).

Launch all workers in parallel using multiple Task tool calls in a single message.

Step 4: Collect Results

Wait for all workers to complete. Each returns structured findings.

Step 5: Aggregate Results

Launch a general-purpose agent to consolidate all reports (using jbct-reviewer for aggregation would exceed the 10-agent limit):

Task tool call:
  subagent_type: "general-purpose"
  prompt: |
    Aggregate the following JBCT review reports into a unified assessment.

    **Individual Reports:**

    --- ValueObjects Report ---
    [REPORT_1]

    --- UseCases Report ---
    [REPORT_2]

    ... (all 10 reports)

    Tasks:
    1. Deduplicate findings (same file:line across reports)
    2. Count issues by severity (Critical/Warning/Suggestion/Nitpick)
    3. Determine overall compliance level and recommendation
    4. Generate unified report following the format in Step 6

Step 6: Output Final Report

Present the aggregated report to the user:

# JBCT Parallel Review Report

**Path:** [TARGET_PATH]
**Files Reviewed:** [COUNT]
**Focus Areas:** [LIST or "All 18"]

## Summary

| Severity | Count |
|----------|-------|
| Critical | X |
| Warning | Y |
| Suggestion | Z |
| Nitpick | W |

**Recommendation:** ✅ APPROVE | ⚠️ APPROVE WITH CHANGES | ❌ REQUEST CHANGES

---

## 🔒 Critical Issues

[All critical findings from all workers, with focus area tag]

### [Focus Area]: Issue Title
**File:** `path/to/file.java:line`
**Problem:** [Description]
**Fix:** [Suggested code]

---

## ⚠️ Warnings

[All warnings from all workers]

---

## 🛠️ Suggestions

[All suggestions from all workers]

---

## 🧹 Nitpicks

[All nitpicks from all workers]

---

## 🔧 Quick Fixes Summary

1. **Critical:** [One-line summary]
2. **Patterns:** [Key pattern improvements]
3. **Composition:** [fold() and lambda fixes]

Example Execution

User: /jbct-review src/main/java

1. Parse: path = "src/main/java", focus = all 10 areas
2. Discover: 47 Java files found
3. Launch 10 parallel workers:
   - Worker 1: focus="Value Objects"
   - Worker 2: focus="Use Cases"
   - Worker 3: focus="Return Types"
   - Worker 4: focus="Structural Patterns"
   - Worker 5: focus="Composition Rules"
   - Worker 6: focus="Null Policy"
   - Worker 7: focus="Thread Safety"
   - Worker 8: focus="Naming Conventions"
   - Worker 9: focus="Testing Patterns"
   - Worker 10: focus="Cross-Cutting Concerns"
4. Wait for all workers to complete
5. Launch aggregator: focus="Aggregate" with all 10 reports
6. Output unified report: 3 Critical, 12 Warning, 8 Suggestion, 5 Nitpick

Notes

  • Each worker reviews ALL files but only checks for violations in its focus area
  • This ensures thoroughness: narrow focus = deeper analysis
  • Parallel execution: all 10 workers run simultaneously
  • Aggregator deduplicates and consolidates findings into unified report

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です