deepwork_rules.define

Create deterministic file-change governance rules with YAML frontmatter.

49|3|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/Unsupervisedcom/deepwork --skill deepwork-rules-define-unsupervisedcom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepwork_rules.define
Source: https://github.com/Unsupervisedcom/deepwork/tree/main/.claude/skills/deepwork_rules.define
Command: npx skills add https://github.com/Unsupervisedcom/deepwork --skill deepwork-rules-define-unsupervisedcom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams create deterministic file-change governance rules that trigger on specific file changes, ensuring consistent automation of documentation, code-review triggers, and other processes.

Core Features & Use Cases

  • Interactive rule definition: Guides users through capturing trigger patterns, safety conditions, and actions before rule creation.
  • Guided rule generation: Produces a YAML frontmatter rule file under .deepwork/rules/ with a clear, testable format.
  • Use Case: When certain files change (e.g., config/docs), automatically enforce related checks and prompts.
  • Extendable workflows: Rules can be stacked or composed with other skills to enforce governance.

Quick Start

Initiate the rule-definition workflow to create a new file-change rule. The agent will ask structured questions about triggers, safety conditions, and actions, then generate the rule file at .deepwork/rules/ for your rule.

Frequently Asked Questions about deepwork_rules.define

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

FAQPage Schema
How do I enforce file-change governance rules during AI coding sessions?

You can enforce file-change governance rules during AI coding sessions by defining deterministic triggers that activate automated checks, documentation sync, and code review prompts when specific files are modified.

What is the best way to automate documentation sync when certain project files change?

Automating documentation sync when project files change is achieved by creating structured rules that capture file-change triggers and actionable instructions, ensuring related docs are consistently updated without manual intervention.

How do I set up code review triggers for specific file modifications in my software project?

Setting up code review triggers for specific file modifications involves capturing trigger patterns and safety conditions in a rule file, which then automatically prompts the required review actions across your software project.

Can I stack multiple file-change rules to extend automated workflows across a project?

Yes, you can stack multiple file-change rules to extend automated workflows across a project, allowing governance rules to be composed and triggered together for comprehensive coverage of documentation and code review processes.

What format does the generated file-change rule use for deterministic automation?

The generated file-change rule uses a YAML frontmatter format saved under the .deepwork/rules/ directory, providing a clear, testable structure for deterministic automation triggers and actions.

Do I need any dependencies to define deterministic file-change rules?

No dependencies are required to define deterministic file-change rules, as the skill guides you through an interactive workflow to capture triggers, safety conditions, and actions before generating the rule file.