بنقرة واحدة
code-analyzer
Code quality analysis skill for tbdflow, covering smells, maintainability, and refactoring guidance.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Code quality analysis skill for tbdflow, covering smells, maintainability, and refactoring guidance.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage Trunk-Based Development workflows using the tbdflow CLI. Use this skill to create short-lived branches, make standardised commits, sync with trunk, merge completed work, generate changelogs, log intent notes, run non-blocking reviews, recover WIP snapshots, and emit machine-readable JSON output.
Lead Rust developer guidance for Rust 2021+, Clap CLI applications, error handling with anyhow/thiserror, and idiomatic patterns.
| name | code-analyzer |
| description | Code quality analysis skill for tbdflow, covering smells, maintainability, and refactoring guidance. |
| version | 1.0.0 |
| author | Claes Adamsson |
| tags | ["analysis","quality","refactoring","rust"] |
Use this skill to provide focused code quality reviews for the tbdflow codebase. The goal is to surface maintainability risks, code smells, and refactoring options with clear, actionable guidance.
Result/anyhow), and idiomatic
patterns.Result, ? operator, anyhow context, and thiserror for custom errors..unwrap(), prefer ?, if let, or map/and_then.Clone, Debug, Default, Serialize/Deserialize.cli, config, git, etc.).///).unsafe unless justified, handle all Result/Option properly.match/if let chains..unwrap() or .expect() without justification..clone() calls (ownership issues).Use this catalogue as a reference when naming smells and explaining impact. Keep it concise in reports and only expand when a smell is confirmed.
.github/devlog/YYYY-MM-DD-review.md..github/devlog/YYYY-MM-DD-activity.md.[AGENT_NAME] -> [ACTION_TAKEN] -> [RESULT/LINK].## Code Quality Review
### Findings
1. [Severity] Issue summary
- File: path/to/file.rs:line
- Why it matters: ...
- Suggested change: ...
### Clippy / Compiler Warnings
- ...
### Positives
- ...
### Risks / Follow-ups
- ...