architecture-authority

Enforce deterministic architectural contracts for the dirctl project.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/DaniyalFaraz2003/dirctl --skill architecture-authority
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-authority
Source: https://github.com/DaniyalFaraz2003/dirctl/tree/main/.claude/skills/architecture-authority
Command: npx skills add https://github.com/DaniyalFaraz2003/dirctl --skill architecture-authority

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a central, enforceable blueprint for dirctl architecture, merging Clean Architecture, Domain-Driven Design, determinism, and safety invariants to block unsafe changes and guide refactors.

Core Features & Use Cases

  • Canonical crate structure and strict boundary rules
  • Domain-driven design with ubiquitous language
  • Determinism contract and explicit ordering
  • Safety model with journal, undo, and quarantine policies
  • Use case isolation and controller-free business logic
  • Rust code standards and library-first philosophy
  • Refactor discipline and architecture audit mode
  • Absolute rejection conditions to preserve integrity

Quick Start

Request an architectural plan and a unified diff detailing impacted files, determinism and safety impacts, recommended tests, and a rollback strategy.

Frequently Asked Questions about architecture-authority

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

FAQPage Schema
How do I enforce deterministic architecture and safety invariants in Rust crates?

Enforce deterministic architecture in Rust crates by defining a strict architectural contract that specifies domain boundaries, safety invariants, and auditability for planning and execution. This blocks unsafe changes and guides refactors.

What is the best way to structure Rust crates using domain-driven design and clean architecture?

The best way to structure Rust crates with domain-driven design is to apply a canonical crate structure with ubiquitous language, use case isolation, and controller-free business logic. This enforces strict boundary rules and library-first philosophy.

How do I plan a Rust refactor with rollback strategies and safety guarantees?

Plan a Rust refactor by requesting an architectural plan with a unified diff detailing impacted files, determinism impacts, safety impacts, recommended tests, and a rollback strategy. This ensures auditability and preserves system integrity.

When should I not use clean architecture for Rust refactoring?

You should not use clean architecture for Rust refactoring when changes violate absolute rejection conditions, fail explicit boundary compliance, or bypass safety models like journal, undo, and quarantine policies required to preserve integrity.

Does the dirctl architecture contract support undo and quarantine policies for safe execution?

Yes, the dirctl architecture contract supports undo and quarantine policies through its safety model. It enforces strict ordering, journal policies, and explicit boundary compliance to guarantee safe execution and auditability.

Can I use a library-first philosophy to isolate business logic from controllers in Rust?

Yes, you can use a library-first philosophy in Rust to isolate business logic from controllers. The architectural contract mandates use case isolation and controller-free business logic to maintain strict domain boundaries.