원클릭으로
suggest-improvements
Propose targeted refactoring and readability improvements for reviewed code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Propose targeted refactoring and readability improvements for reviewed code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use this skill to generate well-branded interfaces and assets for AGENT-33, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
Scan code for security vulnerabilities and unsafe patterns with remediation guidance.
Review a code diff for correctness, logic errors, and style issues.
Diagnose and explain error messages with root cause analysis and actionable fix steps.
Assist with common git operations including branching, committing, and pull requests.
Lint source code using project-configured linters and auto-fix safe violations.
| name | suggest-improvements |
| version | 1.0.0 |
| description | Propose targeted refactoring and readability improvements for reviewed code. |
| allowed_tools | ["file_ops"] |
| tags | ["code-review","refactoring","readability"] |
After a correctness and security review passes, suggest targeted improvements to code structure, readability, testability, and maintainability. Focus on changes that have a meaningful impact — avoid nitpicking that adds noise without value.
pathlib instead of os.path, use f-strings instead of %
formatting, use dataclasses/pydantic instead of dict-of-dicts).file_ops.## Improvement Suggestions: <scope>
### High Impact
**Readability — utils.py:34-60 — Extract overly long function**
Current: `process_record()` is 27 lines and handles parsing, validation, and
database insertion in a single function.
Suggested: Split into `parse_record()`, `validate_record()`, and `save_record()`
to allow independent testing and reuse.
Rationale: Single-responsibility functions are easier to test, debug, and extend.
### Low Impact
**Modernization — config.py:5 — Use pathlib**
Current: `os.path.join(BASE_DIR, 'data')`
Suggested: `Path(BASE_DIR) / 'data'`
Rationale: pathlib is the idiomatic path API in Python 3.4+.
### Summary
High impact: 1 Medium impact: 0 Low impact: 1