LibreAI / Dev Tools / rules
// devtools · project-codeguard/rules

rules

Model-agnostic security rules for AI coding workflows — secure by default.

💎 Hidden gem★ 424 stars⑂ 56 forksCustomupdated 2026-01
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

rules is an open-source dev tools project by project-codeguard (project-codeguard/rules on GitHub). It has 424 GitHub stars and 56 forks, is released under the Custom license, and was last updated on GitHub on 29 January 2026.

GitHub stars
424
Forks
56
License
Custom
Last updated on GitHub
29 January 2026
Category
Dev Tools
Listing
Hidden gem — a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Add the ruleset

    Install the CodeGuard rules into your workflow.

  2. Configure your assistant

    Point your AI coding tools at the rules.

  3. Code as usual

    The assistant follows secure-by-default practices.

  4. Audit compliance

    Verify generated code meets the baseline.

// features

Why people love it

Model agnostic

Works with any AI coding model.

Secure by default

Safe patterns baked into generation.

Ruleset format

Versionable, reviewable security rules.

Workflow embedded

Lives where your assistants work.

Baseline enforcement

One standard across all tools.

Open framework

Inspect and extend the rules.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/project-codeguard/rules.git
    cd rules
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Is it free for commercial use?

It uses a custom license — read the license file before commercial use.

Which models are supported?

It is model-agnostic by design — any coding assistant.

Does it replace security review?

No — it raises the baseline; human review still matters.

Can I customize the rules?

The ruleset format is meant to be extended — check the docs.

How is it different from a linter?

Linters check finished code; this steers the AI while it writes.

// keep exploring

Similar tools

Dev Tools

secure-code-game

Learn to code securely while having fun through our popular open source in-editor experience, designed for developers, students, and anyone curious about sec…

★ 2.8k starsMIT
View guide →
Dev Tools

cc-connect

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat …

★ 15.7k starsUnknown
View guide →
Dev Tools

context-engineering-intro

Context engineering is the new vibe coding - it's the way to actually make AI coding assistants work. Claude Code is the best for this so that's what this re…

★ 13.9k starsMIT
View guide →
Dev Tools

project-codeguard

Open-source security framework for AI coding agents — secure by default.

★ 348 starsCustom
View guide →
Dev Tools

EasyCode

A deeply tunable AI coding assistant that works with every major model.

★ 422 starsApache-2.0
View guide →
Dev Tools

agentic-ai-prompt-research

Research into how agentic AI coding assistants work. Reconstructed prompt patterns, agent coordination, and security classification

★ 2.6k starsUnknown
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if rules is not the right fit.

Get rules

Free and open — grab the source, star the repo, and start creating.