Skip to content

Feat/kody rules#30

Merged
Wellington01 merged 6 commits intomainfrom
feat/kody-rules
Mar 19, 2026
Merged

Feat/kody rules#30
Wellington01 merged 6 commits intomainfrom
feat/kody-rules

Conversation

@jairo-litman
Copy link
Contributor

@jairo-litman jairo-litman commented Mar 19, 2026

This pull request introduces a new kodus rules command to the CLI, enabling users to manage "Kody Rules" directly from the terminal. Kody Rules are guidelines that the Kodus AI follows during code generation to ensure consistency and quality.

Key changes include:

  • New kodus rules CLI Command: A new top-level command with create, update, and view subcommands is added.
    • kodus rules create: Allows users to define new Kody Rules with attributes like title, rule content, repository scope (defaults to global), severity (low, medium, high, critical; defaults to medium), scope (file or pull request; defaults to file), and an optional file path glob pattern (defaults to **/*).
    • kodus rules update: Enables modification of existing Kody Rules by their UUID, allowing updates to any of their attributes.
    • kodus rules view: Provides functionality to list all Kody Rules or fetch specific rules by UUID or repository ID.
  • Kody Rule Structure: Each rule can specify a repositoryId, title, rule (detailed guidance), severity, scope, and path (glob pattern).
  • API and Service Integration: New API endpoints and a dedicated service (rules.service.ts) are implemented to handle the creation, updating, and viewing of Kody Rules on the backend.
  • Enhanced Skill Synchronization: The kodus-kody-rules skill is now included in the default set of skills synced by Kodus. The skill synchronization mechanism has been updated to support nested files within skill directories, allowing for more comprehensive documentation and instructions for Kody Rules (e.g., separate files for create, update, and view guidelines).
  • Documentation: The README.md is updated with examples for the new kodus rules command, and extensive documentation for Kody Rules and their management is added in .claude/commands/kodus-kody-rules.md and skills/kodus-kody-rules/.

@kody-ai

This comment has been minimized.

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kodus-skill-install Ready Ready Preview, Comment Mar 19, 2026 5:09pm

@kody-ai
Copy link

kody-ai bot commented Mar 19, 2026

kody code-review Kody Rules critical

The pull request description is empty. Please update it to include a reference to the issue being addressed, using a format like 'Closes #123' or 'Fixes #456' to automatically link and close the issue upon merging. Kody Rule violation: Ensure PR closes referenced issues

@kody-ai

This comment has been minimized.

@kody-ai
Copy link

kody-ai bot commented Mar 19, 2026

kody code-review Kody Rules critical

The pull request description does not contain a reference to a GitHub issue. To improve tracking and context, please add a closing keyword (e.g., 'Closes #issue_number', 'Fixes #issue_number') or at least an issue mention (e.g., '#issue_number') to the description. Kody Rule violation: Ensure PR closes referenced issues

@kody-ai
Copy link

kody-ai bot commented Mar 19, 2026

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Cross File
Business Logic

Access your configuration settings here.

@kody-ai
Copy link

kody-ai bot commented Mar 19, 2026

kody code-review Kody Rules critical

The pull request description is missing a reference to a related issue. Please add a closing keyword like 'Closes #issue_number' or 'Fixes #issue_number' to automatically link and close the issue upon merging. Kody Rule violation: Ensure PR closes referenced issues

@Wellington01 Wellington01 merged commit f3836d2 into main Mar 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants