rules

Manage and enforce binding rules for app and service operations in Sapling.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/cfarvidson/sapling --skill rules-cfarvidson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules
Source: https://github.com/cfarvidson/sapling/tree/main/packages/claude-plugin/skills/rules
Command: npx skills add https://github.com/cfarvidson/sapling --skill rules-cfarvidson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for managing and enforcing rules for app and service operations within the Sapling environment, ensuring consistent behavior and compliance across tasks.

Core Features & Use Cases

  • Rule Management: View, add, replace, or clear binding instructions ("rules") for apps or services.
  • Rule Execution: Rules are loaded by /sapling:work and treated as non-negotiable constraints.
  • Use Case: Imagine you have a code review process that requires all pull requests to be reviewed before merging. Use this Skill to enforce this rule by adding it as a service rule.

Quick Start

To add a new rule for the 'iris-upload-portal' service, use the command: /sapling:rules iris-upload-portal add "All pull requests must be reviewed before merging."

Frequently Asked Questions about rules

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

FAQPage Schema
How do I enforce binding rules for app and service operations in Sapling?

You can enforce binding rules for app and service operations in Sapling by using this Skill to add, replace, or clear instructions. These rules are loaded into the /sapling:work context and treated as non-negotiable constraints.

What is the purpose of loading rules into the /sapling:work context?

Loading rules into the /sapling:work context ensures consistent behavior and compliance across tasks. The loaded rules act as non-negotiable constraints that govern how service and app operations execute.

Do I need access to the Sapling MCP server to manage service operations rules?

Yes, managing service operations rules requires access to the Sapling MCP server. You also need the ability to modify service and app conventions to successfully enforce binding instructions.

Can I clear or replace existing app management rules in Sapling?

Yes, you can view, replace, or clear existing app management rules in Sapling. This allows you to update or remove non-negotiable constraints as your service and app conventions evolve.

Why are my service operations not following the conventions I set in Sapling?

Service operations may ignore conventions if the rules are not properly loaded into the /sapling:work context. Use this Skill to verify that your binding instructions are actively added and enforced as non-negotiable constraints.