qmims
v0.1.1
Published
AI-Powered README Generation & Editing using Kiro CLI
Maintainers
Readme
qmims - AI-Powered README Generation & Editing
qmims (Q, Make It Make Sense!) is a command-line tool that uses Kiro CLI to generate, update, and refine README.md files for your projects. It helps you create clear, comprehensive, and context-aware documentation with minimal effort.
Note on the name:
qmimswas originally built for Amazon Q CLI — hence Q, Make It Make Sense! Amazon has since rebranded Q Developer CLI to Kiro CLI, andqmimshas been fully migrated to work with Kiro.
📚 Visit the documentation site for guides, examples, and best practices.
Features
- AI-powered README generation with Kiro CLI
- Multiple generation modes:
- Auto: Analyze the project and generate a README automatically
- Template: Start from a built-in or custom template
- Instruct: Use embedded instructions inside Markdown files
- Direct README editing using embedded
qmimsinstructions - Custom templates for reusable README structures
- Configuration management for defaults and workflow preferences
- Optional auto-approval flow for Kiro tool permissions
Installation
⚡ Quick installation guide is also available in the docs.
Prerequisites
Before installing qmims, make sure you have:
Node.js: version 18 or later
node --versionKiro CLI: installed and authenticated
Install Kiro CLI using the official instructions for your platform.
Windows users: Kiro CLI requires Windows 11. Run the install command in PowerShell or Windows Terminal, not Command Prompt.
Authenticate with:
kiro-cli loginVerify installation and auth status:
kiro-cli whoamiFor headless or CI usage, you can authenticate with:
export KIRO_API_KEY=your_api_key_hereOn Windows PowerShell:
$env:KIRO_API_KEY = "your_api_key_here"If you run into issues, check:
kiro-cli doctor
Install qmims
npm install -g qmimsVerify installation:
qmims --versionUsage
📖 Full command reference includes examples and walkthroughs.
Generate a README
# Generate README in auto mode
qmims generate
# Use a specific template
qmims generate --mode template:basic
# List available templates
qmims generate --mode template --list-available-templates
# Generate with a custom output file
qmims generate --output DOCS.md
# Generate for a specific project directory
qmims generate /path/to/projectEdit an Existing README
# Edit README.md in the current directory
qmims edit
# Edit a specific Markdown file
qmims edit path/to/README.mdUse Embedded Instructions
Add instructions directly inside a Markdown file:
# Project Title
<!-- qmims: Generate a concise project overview based on the repository's main purpose. -->
## Installation
<!-- qmims: Provide installation steps using the detected package manager and runtime requirements. -->Then run:
qmims editManage Configuration
# List all configuration settings
qmims config list
# Get a specific setting
qmims config get defaults.mode
# Set a configuration value
qmims config set defaults.templateName detailedManage Templates
# List all templates
qmims templates list
# Add a custom template
qmims templates add my-template path/to/template.md
# Remove a custom template
qmims templates remove my-templateGeneration Modes
Auto Mode
Automatically analyzes your project and generates a README:
qmims generate --mode autoTemplate Mode
Uses a predefined template to structure the README:
qmims generate --mode template:basicBuilt-in templates include:
basicdetailedminimallibraryservice
Instruct Mode
Uses embedded instructions from a Markdown file:
qmims generate --mode instructOr specify a file:
qmims generate --mode instruct:path/to/README.mdAdvanced Options
--force,-f: overwrite existing files without prompting--yes,-y: automatically approve Kiro tool permission requests--dry-run: show what would happen without making changes--verbose: print detailed diagnostic output
Configuration
Configuration is stored in the standard qmims config location for your platform.
Common configuration keys include:
defaults.modedefaults.outputFileNamedefaults.templateNameq.autoApproveEdits
Kiro Workflow Notes
qmims uses Kiro in non-interactive chat mode under the hood. Typical environment setup looks like this:
kiro-cli login
kiro-cli whoami
qmims generateFor headless environments:
export KIRO_API_KEY=your_api_key_here
qmims generateIf Kiro is unavailable or authentication is missing, validate your setup with:
kiro-cli whoami
kiro-cli doctorContributing
Contributions are welcome. Feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License. See LICENSE for details.
Acknowledgements
- Kiro for the CLI-powered AI workflow
- Node.js community for the runtime and ecosystem
Made with ❤️
qmims was created to make project documentation easier to generate and maintain. If it saves you time, that means it's doing its job.
