deepwork_rules.define

Generate .deepwork/rules/*.md files with YAML frontmatter for file-change triggers.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ncrmro/deepwork-permanent-portfolio --skill deepwork-rules-define-ncrmro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepwork_rules.define
Source: https://github.com/ncrmro/deepwork-permanent-portfolio/tree/main/.claude/skills/deepwork_rules.define
Command: npx skills add https://github.com/ncrmro/deepwork-permanent-portfolio --skill deepwork-rules-define-ncrmro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates a standardized, automated mechanism to generate .deepwork/rules/*.md rule files that trigger actions when specific files change, supporting documentation synchronization, code-review governance, and automated workflows.

Core Features & Use Cases

  • Define trigger patterns for file changes that should activate a rule.
  • Support detection modes: trigger/safety, set, and pair to model common work policies.
  • Produce clear, executable instruction content and YAML frontmatter for rule deployment.

Quick Start

Guide the user through collecting requirements and generate a new rule in .deepwork/rules/ with a clear name and YAML frontmatter.

Frequently Asked Questions about deepwork_rules.define

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

FAQPage Schema
How do I automate documentation synchronization when specific files change?

Automating documentation synchronization is achieved by defining change-trigger rules that generate .deepwork/rules/*.md files, which activate specified actions automatically whenever designated files are modified.

What are file change trigger rules and how do they work for code review?

File change trigger rules are configurable policies that monitor specific file patterns and automatically prompt code review actions. They use YAML frontmatter and executable instructions to enforce governance during AI sessions.

How do I create executable workflow rules with YAML frontmatter for AI sessions?

You create executable workflow rules by collecting requirements and generating a new rule file in .deepwork/rules/. This file includes clear YAML frontmatter and instruction content for the agent to execute.

Can I set safety and pair modes for automated code review governance?

Yes, you can set safety and pair modes. The rule definition process supports trigger, safety, and pair detection modes to model common work policies and ensure secure automated code review governance.

Does the Deepwork framework require dependencies to define automated workflow rules?

No, the Deepwork framework requires no dependencies to define automated workflow rules. It provides a self-contained, configurable rule system that can be directly executed by the agent during AI sessions.