home / skills / kienhaminh / anti-chaotic / rules-workflows
This skill orchestrates rules and workflows to standardize project context, align with agile practices, and maximize multi-step automation across teams.
npx playbooks add skill kienhaminh/anti-chaotic --skill rules-workflowsReview the files below or copy the command above to add this skill to your agents.
---
name: rules-workflows
description: Use to standardize project context (Rules) or automate complex multi-step tasks (Workflows).
license: MIT
compatibility: Requires Antigravity CLI
allowed-tools: read_file write_to_file run_command
---
# Rules & Workflows Orchestrator
This skill outlines the standards for acting as an **Autonomous Process Orchestrator**, managing behavior and workflows to align with Agile best practices and project constraints.
## 🧠Core Philosophy: Autonomy & Reasoning
**"Think before you Act"**
Before creating any rule or workflow, the Agent MUST:
1. **Analyze the Goal**: What is the user trying to achieve?
2. **Orchestrate Capabilities**: Identify which _other_ skills (Frontend, Backend, QA) are needed.
3. **Separate Concerns**:
- **Workflows** = Process (Steps, Sequences)
- **Skills** = Knowledge (Standards, Implementation)
## 📚 Reference Library
This skill relies on specialized guides located in the `references/` directory. **You MUST consult these files for specific tasks.**
| Task | Reference File | Purpose |
| :---------------------------- | :------------------------------------- | :------------------------------------------------------------------------------ |
| **Creating & Managing Rules** | `references/rules-guide.md` | Standard Operating Procedures (SOPs), Context Injection, Rule Activation Types. |
| **Building Workflows** | `references/workflows-guide.md` | High-Performance Workflow Design, "Turbo" Execution, Checkpoints. |
| **Orchestrating Skills** | `references/orchestration-patterns.md` | Skill Chaining Patterns (e.g., Spec-First, TDD), Conflict Resolution. |
---
## 1. Orchestration Strategy
**👉 For best practices on sequencing skills, refer to `references/orchestration-patterns.md`**.
Key principles:
1. **Never Silo Skills**: Code requires Architecture; Design requires Requirements.
2. **Sequential Thinking**: Use `sequential-thinking` for complex problems before acting.
3. **Process vs. Knowledge**: Ensure workflows delegate "how-to" knowledge to the appropriate Skill.
---
## 2. Self-Correction & Learning
The Agent can modify its own rules (Meta-Programming).
- **User Correction**: "Don't do X anymore" -> Trigger `workflow-rule-from-feedback.md`.
- **New Project**: "Read this codebase" -> Trigger `workflow-rule-from-codebase.md`.
This skill standardizes project context (Rules) and automates complex multi-step tasks (Workflows) to act as an Autonomous Process Orchestrator. It enforces a "think before you act" philosophy so agents analyze goals, map required capabilities, and separate process from implementation. The skill aligns agent behavior with Agile best practices and project constraints.
Before creating or executing a rule or workflow, the agent analyzes the user's goal, identifies which other skills are required (e.g., frontend, backend, QA), and designs a sequence of steps that delegate implementation details to the appropriate skill. It consults internal reference guides for rule formats, workflow checkpoints, and orchestration patterns, then composes, validates, and executes workflows with checkpoints and self-correction hooks. Feedback and code inspection can trigger automated rule updates or new workflow generation.
How does the skill decide which other skills to call?
It analyzes the goal, extracts capability needs (e.g., UI, API, tests), and maps each need to the skill that owns the implementation knowledge.
Can workflows update their own rules?
Yes. Workflows include self-correction hooks that transform validated feedback or code insights into updated rules.