@ryuenn3123/agentic-senior-core 1.9.0 → 1.9.2

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.
Files changed (86) hide show
  1. package/.agent-context/blueprints/mobile-app.md +21 -21
  2. package/.agent-context/policies/llm-judge-threshold.json +29 -20
  3. package/.agent-context/profiles/platform.md +13 -13
  4. package/.agent-context/profiles/regulated.md +13 -13
  5. package/.agent-context/profiles/startup.md +13 -13
  6. package/.agent-context/review-checklists/frontend-skill-parity.md +28 -28
  7. package/.agent-context/review-checklists/frontend-usability.md +33 -33
  8. package/.agent-context/review-checklists/release-operations.md +29 -29
  9. package/.agent-context/rules/security.md +92 -0
  10. package/.agent-context/skills/README.md +62 -62
  11. package/.agent-context/skills/backend/README.md +67 -67
  12. package/.agent-context/skills/backend/architecture.md +360 -360
  13. package/.agent-context/skills/backend/data-access.md +230 -230
  14. package/.agent-context/skills/backend/errors.md +137 -137
  15. package/.agent-context/skills/backend/validation.md +116 -116
  16. package/.agent-context/skills/backend.md +28 -28
  17. package/.agent-context/skills/cli/README.md +49 -49
  18. package/.agent-context/skills/cli/init.md +37 -37
  19. package/.agent-context/skills/cli/output.md +35 -35
  20. package/.agent-context/skills/cli/upgrade.md +37 -37
  21. package/.agent-context/skills/cli.md +28 -28
  22. package/.agent-context/skills/distribution/README.md +18 -18
  23. package/.agent-context/skills/distribution/compatibility.md +31 -31
  24. package/.agent-context/skills/distribution/publish.md +36 -36
  25. package/.agent-context/skills/distribution/rollback.md +31 -31
  26. package/.agent-context/skills/distribution.md +28 -28
  27. package/.agent-context/skills/frontend/README.md +35 -35
  28. package/.agent-context/skills/frontend/accessibility.md +107 -107
  29. package/.agent-context/skills/frontend/motion.md +66 -66
  30. package/.agent-context/skills/frontend/performance.md +62 -62
  31. package/.agent-context/skills/frontend/ui-architecture.md +128 -128
  32. package/.agent-context/skills/frontend.md +29 -29
  33. package/.agent-context/skills/fullstack/README.md +18 -18
  34. package/.agent-context/skills/fullstack/contracts.md +52 -52
  35. package/.agent-context/skills/fullstack/end-to-end.md +41 -41
  36. package/.agent-context/skills/fullstack/feature-slicing.md +64 -64
  37. package/.agent-context/skills/fullstack.md +26 -26
  38. package/.agent-context/skills/index.json +107 -107
  39. package/.agent-context/skills/review-quality/README.md +18 -18
  40. package/.agent-context/skills/review-quality/benchmark.md +29 -29
  41. package/.agent-context/skills/review-quality/planning.md +37 -37
  42. package/.agent-context/skills/review-quality/security.md +33 -33
  43. package/.agent-context/skills/review-quality.md +27 -27
  44. package/.agent-context/stacks/flutter.md +16 -16
  45. package/.agent-context/stacks/react-native.md +16 -16
  46. package/.agent-context/state/architecture-map.md +25 -25
  47. package/.agent-context/state/benchmark-analysis.json +431 -431
  48. package/.agent-context/state/benchmark-thresholds.json +10 -10
  49. package/.agent-context/state/benchmark-watchlist.json +19 -19
  50. package/.agent-context/state/dependency-map.md +32 -32
  51. package/.agent-context/state/onboarding-report.json +39 -0
  52. package/.agent-context/state/skill-platform.json +38 -38
  53. package/.agent-override.md +36 -36
  54. package/.cursorrules +3718 -140
  55. package/.github/ISSUE_TEMPLATE/v1.7-frontend-work-item.yml +54 -54
  56. package/.github/workflows/benchmark-detection.yml +38 -38
  57. package/.github/workflows/benchmark-intelligence.yml +50 -50
  58. package/.github/workflows/frontend-usability-gate.yml +36 -36
  59. package/.github/workflows/publish.yml +32 -0
  60. package/.github/workflows/release-gate.yml +32 -32
  61. package/.github/workflows/sbom-compliance.yml +32 -32
  62. package/.windsurfrules +3718 -106
  63. package/AGENTS.md +181 -181
  64. package/README.md +318 -318
  65. package/bin/agentic-senior-core.js +61 -1556
  66. package/lib/cli/commands/init.mjs +339 -0
  67. package/lib/cli/commands/launch.mjs +81 -0
  68. package/lib/cli/commands/upgrade.mjs +165 -0
  69. package/lib/cli/compiler.mjs +204 -0
  70. package/lib/cli/constants.mjs +136 -0
  71. package/lib/cli/detector.mjs +211 -0
  72. package/lib/cli/profile-packs.mjs +94 -0
  73. package/lib/cli/skill-selector.mjs +210 -0
  74. package/lib/cli/utils.mjs +227 -0
  75. package/mcp.json +92 -92
  76. package/package.json +3 -1
  77. package/scripts/benchmark-gate.mjs +121 -121
  78. package/scripts/benchmark-intelligence.mjs +140 -140
  79. package/scripts/detection-benchmark.mjs +138 -138
  80. package/scripts/frontend-usability-audit.mjs +87 -87
  81. package/scripts/generate-sbom.mjs +61 -61
  82. package/scripts/init-project.ps1 +104 -104
  83. package/scripts/llm-judge.mjs +664 -664
  84. package/scripts/release-gate.mjs +116 -116
  85. package/scripts/skill-tier-policy.mjs +75 -75
  86. package/scripts/validate.mjs +636 -636
