azcodr 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/hooks.json +42 -0
- package/.agents/hooks.json.example +42 -42
- package/.agents/mcp_config.json.example +6 -1
- package/.agents/scripts/safety_guard.sh +34 -16
- package/.agents/scripts/verify_completion.sh +27 -13
- package/.agents/skills/agentic-architect/SKILL.md +125 -125
- package/.agents/skills/agentic-architect/references/agents_md_template.md +62 -62
- package/.agents/skills/agentic-architect/references/refinement_workflow.md +32 -32
- package/.agents/skills/agentic-architect/references/skill_architecture_inquiry.md +63 -63
- package/.agents/skills/agentic-architect/references/skill_template.md +56 -56
- package/.agents/skills/agentic-architect/scripts/validate_agentic_configs.sh +401 -362
- package/.agents/skills/clean-code-refactor/SKILL.md +91 -91
- package/.agents/skills/clean-code-refactor/references/clean_code_smells.md +27 -27
- package/.agents/skills/clean-code-refactor/references/design_patterns_ts.md +65 -65
- package/.agents/skills/compliance-audit/SKILL.md +120 -120
- package/.agents/skills/compliance-audit/references/owasp_top10_controls.md +16 -16
- package/.agents/skills/compliance-audit/references/soc2_iso_controls.md +28 -28
- package/.agents/skills/lets-build/SKILL.md +173 -172
- package/.agents/skills/lets-build/references/architecture_interview_matrix.md +115 -115
- package/.agents/skills/lets-build/references/hexagonal_bootstrap_scaffolds.md +160 -160
- package/.agents/skills/lets-build/references/project_readme_template.md +79 -79
- package/.agents/skills/lets-build/scripts/bootstrap_workspace.sh +255 -253
- package/.agents/skills/product-analyst/SKILL.md +154 -154
- package/.agents/skills/product-analyst/references/backlog_ordering_techniques.md +107 -107
- package/.agents/skills/product-analyst/references/gherkin_patterns.md +46 -46
- package/.agents/skills/product-analyst/references/invest_checklist.md +38 -38
- package/.agents/skills/product-analyst/references/okr_alignment_guide.md +76 -76
- package/.agents/skills/product-analyst/references/smart_tasks.md +59 -59
- package/.agents/skills/relentless-questioner/SKILL.md +128 -128
- package/.agents/skills/relentless-questioner/references/adaptive_question_trees.md +102 -102
- package/.editorconfig +19 -19
- package/.github/copilot-instructions.md +1 -0
- package/.github/workflows/ci.yml +56 -0
- package/.gitignore +25 -25
- package/AGENTS.md +102 -102
- package/LICENSE +21 -21
- package/README.md +154 -154
- package/bin/azcodr.js +228 -228
- package/data/.gitkeep +0 -0
- package/docs/knowledge/ubiquitous_language.md +18 -18
- package/docs/rules/agentic_configuration.md +259 -259
- package/docs/rules/api_architecture.md +179 -179
- package/docs/rules/authentication.md +76 -76
- package/docs/rules/authorization.md +75 -75
- package/docs/rules/caching.md +69 -69
- package/docs/rules/clean_code.md +62 -62
- package/docs/rules/cloud_native.md +41 -41
- package/docs/rules/cqrs.md +203 -203
- package/docs/rules/database_design.md +125 -125
- package/docs/rules/database_operations.md +69 -69
- package/docs/rules/design_patterns.md +98 -98
- package/docs/rules/devops_ci_cd.md +76 -76
- package/docs/rules/domain_driven_design.md +122 -122
- package/docs/rules/error_handling.md +52 -52
- package/docs/rules/feature_flags.md +59 -59
- package/docs/rules/frontend_architecture.md +157 -157
- package/docs/rules/multitenancy_architecture.md +98 -98
- package/docs/rules/product_ownership.md +127 -127
- package/docs/rules/project_management.md +49 -49
- package/docs/rules/relentless_questioning.md +52 -52
- package/docs/rules/requirements_engineering.md +98 -98
- package/docs/rules/security_compliance.md +53 -53
- package/docs/rules/server_driven_ui.md +88 -88
- package/docs/rules/test_driven_development.md +185 -185
- package/docs/rules/transactional_email.md +27 -27
- package/docs/rules/type_safety.md +65 -65
- package/docs/rules/ui_ux_architecture.md +150 -150
- package/docs/rules/workflow_state_machines.md +117 -117
- package/lib/index.d.ts +134 -123
- package/lib/index.js +5 -5
- package/lib/scaffold.js +399 -351
- package/memory.md +36 -36
- package/package.json +62 -59
- package/scripts/test_coverage.js +38 -0
- package/scripts/validate.js +246 -0
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
# {{PROJECT_NAME}}
|
|
2
|
-
|
|
3
|
-
> **{{PROJECT_TAGLINE_OR_MISSION}}**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 🌟 Architecture & Stack
|
|
8
|
-
|
|
9
|
-
- **Architecture:** Hexagonal (Ports & Adapters) with strict systemic atomicity and zero-downtime database patterns.
|
|
10
|
-
- **Language & Runtime:** {{LANGUAGE_AND_RUNTIME}}
|
|
11
|
-
- **Package Manager & Build:** {{PACKAGE_MANAGER_AND_BUILD_TOOL}}
|
|
12
|
-
- **Primary Transport:** {{TRANSPORT_PROTOCOL_AND_FRAMEWORK}}
|
|
13
|
-
- **Persistence Engine:** {{DATABASE_ENGINE}} (Migrations via {{MIGRATION_TOOL}})
|
|
14
|
-
- **Multi-Tenancy Isolation:** {{TENANCY_ISOLATION_MODEL}}
|
|
15
|
-
- **Dynamic Extensibility:** Common Expression Language (CEL) / JSON Schema Draft 2020-12
|
|
16
|
-
- **Observability:** OpenTelemetry (OTel) OTLP export over gRPC/HTTP
|
|
17
|
-
- **Security & DevSecOps:** Semgrep SAST, Gitleaks, Trivy scanning, CycloneDX SBOM
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## 🗂️ Project Structure
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
.
|
|
25
|
-
├── specs/ # Canonical contract specifications
|
|
26
|
-
│ ├── openapi/ # OpenAPI 3.1 REST specifications
|
|
27
|
-
│ ├── protobuf/ # Protocol Buffers v3 definitions
|
|
28
|
-
│ ├── schemas/ # Universal JSON Schema Draft 2020-12
|
|
29
|
-
│ └── tokens/ # W3C DTCG Design Tokens
|
|
30
|
-
├── src/ # Hexagonal Application Source
|
|
31
|
-
│ ├── domain/ # Core Invariant Domain (Entities, Value Objects)
|
|
32
|
-
│ ├── ports/ # Primary (Use Cases) and Secondary (Repositories) Ports
|
|
33
|
-
│ └── adapters/ # Ingress (HTTP/gRPC) and Egress (SQL/Broker) Adapters
|
|
34
|
-
├── tests/
|
|
35
|
-
│ ├── unit/ # Fast unit tests using test doubles
|
|
36
|
-
│ ├── integration/ # Adapter tests with transactional rollback
|
|
37
|
-
│ ├── contracts/ # Consumer contract tests (Pact)
|
|
38
|
-
│ └── acceptance/ # BDD Gherkin / Cucumber features
|
|
39
|
-
├── deploy/ # OCI Distroless Dockerfiles & Compose manifests
|
|
40
|
-
├── docs/rules/ # 28 cohesive single-responsibility architectural rules
|
|
41
|
-
├── memory.md # Master memory hub & Lightweight ADR ledger
|
|
42
|
-
└── AGENTS.md # Lean agentic directives (< 120 lines)
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
## ⚡ Quickstart & Development
|
|
48
|
-
|
|
49
|
-
### 1. Prerequisites
|
|
50
|
-
- {{PREREQUISITES_LIST}}
|
|
51
|
-
- Docker & Docker Compose
|
|
52
|
-
|
|
53
|
-
### 2. Environment Setup
|
|
54
|
-
```bash
|
|
55
|
-
cp .env.example .env
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### 3. Install Dependencies
|
|
59
|
-
```bash
|
|
60
|
-
{{INSTALL_COMMAND}}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### 4. Run Development Environment
|
|
64
|
-
```bash
|
|
65
|
-
{{DEV_RUN_COMMAND}}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### 5. Run Tests & Verification
|
|
69
|
-
```bash
|
|
70
|
-
{{TEST_COMMAND}}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## 🏛️ Architecture Governance & Decisions
|
|
76
|
-
|
|
77
|
-
This project is governed by the **28 Cohesive Domain Rules** located in `docs/rules/` and Architectural Decision Records in `memory.md`:
|
|
78
|
-
- **ADR Ledger:** See `memory.md` for project-specific Architectural Decision Records.
|
|
79
|
-
- **Architectural Rules:** See `docs/rules/` for TDD, Clean Code, Multi-Tenancy, Database Design, and DevSecOps directives.
|
|
1
|
+
# {{PROJECT_NAME}}
|
|
2
|
+
|
|
3
|
+
> **{{PROJECT_TAGLINE_OR_MISSION}}**
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🌟 Architecture & Stack
|
|
8
|
+
|
|
9
|
+
- **Architecture:** Hexagonal (Ports & Adapters) with strict systemic atomicity and zero-downtime database patterns.
|
|
10
|
+
- **Language & Runtime:** {{LANGUAGE_AND_RUNTIME}}
|
|
11
|
+
- **Package Manager & Build:** {{PACKAGE_MANAGER_AND_BUILD_TOOL}}
|
|
12
|
+
- **Primary Transport:** {{TRANSPORT_PROTOCOL_AND_FRAMEWORK}}
|
|
13
|
+
- **Persistence Engine:** {{DATABASE_ENGINE}} (Migrations via {{MIGRATION_TOOL}})
|
|
14
|
+
- **Multi-Tenancy Isolation:** {{TENANCY_ISOLATION_MODEL}}
|
|
15
|
+
- **Dynamic Extensibility:** Common Expression Language (CEL) / JSON Schema Draft 2020-12
|
|
16
|
+
- **Observability:** OpenTelemetry (OTel) OTLP export over gRPC/HTTP
|
|
17
|
+
- **Security & DevSecOps:** Semgrep SAST, Gitleaks, Trivy scanning, CycloneDX SBOM
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 🗂️ Project Structure
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
.
|
|
25
|
+
├── specs/ # Canonical contract specifications
|
|
26
|
+
│ ├── openapi/ # OpenAPI 3.1 REST specifications
|
|
27
|
+
│ ├── protobuf/ # Protocol Buffers v3 definitions
|
|
28
|
+
│ ├── schemas/ # Universal JSON Schema Draft 2020-12
|
|
29
|
+
│ └── tokens/ # W3C DTCG Design Tokens
|
|
30
|
+
├── src/ # Hexagonal Application Source
|
|
31
|
+
│ ├── domain/ # Core Invariant Domain (Entities, Value Objects)
|
|
32
|
+
│ ├── ports/ # Primary (Use Cases) and Secondary (Repositories) Ports
|
|
33
|
+
│ └── adapters/ # Ingress (HTTP/gRPC) and Egress (SQL/Broker) Adapters
|
|
34
|
+
├── tests/
|
|
35
|
+
│ ├── unit/ # Fast unit tests using test doubles
|
|
36
|
+
│ ├── integration/ # Adapter tests with transactional rollback
|
|
37
|
+
│ ├── contracts/ # Consumer contract tests (Pact)
|
|
38
|
+
│ └── acceptance/ # BDD Gherkin / Cucumber features
|
|
39
|
+
├── deploy/ # OCI Distroless Dockerfiles & Compose manifests
|
|
40
|
+
├── docs/rules/ # 28 cohesive single-responsibility architectural rules
|
|
41
|
+
├── memory.md # Master memory hub & Lightweight ADR ledger
|
|
42
|
+
└── AGENTS.md # Lean agentic directives (< 120 lines)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## ⚡ Quickstart & Development
|
|
48
|
+
|
|
49
|
+
### 1. Prerequisites
|
|
50
|
+
- {{PREREQUISITES_LIST}}
|
|
51
|
+
- Docker & Docker Compose
|
|
52
|
+
|
|
53
|
+
### 2. Environment Setup
|
|
54
|
+
```bash
|
|
55
|
+
cp .env.example .env
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 3. Install Dependencies
|
|
59
|
+
```bash
|
|
60
|
+
{{INSTALL_COMMAND}}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 4. Run Development Environment
|
|
64
|
+
```bash
|
|
65
|
+
{{DEV_RUN_COMMAND}}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 5. Run Tests & Verification
|
|
69
|
+
```bash
|
|
70
|
+
{{TEST_COMMAND}}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 🏛️ Architecture Governance & Decisions
|
|
76
|
+
|
|
77
|
+
This project is governed by the **28 Cohesive Domain Rules** located in `docs/rules/` and Architectural Decision Records in `memory.md`:
|
|
78
|
+
- **ADR Ledger:** See `memory.md` for project-specific Architectural Decision Records.
|
|
79
|
+
- **Architectural Rules:** See `docs/rules/` for TDD, Clean Code, Multi-Tenancy, Database Design, and DevSecOps directives.
|