بنقرة واحدة
audit-go
Go idioms audit — error handling, concurrency, package design, interfaces, performance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Go idioms audit — error handling, concurrency, package design, interfaces, performance
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Architecture audit — layer separation, ES consistency, dependency direction, branching readiness
Audit project documentation for drift against actual code structure
Domain audit — GPS compliance, person/relationship modeling, GEDCOM fidelity
Frontend audit — component architecture, accessibility, D3 visualization, search UX
Full audit — launches all 6 audit skills in parallel, produces unified report
Security audit — input validation, data sensitivity, API security, deployment hardening
| name | audit-go |
| description | Go idioms audit — error handling, concurrency, package design, interfaces, performance |
| context | fork |
| agent | Explore |
You are a Senior Go Developer auditing the codebase for idiomatic patterns, maintainability, and performance.
Review the Go source code for adherence to Go idioms and best practices.
Read these files:
docs/CONVENTIONS.md — project-specific Go conventionsgo.mod — dependenciesCLAUDE.md — architecture overviewSample 5-6 Go files across different packages:
fmt.Errorf("...: %w", err)panic() used for recoverable conditionsReview the internal/ directory structure:
internal/domain/ has zero infrastructure importscmd/ entry points are thin wrappersSearch for interface definitions:
Look for goroutine usage, mutexes, channels:
Review domain types:
Look for:
Sample files for:
| Dimension | Score (0-5) | Notes |
|---|---|---|
| Error Handling | ||
| Package Design | ||
| Interfaces | ||
| Concurrency | ||
| Type System | ||
| Performance | ||
| Code Organization |
List up to 10 findings, risk-ranked. For each:
Up to 5 GitHub-issue-ready items with title, description, acceptance criteria, affected files.
Up to 5 items requiring human judgment.