From rkit
View audit logs, decision traces, and session history. Browse and search through rkit's audit trail for transparency and debugging. Use proactively when user wants to review AI decisions, check audit history, or investigate what actions were taken during a PDCA cycle. Triggers: audit, log, trace, history, decision, transparency, 감사, 로그, 추적, 이력, 결정, 투명성, 監査, ログ, 追跡, 履歴, 決定, 透明性, 审计, 日志, 追踪, 历史, 决策, 透明度, auditoria, registro, rastreo, historial, decision, transparencia, audit, journal, trace, historique, decision, transparence, Audit, Protokoll, Nachverfolgung, Verlauf, Entscheidung, Transparenz, audit, registro, traccia, cronologia, decisione, trasparenza Do NOT use for: modifying audit logs, PDCA phase execution, or code changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rkit:audit [log|trace|summary|search] [query][log|trace|summary|search] [query]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- BEGIN: cycle3-body-neutral -->
verify-policy --check body-neutrality로 자동 검증됩니다.<!-- BEGIN: cycle3-body-neutral --> ~ <!-- END: cycle3-body-neutral --> 마커로 감싸진 영역.policies/locked-vocab.json)에서 scripts/gen-locked-vocab.mjs가 자동 생성합니다.직접 부록을 편집하지 마세요 — node scripts/gen-locked-vocab.mjs로 재생성됩니다.
User-invocable skill for viewing audit logs, decision traces, and session history.
| Argument | Description | Example |
|---|---|---|
| (none) | Show recent audit log entries (same as log) | /audit |
log | Show recent audit log entries (last 20) | /audit log |
trace <feature> | Show decision traces for a feature | /audit trace user-auth |
summary | Show daily/weekly audit summary | /audit summary |
retro | Weekly retrospective (PDCA completion, match rate trend) | /audit retro |
search <query> | Search audit logs by action type, feature, or date | /audit search "phase_transition" |
Display recent audit log entries.
.rkit/audit/YYYY-MM-DD.jsonlJSONL Entry Schema:
{
"timestamp": "2026-03-19T10:30:00.000Z",
"action": "phase_transition",
"feature": "user-auth",
"from": "plan",
"to": "design",
"automationLevel": "semi-auto",
"triggeredBy": "user",
"details": "Plan approved, transitioning to Design"
}
Output Format:
--- Audit Log (Last 20 Entries) -------------------
[2026-03-19 10:30] phase_transition | user-auth
plan -> design (Semi-Auto, user-triggered)
[2026-03-19 10:25] checkpoint_created | user-auth
Checkpoint cp-1710842700000 before Design phase
[2026-03-19 10:20] automation_level_changed | -
L1 -> L2 (trust score: 72)
...
---------------------------------------------------
Total entries today: 45
Show decision traces for a specific feature.
.rkit/decisions/YYYY-MM-DD.jsonlDecision Trace Entry Schema:
{
"timestamp": "2026-03-19T10:30:00.000Z",
"feature": "user-auth",
"decision": "advance_to_design",
"rationale": "Plan document complete, matchRate N/A at this phase",
"alternatives": ["request_plan_revision", "skip_to_do"],
"chosenBecause": "Plan deliverable exists and passes validation",
"automationLevel": "semi-auto",
"confidence": 0.92
}
Output Format:
--- Decision Trace: user-auth ---------------------
[10:15] START -> pm
Decision: Begin PDCA cycle
Rationale: New feature request detected
[10:20] pm -> plan
Decision: advance_to_plan
Rationale: PRD document generated successfully
Alternatives: [reject_prd, revise_scope]
Confidence: 0.88
[10:30] plan -> design
Decision: advance_to_design
Rationale: Plan document complete, passes validation
Alternatives: [request_plan_revision, skip_to_do]
Confidence: 0.92
---------------------------------------------------
Total decisions: 3
Show daily or weekly audit summary.
Output Format:
--- Audit Summary (2026-03-19) --------------------
Total Actions : 45
Phase Transitions : 12
Checkpoints Created : 4
Errors Recorded : 1
Recoveries : 1
Action Breakdown:
phase_transition : 12 (27%)
checkpoint_created : 4 (9%)
match_rate_recorded : 8 (18%)
automation_level_change: 2 (4%)
iteration_completed : 6 (13%)
other : 13 (29%)
Automation Ratio: 67% auto / 33% manual
Trust Score Change: +3 (69 -> 72)
---------------------------------------------------
Weekly Trend (last 7 days):
Mon: 32 actions | Tue: 45 actions | Wed: 28 actions
...
Generate a weekly retrospective report with PDCA metrics and trends.
Output Format:
--- Weekly Retrospective (2026-03-18 ~ 2026-03-25) ---
PDCA Completion Rate : 3/4 (75%) [prev: 2/3 (67%) +8%]
Avg Match Rate : 92% [prev: 88% +4%]
Total Iterations : 7 [prev: 9 -2]
Avg Iterations/Feature: 1.75 [prev: 3.0 -1.25]
Match Rate Trend (7 days):
100| ●
90| ● ● ●
80| ● ● ●
70|
Mon Tue Wed Thu Fri Sat Sun
Features Completed:
[x] uart-dma | 95% | 2 iter
[x] spi-config | 91% | 1 iter
[x] gpio-manager | 98% | 1 iter
[ ] can-protocol | 82% | 3 iter (in progress)
Top Improvements:
- Match rate improved 4% week-over-week
- Fewer iterations needed (1.75 vs 3.0)
Recurring Issues:
- Error handling patterns flagged in 2/4 features
------------------------------------------------------
Search audit logs by action type, feature name, or date range.
phase_transition), filter by action.rkit/audit/Search Examples:
# Search by action type
/audit search "phase_transition"
# Search by feature name
/audit search "user-auth"
# Search by date
/audit search "2026-03-18"
# Full-text search
/audit search "error"
| Path | Format | Purpose |
|---|---|---|
.rkit/audit/YYYY-MM-DD.jsonl | JSONL | Daily audit log entries |
.rkit/audit/summary/ | JSON | Pre-computed daily/weekly summaries |
.rkit/decisions/YYYY-MM-DD.jsonl | JSONL | Decision trace entries |
| Module | Function | Usage |
|---|---|---|
lib/audit/audit-logger.js | readAuditLog() | Read audit entries |
lib/audit/audit-logger.js | searchAuditLog() | Search/filter entries |
lib/audit/decision-tracer.js | getDecisionTrace() | Read decision traces |
# View recent log entries
/audit
# View decision trace for a feature
/audit trace user-auth
# View daily summary
/audit summary
# Search for phase transitions
/audit search "phase_transition"
# Search by feature
/audit search "user-auth"
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub solitasroh/rkit --plugin rkit