audit
Codebase audit - 7 audit types for quality, security, architecture, and process analysis
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Codebase audit - 7 audit types for quality, security, architecture, and process analysis
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Start or resume session - loads state and continues work
First-run guided onboarding (teach the register → hunt → rest loop + a consented first hunt) OR reconfigure an existing install (shells `igris configure`). Branches on `igris onboarding status`. Usage: /setup
Guided project handoff — export a project's brain slice to a portable bundle, or import one with a preview/confirm ceremony. Usage: /handoff export <project> | /handoff import <bundle>
Release preparation - changelog generation, version bumps, release notes
Show system status report - briefs, session, blockers, git status
Search the brain's learnings with hybrid BM25+vector recall - filter by project or global, show ranked results (ID/title/snippet/score), and pull a learning into context. Usage: /search <query> [--project <slug> | --global] [--pull <id>] [--limit <N>]
| name | audit |
| tier | opt-in |
| description | Codebase audit - 7 audit types for quality, security, architecture, and process analysis |
| disable-model-invocation | false |
| allowed-tools | ["Read","Grep","Glob","Bash","mcp__igris-brain__igris_brief_create"] |
| triggers | ["AUDIT","INQUISITOR","audit code_quality","audit bugs","audit standards","audit process","audit dependencies","audit performance","audit architecture","audit full","run audit"] |
Comprehensive codebase audit workflow. Supports 7 audit types to detect quality, security, and architectural issues. Creates briefs for findings.
$ARGUMENTS selects the audit type:
code_quality -> Technical debt detection (creates TD-XXX briefs)bugs -> Potential bug identification (creates BR-XXX briefs)standards -> Guideline compliance check (creates TD-XXX briefs)process -> Protocol and workflow compliance (creates PI-XXX briefs)dependencies -> Dependency update/CVE checking (creates DU-XXX briefs)performance -> Bottleneck identification (creates PF-XXX briefs)architecture -> Redundancy and dead code detection (creates AC-XXX briefs)full -> Run ALL 7 audit types| Operation | Brief Type | Purpose |
|---|---|---|
| CODE_QUALITY_AUDIT | TD-XXX | Technical debt, code smells, maintainability |
| BUG_HUNT | BR-XXX | Potential bugs, logic errors, edge cases |
| STANDARDS_COMPLIANCE_CHECK | TD-XXX | Verify code follows coding_guidelines.md |
| PROCESS_AUDIT | PI-XXX | Check if protocols and workflows are followed |
| DEPENDENCY_AUDIT | DU-XXX | Outdated deps, security vulnerabilities |
| PERFORMANCE_ANALYSIS | PF-XXX | Bottlenecks, inefficiencies, memory leaks |
| ARCHITECTURE_REVIEW | AC-XXX | Dead code, redundancy, layer violations |
$ARGUMENTS for audit typefull, run all 7 types sequentiallyigris_brief_create MCP tool, fallback to cache write at ~/.igris/projects/{project}/briefs/# Audit Report: {AUDIT_TYPE}
**Date:** {YYYY-MM-DD}
**Scope:** {files/directories audited}
## Summary
| Severity | Count |
|----------|-------|
| Critical | {n} |
| High | {n} |
| Medium | {n} |
| Low | {n} |
## Findings
### Critical
#### {Finding Title}
- **File:** {path}:{line}
- **Issue:** {description}
- **Fix:** {suggested fix}
- **Brief:** {TYPE}-XXX (created)
### High
#### {Finding Title}
- **File:** {path}:{line}
- **Issue:** {description}
- **Fix:** {suggested fix}
### Medium
[...]
## Recommended Briefs
| Type | Title | Priority | Effort |
|------|-------|----------|--------|
| TD-XXX | {title} | P1 | S |
| BR-XXX | {title} | P0 | M |
brief_status.status (via igris_brief_dashboard/igris_brief_list) and verifies against git log + on-disk artifacts. Plan docs describe pre-build INTENT and read as "unbuilt" forever — never infer build-state from them. Scope: this governs only the SOURCE OF TRUTH for build-state; it does NOT discourage reading plan docs — plans remain a valid input for design, intent, approach, and rationale, so read them freely for their content. The rule forbids only inferring whether a brief is built from a plan. See docs/architecture/brief-state-source-of-truth.md.