create-rule

Define and standardize coding rules for Augment Agent with frontmatter templates.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/newmoon-org/agent-rules --skill create-rule
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rule
Source: https://github.com/newmoon-org/agent-rules/tree/main/skills/create-rule
Command: npx skills add https://github.com/newmoon-org/agent-rules --skill create-rule

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams define, document, and enforce consistent coding rules for Augment Agent, reducing drift and ambiguity in project conventions.

Core Features & Use Cases

  • Establish frontmatter-driven rule templates to standardize how rules are authored.
  • Provide step-by-step workflows and examples to accelerate rule creation and review.
  • Support governance of coding standards across projects and teams.

Quick Start

Create a new rule file under rules/ named pr-workflow.md with frontmatter and structured content that enforces a PR workflow.

Frequently Asked Questions about create-rule

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create coding standards rules for AI agents?

To create coding standards rules, you define rule files with required frontmatter and structured content templates. This enforces consistency across projects by standardizing how rules are authored, documented, and governed.

What is the best way to enforce project coding conventions in CI workflows?

The best way to enforce coding conventions is by applying standardized rule templates within your CI workflows. This provides step-by-step governance and reduces drift or ambiguity in project standards.

How does frontmatter structure work for rule documentation?

Frontmatter structure provides a standardized metadata header for rule files, ensuring consistent documentation and governance. It allows teams to author rules that Augment Agent can reliably parse and enforce.

Can I standardize governance rules across multiple development teams?

Yes, you can standardize governance rules across multiple teams by establishing frontmatter-driven rule templates. This supports the creation, documentation, and enforcement of coding standards consistently across projects.

What do I need to start defining PR workflow rules?

You need to create a new rule file named pr-workflow.md under the rules directory. This file should contain the required frontmatter and structured content that defines and enforces your PR workflow.

Why should I use structured templates for coding standards?

Structured templates for coding standards reduce drift and ambiguity in project conventions. By providing step-by-step workflows and examples, they accelerate rule creation and review while enforcing consistency.