vibe-codex
Version:
CLI tool to install development rules and git hooks with interactive configuration
130 lines (95 loc) โข 3.42 kB
Markdown
# vibe-codex
> Automated development rules and workflow enforcement for modern software teams
> **Migration Notice**: This repository has evolved from the original `mandatory-rules-checker` project. If you were using the legacy system, please see the [migration guide](docs/LEGACY-MIGRATION.md). Legacy compatibility is maintained temporarily in the `legacy/` and `scripts/` directories.
[](https://www.npmjs.com/package/vibe-codex)
[](https://opensource.org/licenses/MIT)
[](https://www.npmjs.com/package/vibe-codex)
## ๐ Quick Start
```bash
npx vibe-codex init
```
## ๐ What is vibe-codex?
vibe-codex automatically enforces development best practices through:
- ๐ Pre-commit security checks
- ๐งช Test coverage requirements
- ๐ Documentation standards
- ๐ PR/Issue workflow automation
- ๐ Deployment validations
## ๐ป Installation
### One-time use (recommended)
```bash
npx vibe-codex init
```
### Global installation
```bash
npm install -g vibe-codex
vibe-codex init
```
### As project dependency
```bash
npm install --save-dev vibe-codex
```
## ๐ฏ Basic Usage
### Initialize in your project
```bash
cd your-project
npx vibe-codex init
# With options
npx vibe-codex init --type fullstack --minimal
# With advanced hooks
npx vibe-codex init --with-advanced-hooks "issue-tracking,pr-management"
```
### Configure modules
```bash
npx vibe-codex config
```
### Validate your project
```bash
npx vibe-codex validate
```
### Update to latest rules
```bash
npx vibe-codex update
```
## โ๏ธ Configuration
vibe-codex uses a `.vibe-codex.json` file for configuration:
```json
{
"modules": {
"testing": {
"framework": "jest",
"coverage": { "threshold": 80 }
},
"github": {
"features": ["pr-checks", "issue-tracking"]
}
}
}
```
See [Configuration Guide](./docs/CONFIGURATION.md) for all options.
## ๐ฆ Available Modules
- **Core** - Basic git workflow and security
- **Testing** - Test frameworks and coverage
- **GitHub** - PR/Issue automation
- **Deployment** - Platform-specific checks
- **Documentation** - README and docs standards
### ๐ง Advanced Hooks (Optional)
Additional development workflow automation:
- **Issue Tracking** - Automatic issue updates and progress tracking
- **PR Management** - PR health checks and review enforcement
- **Quality Gates** - Test coverage and security validations
- **Context Management** - Keep project documentation up to date
Install during init or with: `npx vibe-codex init --with-advanced-hooks "issue-tracking,quality-gates"`
See [Modules Guide](./docs/MODULES.md) for details.
## ๐ Documentation
- [Getting Started](./docs/GETTING-STARTED.md) - Installation and setup guide
- [Configuration](./docs/CONFIGURATION.md) - Configuration options
- [CLI Reference](./docs/CLI-REFERENCE.md) - Command line usage
- [API Reference](./docs/API.md) - Programmatic usage
- [Modules](./docs/MODULES.md) - Available modules
- [Migration Guide](./docs/MIGRATION.md) - Upgrading from v1.x
- [Troubleshooting](./docs/TROUBLESHOOTING.md) - Common issues
## ๐ค Contributing
See [CONTRIBUTING.md](https://github.com/tyabonil/vibe-codex/blob/main/CONTRIBUTING.md)
## ๐ License
MIT ยฉ vibe-codex contributors