crafting-rules

Community

Craft consistent OpenCode rules across projects.

Authorfrap129
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Use when creating or modifying OpenCode rules (.md/.mdc files) that customize agent behavior. Helps extract patterns from conversation history, analyze project conventions (AGENTS.md, linters, package.json), and draft well-formatted rules with appropriate globs/keywords. Trigger when user wants to create a rule, codify repeated instructions, persist guidance across sessions, or customize agent behavior for specific files or topics.

Core Features & Use Cases

  • Extract patterns from conversation history to drive agent behavior.
  • Analyze project conventions (AGENTS.md, linter configurations, package.json) to align rules.
  • Draft well-formatted rules with appropriate globs and keywords.
  • Persist guidance across sessions to maintain consistency.
  • Customize agent behavior for specific files or topics.

Quick Start

Create a rule that codifies your project conventions by specifying globs and keywords, then save it to your OpenCode rules repository.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: crafting-rules
Download link: https://github.com/frap129/dotfiles/archive/main.zip#crafting-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.