You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,6 +31,13 @@ You can drop this configuration into the context or custom rule settings of:
31
31
32
32
For example, the principles of the [Rugged Software Constitution](.agent/rules/rugged-software-constitution.md) which is based on [Rugged Software Manifesto](https://ruggedsoftware.org/) are universal and will improve the output of any LLM-based coding assistant.
2. Ensure your AI agent is configured to read from the `.agent` directory (most of well-known AI coding assistant are adhering to the `.agent` convention by default) or manually ingest the `.agent/rules/**` as part of its system prompt.
57
+
2. Ensure your AI agent is configured to read from the `.agent` directory (most of well-known AI coding assistant are adhering to the `.agent` convention by default, no action needed) or manually ingest the `.agent/rules/**` as part of its system prompt.
51
58
52
59
<!-- USAGE -->
53
60
## Usage
54
61
55
62
Once installed, the rules and skills in this repository become active for your agent.
56
63
64
+
### Rule Architecture
65
+
66
+
The setup uses a **two-tier rule system** to minimize noise while maximizing coverage:
|**Mandates**|`always_on`| Non-negotiable constraints loaded in every session (security, logging, code completion). |
71
+
|**Principles**|`model_decision`| Contextual guidance activated only when working on relevant areas (e.g., database rules activate only when writing queries). |
72
+
73
+
Conflicts between rules are resolved by [Rule Priority](.agent/rules/rule-priority.md) — security always wins.
74
+
57
75
### Comprehensive Rule Suite
58
76
59
77
The power of the setup comes from its extensive collection of rules covering every aspect of software engineering.
@@ -66,15 +84,21 @@ The power of the setup comes from its extensive collection of rules covering eve
66
84
#### ⚡ Reliability & Performance
67
85
***[Error Handling Principles](.agent/rules/error-handling-principles.md)**: Techniques for robust error management.
68
86
***[Concurrency & Threading](.agent/rules/concurrency-and-threading-principles.md)**: Safe parallel execution and deadlock prevention.
87
+
***[Concurrency & Threading Mandate](.agent/rules/concurrency-and-threading-mandate.md)**: When to use (and not use) concurrency.
69
88
***[Performance Optimization](.agent/rules/performance-optimization-principles.md)**: Writing efficient and scalable code.
70
89
***[Resource Management](.agent/rules/resources-and-memory-management-principles.md)**: Handling memory and system resources responsibly.
90
+
***[Monitoring & Alerting](.agent/rules/monitoring-and-alerting-principles.md)**: Health checks, metrics, and graceful degradation.
91
+
***[Configuration Management](.agent/rules/configuration-management-principles.md)**: Environment variables, secrets, and config hierarchy.
71
92
72
93
#### 🏗️ Architecture & Design
73
94
***[Core Design Principles](.agent/rules/core-design-principles.md)**: Fundamental software design rules (SOLID, DRY, etc.).
74
95
***[API Design Principles](.agent/rules/api-design-principles.md)**: Creating clean, intuitive, and versionable APIs.
75
-
***[Architectural Pattern](.agent/rules/architectural-pattern.md)**: Guidelines for structuring applications.
96
+
***[Architectural Pattern](.agent/rules/architectural-pattern.md)**: Testability-first design with I/O isolation.
97
+
***[Project Structure](.agent/rules/project-structure.md)**: Feature-based organization (the single source of truth for layout).
98
+
***[Database Design](.agent/rules/database-design-principles.md)**: Schema design, migrations, and query safety.
76
99
***[Data Serialization](.agent/rules/data-serialization-and-interchange-principles.md)**: Safe data handling and formats.
77
100
***[Command Execution](.agent/rules/command-execution-principles.md)**: Principles for running system commands securely.
***[Documentation Principles](.agent/rules/documentation-principles.md)**: Writing clear and helpful documentation.
85
109
***[Logging & Observability](.agent/rules/logging-and-observability-principles.md)**: Ensuring system visibility.
110
+
***[Logging & Observability Mandate](.agent/rules/logging-and-observability-mandate.md)**: All operations must be logged — no exceptions.
111
+
***[Accessibility Principles](.agent/rules/accessibility-principles.md)**: WCAG 2.1 AA compliance for UIs.
112
+
***[Git Workflow](.agent/rules/git-workflow-principles.md)**: Conventional commits, branch naming, and PR hygiene.
113
+
114
+
#### 🔄 DevOps & Operations
115
+
***[CI/CD Principles](.agent/rules/ci-cd-principles.md)**: Pipeline design, Docker, and GitHub Actions.
116
+
***[Code Completion Mandate](.agent/rules/code-completion-mandate.md)**: Automated quality checks before every delivery.
117
+
***[Rule Priority](.agent/rules/rule-priority.md)**: Conflict resolution when rules contradict each other.
86
118
87
119
### Specialized Skills
88
120
89
121
***[Debugging Protocol](.agent/skills/debugging-protocol/SKILL.md)**: Systematic approach to solving errors.
90
-
***[Frontend Design](.agent/skills/frontend-design/SKILL.md`)**: Guidelines for creating visually appealing UIs, based on [Antrophic Frontend-Design Skills](https://github.com/anthropics/skills/tree/main/skills/frontend-design)
122
+
***[Frontend Design](.agent/skills/frontend-design/SKILL.md)**: Guidelines for creating visually appealing UIs, based on [Anthropic Frontend-Design Skills](https://github.com/anthropics/skills/tree/main/skills/frontend-design)
123
+
***[Mobile Design](.agent/skills/mobile-design/SKILL.md)**: Production-grade mobile interfaces for Flutter and React Native.
91
124
***[Sequential Thinking](.agent/skills/sequential-thinking/SKILL.md)**: A tool for breaking down complex problems, an adaptation from [Sequential Thinking MCP Server](https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking)
125
+
***[Code Review](.agent/skills/code-review/SKILL.md)**: Structured code review protocol against the full rule set.
126
+
***[Guardrails](.agent/skills/guardrails/SKILL.md)**: Pre-flight checklist and post-implementation self-review.
127
+
***[ADR (Architecture Decision Records)](.agent/skills/adr/SKILL.md)**: Document significant architectural decisions with context and trade-offs.
128
+
129
+
### Development Workflows
130
+
131
+
The setup includes opinionated, end-to-end workflows that chain rules and skills into structured development processes.
132
+
133
+
#### 🏭 Feature Workflow (`/orchestrator`)
134
+
135
+
The primary workflow for building features. Phases execute sequentially — **no skipping**.
0 commit comments