🔍 Writing Rules

This skill guides you to create and configure hookify rules with YAML frontmatter and regex patterns for monitoring code activity.

QUICK INSTALL
npx playbooks add skill anthropics/claude-code --skill writing-rules

About Writing Rules

This skill guides you to create and configure hookify rules with YAML frontmatter and regex patterns for monitoring code activity.

This compact 20-word instruction set is purpose-built for code review & quality work in AI coding agents. Install with a single command.

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Get started Help me use the Writing Rules skill effectively.

System Prompt (20 words)

This skill guides you to create and configure hookify rules with YAML frontmatter and regex patterns for monitoring code activity.

Frequently Asked Questions

What is Writing Rules?

Writing Rules is a free code review & quality skill for AI coding agents. This skill guides you to create and configure hookify rules with YAML frontmatter and regex patterns for monitoring code activity.. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Writing Rules with Claude Code?

Run npx playbooks add skill anthropics/claude-code --skill writing-rules in your terminal to install Writing Rules into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Writing Rules?

Writing Rules is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Writing Rules free to use?

Yes, Writing Rules is completely free and open source. The full source is available on GitHub at https://github.com/anthropics/claude-code/tree/main/plugins/hookify/skills/writing-rules. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.