create-rules

Analyze codebases to generate or optimize AGENTS.md project rules.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/yogogml0035-cpu/Assets --skill create-rules-yogogml0035-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rules
Source: https://github.com/yogogml0035-cpu/Assets/tree/main/xquant-learning-notes/.agents/skills/create-rules
Command: npx skills add https://github.com/yogogml0035-cpu/Assets --skill create-rules-yogogml0035-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of creating or optimizing project-level global rules (AGENTS.md) in a codebase, saving developers time and ensuring consistency across projects.

Core Features & Use Cases

  • Rule Creation: Initiates AGENTS.md creation using a built-in template when none exists.
  • Rule Optimization: Refines existing AGENTS.md by reorganizing,补充, deduplicating, and perfecting project conventions.
  • Project Overview: Provides a concise overview of the project, technologies used, code organization, conventions, and build/test processes.
  • Use Case: Imagine you are starting a new project with an unstructured codebase. Use this Skill to set up a clean, optimized AGENTS.md from the beginning.

Quick Start

Use the create-rules skill to analyze the current project and generate or optimize the AGENTS.md file.

Frequently Asked Questions about create-rules

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

FAQPage Schema
How do I create an AGENTS.md file to establish project-level code conventions?

To create an AGENTS.md file for project-level code conventions, this Skill analyzes your codebase structure and configuration, then generates a file using a built-in template. It provides a concise project overview covering technologies, code organization, and build processes.

What is the best way to optimize existing AGENTS.md rules in my codebase?

The best way to optimize existing AGENTS.md rules is by analyzing the current file to reorganize, deduplicate, and refine project conventions. This Skill automates that refinement process to ensure your project rules remain consistent and well-structured.

Can I use rules automation to set up code conventions for any unstructured project?

Yes, you can use rules automation to set up code conventions for any unstructured project. This Skill applies pattern recognition to analyze project configuration and structure, making it applicable regardless of your specific tech stack to initialize clean conventions.

What should I include in AGENTS.md for project management and build processes?

AGENTS.md should include a project overview, technologies used, code organization, conventions, and build or test processes. This Skill automates extracting and organizing these sections from your codebase analysis into a structured document.

Do I need any dependencies to automate AGENTS.md creation?

No, you do not need any dependencies to automate AGENTS.md creation. This Skill operates independently using built-in scripts to analyze your codebase and generate or optimize the project-level global rules file.

When should I not use automated rules generation for project conventions?

You should not use automated rules generation when your project lacks a stable codebase structure to analyze, as the Skill relies on recognizing patterns in existing configuration and code organization to accurately formulate the AGENTS.md conventions.