package/README.md CHANGED
@@ -1,318 +1,318 @@
1
- <div align="center">
2
-
3
- # Agentic-Senior-Core
4
-
5
- ### Force your AI Agent to code like a Staff Engineer, not a Junior.
6
-
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
9
-
10
- **Universal engineering standards for AI coding agents.**
11
- Works with Cursor · Windsurf · GitHub Copilot · Claude Code · Gemini · Any LLM-powered IDE.
12
-
13
- </div>
14
-
15
- ---
16
-
17
- ## What is This?
18
-
19
- This is **not** a boilerplate. It's a **dynamic governance engine**: strict engineering rules, stack profiles, blueprints, review checklists, override policies, and state maps that keep AI output production-grade.
20
-
21
- Think of it as giving your AI pair programmer **10 years of production experience** through carefully crafted instructions and guardrails.
22
-
23
- ### Before Agentic-Senior-Core
24
- ```text
25
- You: "Build me a user registration API"
26
- AI: *Creates a single file with no validation, any types, console.log,
27
- hardcoded secrets, no error handling, and 47 TODO comments*
28
- ```
29
-
30
- ### After Agentic-Senior-Core
31
- ```text
32
- You: "Build me a user registration API"
33
- AI: *Creates properly layered modules with Zod validation, typed errors,
34
- structured logging, security headers, tests, and API documentation*
35
- ```
36
-
37
- ---
38
-
39
- ## Quick Start
40
-
41
- ### Zero-Install: GitHub Template (New user friendly!)
42
-
43
- The absolute fastest way to start your next top-tier project is to use this repository as a template.
44
- The **Use this template** button is in the GitHub repository header (top-right area), not inside this README text.
45
- If you prefer a direct link, open: **[Create from template](https://github.com/fatidaprilian/Agentic-Senior-Core/generate)**.
46
- Your new repository will instantly possess all the rules, configurations, and AI context files directly out of the box — zero CLI needed.
47
-
48
- ### Option 0: NPM Install (Local or Global)
49
-
50
- If you already know you want the CLI from npm, use one of these paths:
51
-
52
- ```bash
53
- npm exec --yes @ryuenn3123/agentic-senior-core init
54
- npm install -g @ryuenn3123/agentic-senior-core
55
- agentic-senior-core init
56
- ```
57
-
58
- ### Option 1: Interactive via GitHub Source (Pre-publish friendly)
59
-
60
- If npm package publication is not ready yet, run the CLI directly from GitHub and still keep the full interactive experience.
61
-
62
- ```bash
63
- npm exec --yes --package=github:fatidaprilian/Agentic-Senior-Core agentic-senior-core init .
64
- ```
65
-
66
- This gives the same interactive prompts to choose your profile (`beginner`, `balanced`, `strict`), stack, blueprint, and CI guardrails.
67
-
68
- If you want a plug-and-play starter instead of answering every question, use a preset:
69
-
70
- ```bash
71
- npx @ryuenn3123/agentic-senior-core init --preset frontend-web
72
- npx @ryuenn3123/agentic-senior-core init --preset backend-api
73
- npx @ryuenn3123/agentic-senior-core init --preset mobile-react-native
74
- ```
75
-
76
- ### Option 2: GitHub Bootstrap Scripts (No npx required)
77
-
78
- Run directly from this repository bootstrap script and inject rules into your project root.
79
-
80
- Bootstrap script paths: `scripts/init-project.ps1` (Windows) and `scripts/init-project.sh` (Linux/macOS).
81
-
82
- Windows PowerShell:
83
-
84
- ```powershell
85
- powershell -ExecutionPolicy Bypass -File .\scripts\init-project.ps1 -TargetDirectory . -Profile balanced -Stack typescript -Blueprint api-nextjs -Ci true
86
- ```
87
-
88
- Linux/macOS Bash:
89
-
90
- ```bash
91
- bash ./scripts/init-project.sh . --profile balanced --stack typescript --blueprint api-nextjs --ci true
92
- ```
93
-
94
- Both scripts clone Agentic-Senior-Core into a temporary directory, run the same CLI engine, then clean up automatically.
95
-
96
- If you want interactive selection, omit `-Profile`, `-Stack`, `-Blueprint`, and `-Ci` on the script command.
97
-
98
- ### Option 3: Interactive Auto-Setup via npm/npx (Post-publish)
99
-
100
- If you have an existing project and want to infuse it with Staff-level context:
101
-
102
- ```bash
103
- npx @ryuenn3123/agentic-senior-core init
104
- ```
105
-
106
- Use team defaults (V1.8 track) with profile packs:
107
-
108
- ```bash
109
- npx @ryuenn3123/agentic-senior-core init --profile-pack startup
110
- ```
111
-
112
- The CLI is smart. It auto-detects your current development stack, helps you build a governance profile (select from `beginner`, `balanced`, or `strict`), and writes the compiled rules straight to your root automatically!
113
-
114
- If you are totally new to concepts like blueprints and guardrails, no problem — just run:
115
- ```bash
116
- npx @ryuenn3123/agentic-senior-core init --newbie
117
- ```
118
-
119
- ### Skill Selector
120
-
121
- Use the unified skill selector to pick the right pack for a domain:
122
-
123
- ```bash
124
- agentic-senior-core skill frontend --tier advance
125
- agentic-senior-core skill backend --tier expert
126
- agentic-senior-core skill fullstack --json
127
- ```
128
-
129
- When you run `init`, the CLI now auto-activates the matching skill packs for the chosen stack and blueprint, so the compiled governance context includes the relevant frontend, backend, fullstack, and CLI guidance by default.
130
-
131
- ### Install and Setup Choices
132
-
133
- The CLI now supports a smaller decision surface for first-time setup:
134
-
135
- | Path | Best for |
136
- |------|----------|
137
- | `agentic-senior-core launch` | Numbered interactive chooser for install and preset paths |
138
- | GitHub Template | Zero-install project bootstrap |
139
- | npm exec / npx | One-off setup on an existing repo |
140
- | npm install -g | Repeated local use from the shell |
141
- | `--preset` | Fast bootstrap with a curated stack and blueprint |
142
-
143
- ### Supported Stack Map
144
-
145
- Use the stack that matches the project you are actually starting:
146
-
147
- | Stack | Recommended Blueprint | Best Fit |
148
- |-------|-----------------------|----------|
149
- | TypeScript | api-nextjs | Web app, fullstack product, CLI tooling |
150
- | Python | fastapi-service | API service, automation, data-heavy backend |
151
- | Go | go-service | Small, fast services and platform tooling |
152
- | Java | spring-boot-api | Enterprise APIs and service-oriented systems |
153
- | PHP | laravel-api | Conventional product backends |
154
- | C# | aspnet-api | Microsoft stack services and enterprise apps |
155
- | Rust | go-service | Performance-sensitive backend work |
156
- | Ruby | laravel-api | Mature product services and backend workflows |
157
- | React Native | mobile-app | Cross-platform mobile applications |
158
- | Flutter | mobile-app | Cross-platform mobile applications |
159
-
160
- ### Benchmark Comparison (Current State)
161
-
162
- | Capability | antigravity-awesome-skills | awesome-copilot | MiniMax-AI/skills | Agentic-Senior-Core |
163
- |------------|----------------------------|-----------------|-------------------|---------------------|
164
- | Skill organization | Large curated library | Resource catalog + governance docs | Domain-focused packs | Unified folder-based domain packs with tier routing |
165
- | Architecture guidance | Strong practical patterns | Strong SoC and layered architecture | Strong applied templates | Consolidated architecture + domain enforcement |
166
- | CLI governance | Limited | Moderate | Moderate | Init/upgrade/output governance with dry-run and structured reports |
167
- | Distribution operations | Basic | Moderate | Strong release checklists | Publish, rollback, compatibility gates plus benchmark/sbom flows |
168
- | Review quality | Pattern-oriented | Checklist-oriented | Gate-oriented | Planning/security/benchmark review model with CI integration |
169
-
170
- ### Option 4: Clone and Play
171
- Want to poke around under the hood? Just clone the repo and `npx @ryuenn3123/agentic-senior-core init` locally. No runtime dependencies needed — everything uses native Node.js!
172
-
173
- ### Upgrade Existing Governance Packs (V1.8)
174
-
175
- Yes, the upgrade flow still works. Use `--dry-run` first to preview changes, then apply with `--yes` when you are ready.
176
-
177
- Preview migration changes safely:
178
-
179
- ```bash
180
- npx @ryuenn3123/agentic-senior-core upgrade --dry-run
181
- ```
182
-
183
- Apply migration updates:
184
-
185
- ```bash
186
- npx @ryuenn3123/agentic-senior-core upgrade --yes
187
- ```
188
-
189
- ---
190
-
191
- ## Further Reading
192
-
193
- Our documentation has shifted into dedicated tracks to keep this README light:
194
- - **[FAQ / Concepts](docs/faq.md)**: Unfamiliar with Stacks, Blueprints, or Guardrails? Stalled on basic logic? Start here.
195
- - **[Deep Dive / Internals](docs/deep-dive.md)**: Explore the dynamic compiler, severity profiles, MCP integration, and granular LLM overrides here.
196
- - **[V2 Upgrade Playbook](docs/v2-upgrade-playbook.md)**: Benchmark-driven upgrade execution from antigravity-awesome-skills, awesome-copilot, and MiniMax skills.
197
- - **[Skill Platform](.agent-context/skills/README.md)**: Unified skill packs for frontend, backend, fullstack, CLI, distribution, and review quality with `advance` as the default tier.
198
- The skill platform is now folder-based, so each domain has its own README and topic docs like a curated skills library.
199
-
200
- ---
201
-
202
- ## Core Capabilities
203
-
204
- - **Delivery Engine (CLI):** Interactive setup via GitHub source, bootstrap scripts, or `npx` after publish.
205
- - **Dynamic Context Compiler:** Merges universal rules + selected stack + selected blueprint + optional CI guardrails into one dense, indexed rule file.
206
- - **Codebase Intelligence:** `.agent-context/state/` gives architecture/dependency boundaries so the agent understands high-risk areas.
207
- - **Override System:** `.agent-override.md` allows controlled enterprise exceptions without forking core rules.
208
- - **Automated Guardrails:** CI blueprints include LLM-as-a-Judge flow using `pr-checklist.md`.
209
- - **Machine-Readable CI Output:** LLM Judge emits `JSON_REPORT` payloads and writes `.agent-context/state/llm-judge-report.json` for PR/MR annotation tooling.
210
- - **MCP Self-Healing Loop:** `mcp.json` defines diagnostics + fix proposal workflow when lint/CI fails.
211
-
212
- ---
213
-
214
- ## Repository Structure
215
-
216
- ```text
217
- .
218
- ├── .cursorrules # Dynamic compiled governance entry point
219
- ├── .windsurfrules # Dynamic compiled governance entry point
220
- ├── .agent-override.md # Team-specific exceptions (scoped + expiry)
221
- ├── mcp.json # MCP self-healing workflow config
222
- ├── AGENTS.md # Universal agent discovery
223
- ├── .github/copilot-instructions.md # GitHub Copilot entry point
224
- ├── .gemini/instructions.md # Antigravity / Gemini entry point
225
- ├── bin/
226
- │ └── agentic-senior-core.js # Interactive CLI (Delivery Engine)
227
- ├── .agent-context/
228
- │ ├── rules/ # Universal engineering laws
229
- │ ├── stacks/ # Language-specific profiles
230
- │ ├── blueprints/ # Scaffolding and pipeline templates
231
- │ ├── review-checklists/ # AI self-audit guides
232
- │ ├── prompts/ # Ready-to-use prompts
233
- │ └── state/ # Architecture and dependency state maps
234
- │ ├── architecture-map.md
235
- │ └── dependency-map.md
236
- ├── scripts/
237
- │ ├── validate.mjs # Repository validator
238
- │ ├── llm-judge.mjs # LLM-as-a-Judge CI gate
239
- │ ├── init-project.sh # GitHub bootstrap script (Linux/macOS)
240
- │ └── init-project.ps1 # GitHub bootstrap script (Windows)
241
- ├── docs/
242
- │ ├── faq.md
243
- │ └── deep-dive.md
244
- ├── tests/
245
- │ ├── cli-smoke.test.mjs
246
- │ └── llm-judge.test.mjs
247
- ├── package.json
248
- ├── CONTRIBUTING.md
249
- ├── LICENSE
250
- └── README.md
251
- ```
252
-
253
- ---
254
-
255
- ## Validation
256
-
257
- Ensure everything is running smoothly before merging rules patches:
258
-
259
- ```bash
260
- npm run validate
261
- ```
262
-
263
- Track stack-detection KPI trends:
264
-
265
- ```bash
266
- npm run benchmark:detection
267
- ```
268
-
269
- ---
270
-
271
- ## Roadmap
272
-
273
- ### Completed Milestones
274
- - V1.0 to V1.3: Core rules, multi-language stacks, advanced architecture patterns, and infrastructure blueprints.
275
- - V1.4: Dynamic Governance Engine (interactive CLI, context compiler, state maps, override system, guardrails, MCP self-healing).
276
- - V1.5: Newbie-First Experience (Node-first runtime, zero-install onboarding path, smart auto-detection, profile presets, LLM severity thresholds, docs split, smoke tests).
277
-
278
- ### V1.6 (Released) — Enterprise Reliability and Team Workflow
279
- - Team profile packs and safer override governance shipped.
280
- - CI annotation standardization and stronger detection transparency shipped.
281
- - Upgrade assistant and benchmark coverage shipped.
282
-
283
- ### V1.7 (Released) — Frontend Product Experience Governance Pack
284
- - Frontend usability checklist, execution playbook, and issue template shipped.
285
- - Frontend usability audit script and CI artifact workflow shipped.
286
-
287
- ### V1.8 (Released) — Enterprise Release Operations and Compliance
288
- - Release-gate automation shipped with machine-readable artifact output.
289
- - CycloneDX SBOM generation and compliance artifact workflow shipped.
290
- - Operations playbook and release-operations checklist shipped.
291
-
292
- ### Current Forward Plan
293
- - V2.0: Skill marketplace trust tiers, transactional installs, rollback safety, and launch-menu onboarding.
294
- - V2.5: Cross-model benchmark harness and anti-regression quality gates.
295
- - V3.0: Enterprise governance cloud, policy drift detection, and org-level override registry.
296
-
297
- Detailed timeline and success metrics: [docs/roadmap.md](docs/roadmap.md)
298
-
299
- ---
300
-
301
- ## Contributing
302
-
303
- See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution standards and workflow.
304
-
305
- ---
306
-
307
- ## License
308
-
309
- MIT — Use freely, enforce strictly.
310
-
311
- ---
312
-
313
- <div align="center">
314
-
315
- **Stop letting AI write junior code.**
316
- **Give it the rules of a Staff Engineer.**
317
-
318
- </div>
1
+ <div align="center">
2
+
3
+ # Agentic-Senior-Core
4
+
5
+ ### Force your AI Agent to code like a Staff Engineer, not a Junior.
6
+
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
9
+
10
+ **Universal engineering standards for AI coding agents.**
11
+ Works with Cursor · Windsurf · GitHub Copilot · Claude Code · Gemini · Any LLM-powered IDE.
12
+
13
+ </div>
14
+
15
+ ---
16
+
17
+ ## What is This?
18
+
19
+ This is **not** a boilerplate. It's a **dynamic governance engine**: strict engineering rules, stack profiles, blueprints, review checklists, override policies, and state maps that keep AI output production-grade.
20
+
21
+ Think of it as giving your AI pair programmer **10 years of production experience** through carefully crafted instructions and guardrails.
22
+
23
+ ### Before Agentic-Senior-Core
24
+ ```text
25
+ You: "Build me a user registration API"
26
+ AI: *Creates a single file with no validation, any types, console.log,
27
+ hardcoded secrets, no error handling, and 47 TODO comments*
28
+ ```
29
+
30
+ ### After Agentic-Senior-Core
31
+ ```text
32
+ You: "Build me a user registration API"
33
+ AI: *Creates properly layered modules with Zod validation, typed errors,
34
+ structured logging, security headers, tests, and API documentation*
35
+ ```
36
+
37
+ ---
38
+
39
+ ## Quick Start
40
+
41
+ ### Zero-Install: GitHub Template (New user friendly!)
42
+
43
+ The absolute fastest way to start your next top-tier project is to use this repository as a template.
44
+ The **Use this template** button is in the GitHub repository header (top-right area), not inside this README text.
45
+ If you prefer a direct link, open: **[Create from template](https://github.com/fatidaprilian/Agentic-Senior-Core/generate)**.
46
+ Your new repository will instantly possess all the rules, configurations, and AI context files directly out of the box — zero CLI needed.
47
+
48
+ ### Option 0: NPM Install (Local or Global)
49
+
50
+ If you already know you want the CLI from npm, use one of these paths:
51
+
52
+ ```bash
53
+ npm exec --yes @ryuenn3123/agentic-senior-core init
54
+ npm install -g @ryuenn3123/agentic-senior-core
55
+ agentic-senior-core init
56
+ ```
57
+
58
+ ### Option 1: Interactive via GitHub Source (Pre-publish friendly)
59
+
60
+ If npm package publication is not ready yet, run the CLI directly from GitHub and still keep the full interactive experience.
61
+
62
+ ```bash
63
+ npm exec --yes --package=github:fatidaprilian/Agentic-Senior-Core agentic-senior-core init .
64
+ ```
65
+
66
+ This gives the same interactive prompts to choose your profile (`beginner`, `balanced`, `strict`), stack, blueprint, and CI guardrails.
67
+
68
+ If you want a plug-and-play starter instead of answering every question, use a preset:
69
+
70
+ ```bash
71
+ npx @ryuenn3123/agentic-senior-core init --preset frontend-web
72
+ npx @ryuenn3123/agentic-senior-core init --preset backend-api
73
+ npx @ryuenn3123/agentic-senior-core init --preset mobile-react-native
74
+ ```
75
+
76
+ ### Option 2: GitHub Bootstrap Scripts (No npx required)
77
+
78
+ Run directly from this repository bootstrap script and inject rules into your project root.
79
+
80
+ Bootstrap script paths: `scripts/init-project.ps1` (Windows) and `scripts/init-project.sh` (Linux/macOS).
81
+
82
+ Windows PowerShell:
83
+
84
+ ```powershell
85
+ powershell -ExecutionPolicy Bypass -File .\scripts\init-project.ps1 -TargetDirectory . -Profile balanced -Stack typescript -Blueprint api-nextjs -Ci true
86
+ ```
87
+
88
+ Linux/macOS Bash:
89
+
90
+ ```bash
91
+ bash ./scripts/init-project.sh . --profile balanced --stack typescript --blueprint api-nextjs --ci true
92
+ ```
93
+
94
+ Both scripts clone Agentic-Senior-Core into a temporary directory, run the same CLI engine, then clean up automatically.
95
+
96
+ If you want interactive selection, omit `-Profile`, `-Stack`, `-Blueprint`, and `-Ci` on the script command.
97
+
98
+ ### Option 3: Interactive Auto-Setup via npm/npx (Post-publish)
99
+
100
+ If you have an existing project and want to infuse it with Staff-level context:
101
+
102
+ ```bash
103
+ npx @ryuenn3123/agentic-senior-core init
104
+ ```
105
+
106
+ Use team defaults (V1.8 track) with profile packs:
107
+
108
+ ```bash
109
+ npx @ryuenn3123/agentic-senior-core init --profile-pack startup
110
+ ```
111
+
112
+ The CLI is smart. It auto-detects your current development stack, helps you build a governance profile (select from `beginner`, `balanced`, or `strict`), and writes the compiled rules straight to your root automatically!
113
+
114
+ If you are totally new to concepts like blueprints and guardrails, no problem — just run:
115
+ ```bash
116
+ npx @ryuenn3123/agentic-senior-core init --newbie
117
+ ```
118
+
119
+ ### Skill Selector
120
+
121
+ Use the unified skill selector to pick the right pack for a domain:
122
+
123
+ ```bash
124
+ agentic-senior-core skill frontend --tier advance
125
+ agentic-senior-core skill backend --tier expert
126
+ agentic-senior-core skill fullstack --json
127
+ ```
128
+
129
+ When you run `init`, the CLI now auto-activates the matching skill packs for the chosen stack and blueprint, so the compiled governance context includes the relevant frontend, backend, fullstack, and CLI guidance by default.
130
+
131
+ ### Install and Setup Choices
132
+
133
+ The CLI now supports a smaller decision surface for first-time setup:
134
+
135
+ | Path | Best for |
136
+ |------|----------|
137
+ | `agentic-senior-core launch` | Numbered interactive chooser for install and preset paths |
138
+ | GitHub Template | Zero-install project bootstrap |
139
+ | npm exec / npx | One-off setup on an existing repo |
140
+ | npm install -g | Repeated local use from the shell |
141
+ | `--preset` | Fast bootstrap with a curated stack and blueprint |
142
+
143
+ ### Supported Stack Map
144
+
145
+ Use the stack that matches the project you are actually starting:
146
+
147
+ | Stack | Recommended Blueprint | Best Fit |
148
+ |-------|-----------------------|----------|
149
+ | TypeScript | api-nextjs | Web app, fullstack product, CLI tooling |
150
+ | Python | fastapi-service | API service, automation, data-heavy backend |
151
+ | Go | go-service | Small, fast services and platform tooling |
152
+ | Java | spring-boot-api | Enterprise APIs and service-oriented systems |
153
+ | PHP | laravel-api | Conventional product backends |
154
+ | C# | aspnet-api | Microsoft stack services and enterprise apps |
155
+ | Rust | go-service | Performance-sensitive backend work |
156
+ | Ruby | laravel-api | Mature product services and backend workflows |
157
+ | React Native | mobile-app | Cross-platform mobile applications |
158
+ | Flutter | mobile-app | Cross-platform mobile applications |
159
+
160
+ ### Benchmark Comparison (Current State)
161
+
162
+ | Capability | antigravity-awesome-skills | awesome-copilot | MiniMax-AI/skills | Agentic-Senior-Core |
163
+ |------------|----------------------------|-----------------|-------------------|---------------------|
164
+ | Skill organization | Large curated library | Resource catalog + governance docs | Domain-focused packs | Unified folder-based domain packs with tier routing |
165
+ | Architecture guidance | Strong practical patterns | Strong SoC and layered architecture | Strong applied templates | Consolidated architecture + domain enforcement |
166
+ | CLI governance | Limited | Moderate | Moderate | Init/upgrade/output governance with dry-run and structured reports |
167
+ | Distribution operations | Basic | Moderate | Strong release checklists | Publish, rollback, compatibility gates plus benchmark/sbom flows |
168
+ | Review quality | Pattern-oriented | Checklist-oriented | Gate-oriented | Planning/security/benchmark review model with CI integration |
169
+
170
+ ### Option 4: Clone and Play
171
+ Want to poke around under the hood? Just clone the repo and `npx @ryuenn3123/agentic-senior-core init` locally. No runtime dependencies needed — everything uses native Node.js!
172
+
173
+ ### Upgrade Existing Governance Packs (V1.8)
174
+
175
+ Yes, the upgrade flow still works. Use `--dry-run` first to preview changes, then apply with `--yes` when you are ready.
176
+
177
+ Preview migration changes safely:
178
+
179
+ ```bash
180
+ npx @ryuenn3123/agentic-senior-core upgrade --dry-run
181
+ ```
182
+
183
+ Apply migration updates:
184
+
185
+ ```bash
186
+ npx @ryuenn3123/agentic-senior-core upgrade --yes
187
+ ```
188
+
189
+ ---
190
+
191
+ ## Further Reading
192
+
193
+ Our documentation has shifted into dedicated tracks to keep this README light:
194
+ - **[FAQ / Concepts](docs/faq.md)**: Unfamiliar with Stacks, Blueprints, or Guardrails? Stalled on basic logic? Start here.
195
+ - **[Deep Dive / Internals](docs/deep-dive.md)**: Explore the dynamic compiler, severity profiles, MCP integration, and granular LLM overrides here.
196
+ - **[V2 Upgrade Playbook](docs/v2-upgrade-playbook.md)**: Benchmark-driven upgrade execution from antigravity-awesome-skills, awesome-copilot, and MiniMax skills.
197
+ - **[Skill Platform](.agent-context/skills/README.md)**: Unified skill packs for frontend, backend, fullstack, CLI, distribution, and review quality with `advance` as the default tier.
198
+ The skill platform is now folder-based, so each domain has its own README and topic docs like a curated skills library.
199
+
200
+ ---
201
+
202
+ ## Core Capabilities
203
+
204
+ - **Delivery Engine (CLI):** Interactive setup via GitHub source, bootstrap scripts, or `npx` after publish.
205
+ - **Dynamic Context Compiler:** Merges universal rules + selected stack + selected blueprint + optional CI guardrails into one dense, indexed rule file.
206
+ - **Codebase Intelligence:** `.agent-context/state/` gives architecture/dependency boundaries so the agent understands high-risk areas.
207
+ - **Override System:** `.agent-override.md` allows controlled enterprise exceptions without forking core rules.
208
+ - **Automated Guardrails:** CI blueprints include LLM-as-a-Judge flow using `pr-checklist.md`.
209
+ - **Machine-Readable CI Output:** LLM Judge emits `JSON_REPORT` payloads and writes `.agent-context/state/llm-judge-report.json` for PR/MR annotation tooling.
210
+ - **MCP Self-Healing Loop:** `mcp.json` defines diagnostics + fix proposal workflow when lint/CI fails.
211
+
212
+ ---
213
+
214
+ ## Repository Structure
215
+
216
+ ```text
217
+ .
218
+ ├── .cursorrules # Dynamic compiled governance entry point
219
+ ├── .windsurfrules # Dynamic compiled governance entry point
220
+ ├── .agent-override.md # Team-specific exceptions (scoped + expiry)
221
+ ├── mcp.json # MCP self-healing workflow config
222
+ ├── AGENTS.md # Universal agent discovery
223
+ ├── .github/copilot-instructions.md # GitHub Copilot entry point
224
+ ├── .gemini/instructions.md # Antigravity / Gemini entry point
225
+ ├── bin/
226
+ │ └── agentic-senior-core.js # Interactive CLI (Delivery Engine)
227
+ ├── .agent-context/
228
+ │ ├── rules/ # Universal engineering laws
229
+ │ ├── stacks/ # Language-specific profiles
230
+ │ ├── blueprints/ # Scaffolding and pipeline templates
231
+ │ ├── review-checklists/ # AI self-audit guides
232
+ │ ├── prompts/ # Ready-to-use prompts
233
+ │ └── state/ # Architecture and dependency state maps
234
+ │ ├── architecture-map.md
235
+ │ └── dependency-map.md
236
+ ├── scripts/
237
+ │ ├── validate.mjs # Repository validator
238
+ │ ├── llm-judge.mjs # LLM-as-a-Judge CI gate
239
+ │ ├── init-project.sh # GitHub bootstrap script (Linux/macOS)
240
+ │ └── init-project.ps1 # GitHub bootstrap script (Windows)
241
+ ├── docs/
242
+ │ ├── faq.md
243
+ │ └── deep-dive.md
244
+ ├── tests/
245
+ │ ├── cli-smoke.test.mjs
246
+ │ └── llm-judge.test.mjs
247
+ ├── package.json
248
+ ├── CONTRIBUTING.md
249
+ ├── LICENSE
250
+ └── README.md
251
+ ```
252
+
253
+ ---
254
+
255
+ ## Validation
256
+
257
+ Ensure everything is running smoothly before merging rules patches:
258
+
259
+ ```bash
260
+ npm run validate
261
+ ```
262
+
263
+ Track stack-detection KPI trends:
264
+
265
+ ```bash
266
+ npm run benchmark:detection
267
+ ```
268
+
269
+ ---
270
+
271
+ ## Roadmap
272
+
273
+ ### Completed Milestones
274
+ - V1.0 to V1.3: Core rules, multi-language stacks, advanced architecture patterns, and infrastructure blueprints.
275
+ - V1.4: Dynamic Governance Engine (interactive CLI, context compiler, state maps, override system, guardrails, MCP self-healing).
276
+ - V1.5: Newbie-First Experience (Node-first runtime, zero-install onboarding path, smart auto-detection, profile presets, LLM severity thresholds, docs split, smoke tests).
277
+
278
+ ### V1.6 (Released) — Enterprise Reliability and Team Workflow
279
+ - Team profile packs and safer override governance shipped.
280
+ - CI annotation standardization and stronger detection transparency shipped.
281
+ - Upgrade assistant and benchmark coverage shipped.
282
+
283
+ ### V1.7 (Released) — Frontend Product Experience Governance Pack
284
+ - Frontend usability checklist, execution playbook, and issue template shipped.
285
+ - Frontend usability audit script and CI artifact workflow shipped.
286
+
287
+ ### V1.8 (Released) — Enterprise Release Operations and Compliance
288
+ - Release-gate automation shipped with machine-readable artifact output.
289
+ - CycloneDX SBOM generation and compliance artifact workflow shipped.
290
+ - Operations playbook and release-operations checklist shipped.
291
+
292
+ ### Current Forward Plan
293
+ - V2.0: Skill marketplace trust tiers, transactional installs, rollback safety, and launch-menu onboarding.
294
+ - V2.5: Cross-model benchmark harness and anti-regression quality gates.
295
+ - V3.0: Enterprise governance cloud, policy drift detection, and org-level override registry.
296
+
297
+ Detailed timeline and success metrics: [docs/roadmap.md](docs/roadmap.md)
298
+
299
+ ---
300
+
301
+ ## Contributing
302
+
303
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution standards and workflow.
304
+
305
+ ---
306
+
307
+ ## License
308
+
309
+ MIT — Use freely, enforce strictly.
310
+
311
+ ---
312
+
313
+ <div align="center">
314
+
315
+ **Stop letting AI write junior code.**
316
+ **Give it the rules of a Staff Engineer.**
317
+
318
+ </div>