Skip to content

innoq/aimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIMER: AI-Assisted Software Analysis & Improvement Prompts

Illustration of a wooden catapult with a smiling face aimed at a stone castle tower, with colorful bandages floating above, representing AIMER's approach to fixing and improving software systems

The Challenge

How can we make sense of and improve legacy systems using modern AI?

AIMER tackles this question by combining Generative AI, agentic AI, and structured methodologies for software analysis and improvement. We're inspired by proven approaches such as:

Both aren't just abstract theories but contain battle-tested activities from real projects. Our goal is to translate them into actionable, reusable AI-powered workflows to make analyzing and improving software systems more efficient.

What We Want to Achieve

We want to create a tool that supports developers and architects in analyzing and improving legacy systems by guiding Large Language Models (LLMs) through codebases, artifacts, and architecture.

For this, this repository contains early ideas and prototypes of commands for Claude Code that implement parts of the aim42 method and Software Reviews techniques. Most of them will not work yet and need improvement to get the best out of Large Language Models. Therefore, we want to explore agentic workflows, where LLMs act as autonomous agents performing complex analysis tasks by combining code, documentation, Git history, quality models, and more.

But We Need Your Help!

Legacy systems are rarely clean. They’re huge, undocumented, and deeply embedded in real business processes. To generate valuable insights, LLMs need to:

  • Navigate and interpret sprawling, inconsistent codebases
  • Understand implicit decisions and trade-offs
  • Connect technical structures to architectural and stakeholder concerns
  • Make suggestions based on trustworthy data that can also be verified by humans
  • Deliver actionable insights — ideally even suggesting or automating specific refactorings, and not vague advice

This is more than prompt engineering — it's about designing a mini framework that structures how an LLM thinks about software systems.

How You Can Help

This is an open challenge and an evolving community effort.

We welcome contributions such as:

  • Designing prompts or commands that operationalize analysis techniques
  • Proposing how agents can autonomously explore and reason about legacy systems
  • Sharing real-world cases that stress-test our prototypes
  • Exploring hybrid integrations: static analysis + architecture views + LLM insights

We believe AI can become a true partner in software modernization — not by replacing human judgment, but by scaling and systematizing our expertise.

The Vision of AIMER

This is what we aim for with the AIMER project:

AIMER provides battle-tested methodologies and structured approaches for software analysis and improvement, leveraging years of practical experience in software architecture and development. These aren't just prompts – they're distilled little frameworks based on solid foundations from industry expertise and proven practices.

Each command represents a specific analytical methodology designed to systematically examine different aspects of your software systems: from identifying architectural hotspots and documenting decisions to analyzing stakeholder needs and security concerns.

Use with Claude Code

You may use these prompts wherever you like. We’ll document a way to use them as custom slash commands in Claude Code:

Project-Specific Commands

To make AIMER prompts available within a specific project:

Option 1: Direct Clone

  1. Clone this repository into your project's .claude/commands directory:
# Navigate to your project root
mkdir -p .claude/commands
git clone https://github.com/innoq/aimer.git .claude/commands
  1. Use the commands in Claude Code with the /project: prefix:
claude > /project:hotspot-analysis

Option 2: Git Submodule (Recommended)

Adding AIMER as a Git submodule allows you to track specific versions and update more easily:

  1. Add the repository as a submodule in your project:
# Navigate to your project root
mkdir -p .claude/commands
git submodule add https://github.com/innoq/aimer.git .claude/commands/aimer
  1. Use the commands in Claude Code with the /project: prefix:
claude > /project:hotspot-analysis
  1. Update the submodule when needed:
git submodule update --remote .claude/commands/aimer

💡 Important Hint: All AIMER prompts are designed for thinking mode (reasoning) or, if not using Claude, models that can do chain-of-thought reasoning. For optimal results, append terms like "think", "think harder", or "ultrathink" to your slash commands. By default, thinking mode is not activated, so remember to explicitly enable it for deeper, more thorough analysis.

User-Specific Commands

To make AIMER prompts available for all your projects:

  1. Clone this repository into your home Claude commands directory:
mkdir -p ~/.claude/commands
git clone https://github.com/innoq/aimer.git ~/.claude/commands
  1. Use the commands in Claude Code with the /user: prefix:
claude > /user:hotspot-analysis

Usage Tips

  • Command names are derived from the filename (e.g., hotspot-analysis.md becomes /project:hotspot-analysis)
  • You can organize prompts in subdirectories for better categorization
  • Project-scoped commands are shared with team members who have access to the repository
  • User-scoped commands are available to you across all projects
  • All prompts use $ARGUMENTS to accept additional contextual information as parameter to claude on the CLI, as well as inside the REPL

Using Thinking Mode (Reasoning)

All AIMER commands include a $ARGUMENTS placeholder that allows you to pass additional instructions to enhance Claude's analysis. One powerful use case is enabling thinking mode to get deeper, more thorough analysis.

Examples

Basic command:

claude > /user:hotspot-analysis

With thinking mode for deeper analysis:

claude > /user:hotspot-analysis think
claude > /user:hotspot-analysis think harder
claude > /user:hotspot-analysis ultrathink

Other useful argument patterns:

claude > /user:code-walkthrough think and focus on error handling patterns
claude > /user:quality-scenario-analysis think and prioritize performance scenarios
claude > /user:stakeholder-interviews think especially about technical debt concerns

Categories

  • Workflow Optimization: Prompts for improving development workflows
  • Code and Architecture Analysis: Deep-dive code analysis and improvement suggestions
  • Documentation: Templates for generating and improving documentation

Contributing

Contributions are welcome! When creating or modifying prompts, please follow our Prompt Guidelines to ensure consistency and quality across all AIMER commands.

Please feel free to submit a pull request with new prompts or improvements to existing ones.

Maintainers

License

See the LICENSE file for details.


Built with ❤️ by humans and machines at INNOQ.

INNOQ

About

Prompts for architecture analysis and improvement

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5