Review date: 2026-04-28
Scope: Copilot-first hybrid package with 2 agents + 8 pack skills + 36 references + eval harness.
Status: Post Claude 4.7 review + P0 refactor + caveman-inspired output optimization.
Migration note: the previous 33 peer skills are no longer peers. They are preserved as
references/*.mdunder 8 pack skills and mirrored into.github/skills/for GitHub Copilot. Usepython3 scripts/validate_hybrid_packs.pyas the current structural quality gate.
This report replaces the older pre-patch review. The previous findings about thin stack skills, missing few-shot examples, and observability overlap have been rechecked against the current package.
| Category | Result |
|---|---|
| Package contents | 2 agents, 8 pack skills, 39 references, 3 instruction files, Copilot .github/ target, eval harness |
| Pack frontmatter compliance | ✅ 8/8 pack skills use trigger-first frontmatter |
| Reference preservation | ✅ 39/39 references preserved under pack references/ |
| Copilot target | ✅ .github/copilot-instructions.md, .github/agents/, and .github/skills/ created |
| Agent routing | ✅ Routes pack-first, then leaf references only when needed |
| Agent few-shot example | ✅ Present: architecture-task example for payment idempotency |
| Agent duplication risk | ✅ Reduced: pack skills own routing; leaf detail lives in references |
| Structural validator | ✅ scripts/validate_hybrid_packs.py added and now checks research/rubric artifacts |
| External skill research | ✅ docs/external-skill-research.md records sibling-project patterns and originality notes |
| Pack quality rubric | ✅ docs/skill-pack-quality-rubric.md defines trigger, reference, token, benchmark, security, release, and Copilot readiness gates |
| Evaluation workflow | ✅ docs/evaluation-improvement-playbook.vi-VN.md, evals/scoring-rubric.md, and reports/ templates added |
| Real-world benchmark | ✅ evals/banking-insurance-benchmark.jsonl adds 10 banking / non-life insurance / bancassurance prompts for GPT vs Claude comparison |
| Overall score | Pending re-benchmark |
Verdict: The package is now structurally aligned with the Copilot-first hybrid-pack design. Re-score quality after running the new benchmark corpus through skill-evaluator.
Current structural validation is owned by scripts/validate_hybrid_packs.py. The detailed line-count table below is retained as the historical pre-migration baseline for the former leaf skills, which now live under pack references/.
Line counts were checked directly from the current files.
| Skill | Lines | Required floor | Status |
|---|---|---|---|
analytics-and-warehouse-design |
114 | 90 | ✅ |
angular-development |
153 | 130 | ✅ |
api-design |
103 | 90 | ✅ |
api-gateway-and-service-integration |
102 | 90 | ✅ |
authn-authz-and-secrets |
127 | 90 | ✅ |
background-jobs-and-batch-processing |
102 | 90 | ✅ |
caching-and-distributed-state |
103 | 90 | ✅ |
code-review-and-refactoring |
142 | 90 | ✅ |
data-engineering-and-pipelines |
122 | 90 | ✅ |
data-modeling |
154 | 90 | ✅ |
database-architecture |
131 | 90 | ✅ |
database-reliability-and-operations |
121 | 90 | ✅ |
devops-and-release |
175 | 90 | ✅ |
dotnet-development |
137 | 130 | ✅ |
file-and-object-storage |
103 | 90 | ✅ |
java-spring-boot-development |
143 | 130 | ✅ |
logging-metrics-and-tracing |
101 | 90 | ✅ |
messaging-and-eventing |
104 | 90 | ✅ |
monitoring-alerting-and-slos |
101 | 90 | ✅ |
observability-and-sre |
94 | delegation exception | ✅ |
performance-engineering |
173 | 90 | ✅ |
rate-limiting-and-traffic-control |
103 | 90 | ✅ |
react-native-development |
149 | 130 | ✅ |
reactjs-development |
139 | 130 | ✅ |
requirements-analysis |
127 | 90 | ✅ |
resilience-and-fault-tolerance |
101 | 90 | ✅ |
search-and-indexing |
131 | 90 | ✅ |
security-review |
112 | 90 | ✅ |
solution-architecture |
167 | 90 | ✅ |
sql-and-query-optimization |
180 | 90 | ✅ |
system-design |
116 | 90 | ✅ |
testing-strategy |
99 | 90 | ✅ |
workflow-and-job-orchestration |
102 | 90 | ✅ |
Agent: principal-software-engineering-agent.agent.md = 343 lines.
principal-skills-maintenance.instructions.md now protects the package with practical rules:
- Required frontmatter:
name,description. - Required 14-section order.
- Optional trailing sections allowed after the 14 required sections:
See AlsoWorked Example<Name> Template
- Minimum depth floor:
- stack-specific skills: ≥ 130 lines;
- other non-delegation skills: ≥ 90 lines;
- delegation skill exception for
observability-and-sre.
- Decision matrix preference for choices among options.
- Cross-link discipline:
See Alsoshould stay ≤ 4 genuinely adjacent skills.
Assessment: ✅ Strong. The instructions now prevent regression of the improvements made in P1/P2/P3.
principal-agent-maintenance.instructions.md now protects:
- Agent frontmatter presence:
name,description,model,tools. - Skill routing by responsibility.
- Few-shot example requirement.
- Duplication guardrail: if the agent repeats more than ~5 lines from a skill, it should route to that skill instead.
- Agent should stay a routing / orchestration panel, not a long tutorial.
Assessment: ✅ Strong. The new duplication threshold is especially useful for long-term maintainability.
File: agents/principal-software-engineering-agent.agent.md
Current length: 343 lines
Score: 9.0 / 10
- ✅ Clear principal-level identity: behaves like a panel of senior specialists, not a generic assistant.
- ✅ Strong enterprise and regulated-system posture: data correctness, auditability, resource-level authorization, idempotency, migrations, observability, operational controls.
- ✅ Mandatory request triage forces the agent to classify role, supporting lenses, task type, risk, sensitivity, and missing constraints.
- ✅ Skill routing now covers all 8 packs and names leaf references only when precision is needed.
- ✅
Cross-Cutting Platform Routingnow routes to specialist skills instead of repeating full platform guidance. - ✅ Few-shot example for payment idempotency gives a concrete output shape: decision, skills consulted, assumptions, contract, rejected alternatives, tests, operational signals, open questions.
- ✅ Production stop conditions are explicit and useful for high-risk recommendations.
⚠️ TheMissionlist is still mostly domain labels rather than direct→ pack-namereferences. This is not blocking because the dedicatedSkill Routingsection is complete, but adding pack references would improve scanability.
No urgent change required. Optional future polish: add → pack-name references to the mission bullets or shorten the mission list by pointing readers to Skill Routing.
Scoring uses the same dimensions as the previous review:
- D = depth
- R = enforceable rules
- E = enterprise / regulated realism
- G = concrete gotchas and failure modes
| Skill | D | R | E | G | Score | Current assessment |
|---|---|---|---|---|---|---|
requirements-analysis |
9 | 9 | 9 | 9 | 9.0 | Now includes NFR capture, scenario template, ambiguity taxonomy, slicing strategies, open-question ownership, and UAT evidence. |
solution-architecture |
10 | 9 | 10 | 9 | 9.5 | Strong boundary reasoning plus ADR template. Excellent principal-level architecture playbook. |
system-design |
9 | 9 | 9 | 9 | 9.0 | Solid runtime-flow and failure-mode guidance. |
api-design |
9 | 9 | 9 | 9 | 9.0 | P2 fixed major gaps: REST/GraphQL/gRPC/async style selection, versioning, pagination. |
code-review-and-refactoring |
9 | 9 | 9 | 10 | 9.3 | Now includes severity rubric, review-priority matrix by change type, safe refactoring sequence, compatibility checks, and platform risk checks. |
Group score: 9.2 / 10
| Skill | D | R | E | G | Score | Current assessment |
|---|---|---|---|---|---|---|
database-architecture |
10 | 10 | 10 | 9 | 9.8 | Still one of the strongest skills. Excellent workload-fit reasoning. |
data-modeling |
10 | 9 | 10 | 9 | 9.5 | Improved with SCD Type 2 worked example. |
sql-and-query-optimization |
10 | 10 | 9 | 10 | 9.8 | Improved with concrete EXPLAIN ANALYZE example and verification checklist. |
database-reliability-and-operations |
10 | 10 | 10 | 9 | 9.8 | Strong restore, migration, failover, and operational-risk framing. |
data-engineering-and-pipelines |
10 | 9 | 10 | 9 | 9.5 | Strong CDC, replay, backfill, data quality, and regulated controls. |
analytics-and-warehouse-design |
9 | 9 | 9 | 9 | 9.0 | Strong dimensional and governance guidance. |
search-and-indexing |
9 | 9 | 9 | 9 | 9.0 | P2 fixed relevance/hybrid/vector/reindex guidance. |
Group score: 9.5 / 10
| Skill | D | R | E | G | Score | Current assessment |
|---|---|---|---|---|---|---|
messaging-and-eventing |
10 | 10 | 10 | 9 | 9.8 | Outbox/inbox, ordering scope, idempotency, DLQ, replay, operator repair are all strong. |
caching-and-distributed-state |
9 | 9 | 9 | 9 | 9.0 | Good correctness/staleness framing. |
resilience-and-fault-tolerance |
9 | 9 | 9 | 9 | 9.0 | Strong fallback, circuit breaker, retry, bulkhead principles. |
background-jobs-and-batch-processing |
9 | 9 | 9 | 9 | 9.0 | Strong restartability, chunking, checkpointing, reconciliation focus. |
workflow-and-job-orchestration |
9 | 9 | 10 | 9 | 9.3 | Good saga/orchestration/compensation boundaries. |
api-gateway-and-service-integration |
9 | 9 | 9 | 9 | 9.0 | Clear gateway vs business logic boundary. |
rate-limiting-and-traffic-control |
9 | 9 | 9 | 9 | 9.0 | Strong fairness and graceful rejection posture. |
file-and-object-storage |
9 | 9 | 10 | 9 | 9.3 | Strong document lifecycle, signed URL, scanning, retention, legal hold. |
Group score: 9.2 / 10
| Skill | D | R | E | G | Score | Current assessment |
|---|---|---|---|---|---|---|
security-review |
10 | 10 | 10 | 10 | 10.0 | Still the package's strongest individual skill. Excellent cross-surface review coverage. |
authn-authz-and-secrets |
10 | 9 | 10 | 9 | 9.5 | P2 fixed RBAC/ABAC/ReBAC/detail/tooling/token/session specificity. |
observability-and-sre |
8 | 9 | 10 | 9 | 9.0 | Now intentionally lean and well-scoped as production-readiness / ownership delegator. |
logging-metrics-and-tracing |
9 | 9 | 9 | 9 | 9.0 | Strong telemetry field/cardinality/redaction guidance. |
monitoring-alerting-and-slos |
9 | 9 | 9 | 9 | 9.0 | Strong SLI/SLO/burn-rate/runbook framing. |
performance-engineering |
10 | 10 | 9 | 10 | 9.8 | P1 fixed profiling tools, queueing math, capacity planning, validation. |
testing-strategy |
9 | 9 | 9 | 9 | 9.0 | Practical risk-based testing coverage. |
devops-and-release |
10 | 10 | 10 | 10 | 10.0 | P1 fixed canary %, blue-green DNS, GitOps, signing, drift, rollout gates. |
Group score: 9.4 / 10
| Skill | D | R | E | G | Score | Current assessment |
|---|---|---|---|---|---|---|
dotnet-development |
9 | 9 | 9 | 9 | 9.0 | Now covers Minimal API vs MVC, source generators, AOT, gRPC, SignalR, IHttpClientFactory, channels/pipelines, EF gotchas. |
java-spring-boot-development |
9 | 9 | 9 | 9 | 9.0 | Now covers Boot 3, WebFlux vs MVC, virtual threads, AOT/native, Spring Modulith, Kafka/RabbitMQ patterns. |
reactjs-development |
9 | 9 | 9 | 9 | 9.0 | Now covers React 18/19, RSC, Suspense, TanStack Query, Zustand/Jotai/Redux, Next.js/Remix/Vite decisions. |
angular-development |
9 | 9 | 9 | 9 | 9.0 | Now covers standalone APIs, signals, RxJS decision rules, functional interceptors, SSR/hydration, NgRx decisions. |
react-native-development |
9 | 9 | 9 | 9 | 9.0 | Now covers New Architecture, Hermes, Expo vs bare, OTA risk, Detox/Maestro, iOS/Android production differences. |
Group score: 9.0 / 10
| Area | Current status | Assessment |
|---|---|---|
observability-and-sre vs logging-metrics-and-tracing vs monitoring-alerting-and-slos |
observability-and-sre is now a delegation / readiness skill |
✅ Fixed. Overlap is controlled. |
solution-architecture vs system-design |
Architecture owns solution shape and trade-offs; system design owns runtime behavior | ✅ Boundary acceptable. |
messaging-and-eventing vs background-jobs-and-batch-processing vs workflow-and-job-orchestration |
Events, jobs, and long-running workflows are separated clearly | ✅ Good. |
security-review vs authn-authz-and-secrets |
Security review audits cross-surface risk; auth skill designs identity/access/secrets | ✅ Good, now with See Also. |
devops-and-release vs database-reliability-and-operations |
Release owns pipeline/rollout; DB ops owns migration/restore/failover details | ✅ Good, now cross-linked. |
api-design vs api-gateway-and-service-integration |
API contracts vs gateway/BFF/integration policy | ✅ Good. |
caching-and-distributed-state vs performance-engineering |
Caching owns correctness/staleness; performance owns bottleneck evidence and budgets | ✅ Good. |
No dangerous overlap remains.
| Area | Before | Now |
|---|---|---|
| Stack-specific skills | ~70 lines each; below expert baseline | 137-153 lines; all pass ≥130 floor |
observability-and-sre |
Too much overlap with telemetry/SLO skills | Lean delegation map; production-readiness focused |
| Agent | Had more duplicated platform detail and no few-shot | 343 lines, routing-oriented, with few-shot example |
performance-engineering |
Thin implementation guidance | Profiling matrix, Little's Law, queueing/capacity math |
devops-and-release |
Thin rollout details | Canary %, blue-green, GitOps, signing, rollback drills |
requirements-analysis |
Below floor after initial patch | 127 lines; NFR template, scenario template, ambiguity taxonomy, slicing, UAT evidence |
code-review-and-refactoring |
Practical but less structured than top skills | 142 lines; severity rubric, change-type review matrix, safe refactoring sequence, compatibility checks |
api-design |
Missing GraphQL/gRPC/versioning/pagination specifics | Style selection, versioning strategy, pagination algorithms |
search-and-indexing |
Limited relevance/vector detail | Hybrid, BM25/vector, reranking, reindex/alias pattern |
authn-authz-and-secrets |
Needed RBAC/ABAC/ReBAC detail | Authorization model and token/session defaults added |
| Optional examples/templates | Limited | ADR template, SCD Type 2 example, EXPLAIN ANALYZE example |
No P0/P1/P2/P3 items remain from the original review. P1/P2/P3 content improvements completed 2026-04-27.
| Priority | Improvement | Target | Status |
|---|---|---|---|
| P1 | Test type decision matrix | testing-strategy (99→123 lines) |
✅ Done |
| P1 | Resilience pattern decision matrix + timeout budget | resilience-and-fault-tolerance (101→136 lines) |
✅ Done |
| P1 | Cache pattern decision matrix + Redis guidance | caching-and-distributed-state (103→125 lines) |
✅ Done |
| P1 | SLI/SLO definition template + burn-rate calculation | monitoring-alerting-and-slos (101→155 lines) |
✅ Done |
| P2 | Transactional outbox worked example | messaging-and-eventing (104→191 lines) |
✅ Done |
| P2 | Canary rollout with SLO gates worked example | devops-and-release (175→317 lines) |
✅ Done |
| P2 | Production readiness checklist template | observability-and-sre (94→169 lines) |
✅ Done |
| P2 | Structured log field schema + metric naming | logging-metrics-and-tracing (101→154 lines) |
✅ Done |
| P3 | Cross-surface security review worked example | security-review (112→171 lines) |
✅ Done |
| P3 | Database workload-fit decision worked example | database-architecture (131→218 lines) |
✅ Done |
These are not blockers; they would make the package easier to evolve and test over time:
- Add
CHANGELOG.mdfor package evolution. - Add an
examples/folder with sample outputs for:- architecture task;
- implementation/debugging task;
- review/refactoring task.
- Add a small prompt regression corpus: 10-15 prompts with expected routing and output behavior.
- Consider three new skills if the package scope grows:
incident-response-and-postmortem;architecture-decision-records;cost-and-finops.
- Optional polish: add
→ pack-namereferences to the agentMissionbullets.
Updated 2026-04-28 after Claude 4.7 review + P0 refactor + caveman-inspired output optimization. Previous self-score was 9.2/10. Claude 4.7 external review scored 6.5/10. Post-refactor assessment: 8.5/10 — reflects real improvements while acknowledging eval coverage still needs more real-traffic data.
| Dimension | Score | Ghi chú |
|---|---|---|
| Chất lượng Agent | 9.0 | 122 dòng, lean router, production bar, tie-break rules, output compression + auto-verbose |
| Thiết kế Pack | 8.5 | 8 packs, avg 33 dòng, zero boilerplate, distinct triggers, When NOT to Use |
| Độ sâu Reference | 8.5 | 36 references, decision matrices, worked examples, code samples, templates |
| Hiệu quả Token | 9.0 | Agent -70% vs pre-refactor, packs -50%, zero duplication |
| Độ chính xác Routing | 8.0 | Tie-break rules, boundary evals — benchmark 100/100 nhưng chưa test real traffic |
| Phạm vi Eval | 7.5 | 59 cases, 4 loại — cần thêm runs thật |
| Tài liệu | 8.0 | Song ngữ, GETTING-STARTED, INSTALL, documentation map |
| Khả năng bảo trì | 8.5 | pack-conventions, validator 8 packs/36 refs, CI-ready |
| Tư thế Enterprise | 9.0 | Banking/insurance first-class, audit/reconciliation/idempotency xuyên suốt |
| Tối ưu Output | 8.5 | Compression + auto-verbose + verbosity levels (caveman-inspired) |
| Tổng | 8.5 / 10 |
| Thời điểm | Điểm | Sự kiện |
|---|---|---|
| 2026-04-26 | 8.4 | Pre-patch baseline |
| 2026-04-27 | 9.2 | Post P1/P2/P3 content improvements (self-score, chưa có external review) |
| 2026-04-28 | 6.5 | Claude 4.7 external review (harsh but fair) |
| 2026-04-28 | 8.5 | Post P0 refactor + caveman optimization + 8-pack split + 36 refs + 59 eval cases |
- Run ID:
2026-04-28-8pack-baseline - Layout: 8 packs, 36 references
- Score: 100/100 (10/10 PASS, 0 WARN, 0 FAIL)
- Avg output: 271 words (compressed, within budget)
- Missing packs: 0
- Missing references: 0
- Prohibited activations: 0
Kết luận: Package đã cải thiện đáng kể sau external review. Token efficiency tăng mạnh (-70% agent, -50% packs). Routing precision cải thiện nhờ pack split + tie-break rules. Eval coverage mở rộng (59 cases). Điểm thực tế 8.5/10 — khoảng cách còn lại chủ yếu từ thiếu real-traffic data và semantic scoring tự động.