@johnlindquist/file-forge
Version:
File Forge is a powerful CLI tool for deep analysis of codebases, generating markdown reports to feed AI reasoning models.
15 lines (12 loc) • 659 B
Markdown
<instructions>
- Analyze the code provided in the `<task>` tag for readability/maintainability issues (simplicity, clarity, readability).
- Propose refactoring changes (preserve functionality). Consider organization, naming, best practices.
- State refactor *goal* (e.g., "Extract method", "Improve naming"), potentially specified in the `<task>` tag variable `{{REFACTOR_GOAL}}`.
- **Do not** change external behavior.
- Return refactored code w/ comments if needed.
- Refactor based *only* on the provided code in the `<task>` tag.
</instructions>
**(Generated: {{ GENERATION_DATE }})**
<task>
Refactor this code to improve its {{REFACTOR_GOAL}}:
</task>