policy-rule-add

Community

Add consistent policy rules with tests

Authorgmanch94
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents inconsistent policy enforcement by standardizing how new legal/eligibility/budget/cost-cap rules are added to PolicyAgent, including stable flag codes and audit-ready rationale strings.

Core Features & Use Cases

  • Uniform rule structure: Ensures new PolicyAgent predicates, flags, and rationale formatting follow the existing conventions.
  • Safe extensibility with guardrails: Guides hard vs soft flag behavior, trigger conditions, and side-effect-free predicate methods.
  • Quality through required testing and documentation: Requires positive/negative tests and a PRD row update to keep staff console rendering consistent.
  • Real example use cases: Add a CONTU-style copyright rule, block patrons based on eligibility, warn on an ISBN denylist, or flag ISO 18626 cost-cap violations.

Quick Start

Ask the AI to generate the exact code, test, and documentation diffs needed to add your new PolicyAgent rule using the conventions in this Skill.

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: policy-rule-add
Download link: https://github.com/gmanch94/agora/archive/main.zip#policy-rule-add

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 471,000+ vetted skills library on demand.