@istmx/skills 2.0.0 → 2.1.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/README.md +141 -51
- package/RELEASE_v2.1.0.md +68 -0
- package/bin/cli.js +64 -86
- package/context/conversation_transcript.md +786 -0
- package/context/progress.md +129 -0
- package/istm/SKILL.md +20 -11
- package/istm-animate/SKILL.md +19 -11
- package/istm-architecture/SKILL.md +70 -14
- package/istm-architecture/templates/agents.md +21 -2
- package/istm-awwward-designer/SKILL.md +31 -7
- package/istm-design/SKILL.md +26 -12
- package/istm-design/anti-laziness/architectural-patterns.md +55 -0
- package/istm-design/anti-laziness/parameter-tuning.md +44 -0
- package/istm-design/anti-laziness/prompt-engineering.md +52 -0
- package/istm-design/anti-laziness/reference-prompts.md +79 -0
- package/istm-design/archetypes/brandkit/SKILL.md +798 -0
- package/istm-design/archetypes/brutalist/SKILL.md +92 -0
- package/istm-design/archetypes/minimalist/SKILL.md +85 -0
- package/istm-design/archetypes/soft/SKILL.md +98 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +1 -1
- package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1 -1
- package/istm-design/image-to-code/SKILL.md +1228 -0
- package/istm-design/imagegen/SKILL.md +987 -0
- package/istm-design/presets/airbnb/DESIGN.md +545 -0
- package/istm-design/presets/airbnb/README.md +5 -0
- package/istm-design/presets/airtable/DESIGN.md +554 -0
- package/istm-design/presets/airtable/README.md +5 -0
- package/istm-design/presets/apple/DESIGN.md +562 -0
- package/istm-design/presets/apple/README.md +5 -0
- package/istm-design/presets/binance/DESIGN.md +634 -0
- package/istm-design/presets/binance/README.md +5 -0
- package/istm-design/presets/bmw/DESIGN.md +544 -0
- package/istm-design/presets/bmw/README.md +5 -0
- package/istm-design/presets/bmw-m/DESIGN.md +503 -0
- package/istm-design/presets/bmw-m/README.md +5 -0
- package/istm-design/presets/bugatti/DESIGN.md +454 -0
- package/istm-design/presets/bugatti/README.md +5 -0
- package/istm-design/presets/cal/DESIGN.md +542 -0
- package/istm-design/presets/cal/README.md +5 -0
- package/istm-design/presets/catalog.md +127 -0
- package/istm-design/presets/claude/DESIGN.md +589 -0
- package/istm-design/presets/claude/README.md +5 -0
- package/istm-design/presets/clay/DESIGN.md +541 -0
- package/istm-design/presets/clay/README.md +5 -0
- package/istm-design/presets/clickhouse/DESIGN.md +544 -0
- package/istm-design/presets/clickhouse/README.md +5 -0
- package/istm-design/presets/cohere/DESIGN.md +451 -0
- package/istm-design/presets/cohere/README.md +5 -0
- package/istm-design/presets/coinbase/DESIGN.md +570 -0
- package/istm-design/presets/coinbase/README.md +5 -0
- package/istm-design/presets/composio/DESIGN.md +506 -0
- package/istm-design/presets/composio/README.md +5 -0
- package/istm-design/presets/cursor/DESIGN.md +537 -0
- package/istm-design/presets/cursor/README.md +5 -0
- package/istm-design/presets/dell-1996/DESIGN.md +632 -0
- package/istm-design/presets/dell-1996/README.md +5 -0
- package/istm-design/presets/elevenlabs/DESIGN.md +504 -0
- package/istm-design/presets/elevenlabs/README.md +5 -0
- package/istm-design/presets/expo/DESIGN.md +526 -0
- package/istm-design/presets/expo/README.md +5 -0
- package/istm-design/presets/ferrari/DESIGN.md +531 -0
- package/istm-design/presets/ferrari/README.md +5 -0
- package/istm-design/presets/figma/DESIGN.md +578 -0
- package/istm-design/presets/figma/README.md +5 -0
- package/istm-design/presets/framer/DESIGN.md +544 -0
- package/istm-design/presets/framer/README.md +5 -0
- package/istm-design/presets/hashicorp/DESIGN.md +575 -0
- package/istm-design/presets/hashicorp/README.md +5 -0
- package/istm-design/presets/hp/DESIGN.md +670 -0
- package/istm-design/presets/hp/README.md +5 -0
- package/istm-design/presets/ibm/DESIGN.md +550 -0
- package/istm-design/presets/ibm/README.md +5 -0
- package/istm-design/presets/intercom/DESIGN.md +546 -0
- package/istm-design/presets/intercom/README.md +5 -0
- package/istm-design/presets/kraken/DESIGN.md +125 -0
- package/istm-design/presets/kraken/README.md +5 -0
- package/istm-design/presets/lamborghini/DESIGN.md +288 -0
- package/istm-design/presets/lamborghini/README.md +5 -0
- package/istm-design/presets/linear/DESIGN.md +548 -0
- package/istm-design/presets/linear/README.md +5 -0
- package/istm-design/presets/lovable/DESIGN.md +298 -0
- package/istm-design/presets/lovable/README.md +5 -0
- package/istm-design/presets/mastercard/DESIGN.md +365 -0
- package/istm-design/presets/mastercard/README.md +5 -0
- package/istm-design/presets/meta/DESIGN.md +683 -0
- package/istm-design/presets/meta/README.md +5 -0
- package/istm-design/presets/minimax/DESIGN.md +746 -0
- package/istm-design/presets/minimax/README.md +5 -0
- package/istm-design/presets/mintlify/DESIGN.md +852 -0
- package/istm-design/presets/mintlify/README.md +5 -0
- package/istm-design/presets/miro/DESIGN.md +825 -0
- package/istm-design/presets/miro/README.md +5 -0
- package/istm-design/presets/mistral/DESIGN.md +773 -0
- package/istm-design/presets/mistral/README.md +5 -0
- package/istm-design/presets/mongodb/DESIGN.md +767 -0
- package/istm-design/presets/mongodb/README.md +5 -0
- package/istm-design/presets/nike/DESIGN.md +575 -0
- package/istm-design/presets/nike/README.md +5 -0
- package/istm-design/presets/nintendo-2001/DESIGN.md +649 -0
- package/istm-design/presets/nintendo-2001/README.md +5 -0
- package/istm-design/presets/notion/DESIGN.md +821 -0
- package/istm-design/presets/notion/README.md +5 -0
- package/istm-design/presets/nvidia/DESIGN.md +640 -0
- package/istm-design/presets/nvidia/README.md +5 -0
- package/istm-design/presets/ollama/DESIGN.md +539 -0
- package/istm-design/presets/ollama/README.md +5 -0
- package/istm-design/presets/opencode/DESIGN.md +521 -0
- package/istm-design/presets/opencode/README.md +5 -0
- package/istm-design/presets/pinterest/DESIGN.md +597 -0
- package/istm-design/presets/pinterest/README.md +5 -0
- package/istm-design/presets/playstation/DESIGN.md +661 -0
- package/istm-design/presets/playstation/README.md +5 -0
- package/istm-design/presets/posthog/DESIGN.md +690 -0
- package/istm-design/presets/posthog/README.md +5 -0
- package/istm-design/presets/raycast/DESIGN.md +669 -0
- package/istm-design/presets/raycast/README.md +5 -0
- package/istm-design/presets/renault/DESIGN.md +589 -0
- package/istm-design/presets/renault/README.md +5 -0
- package/istm-design/presets/replicate/DESIGN.md +616 -0
- package/istm-design/presets/replicate/README.md +5 -0
- package/istm-design/presets/resend/DESIGN.md +585 -0
- package/istm-design/presets/resend/README.md +5 -0
- package/istm-design/presets/revolut/DESIGN.md +636 -0
- package/istm-design/presets/revolut/README.md +5 -0
- package/istm-design/presets/runwayml/DESIGN.md +244 -0
- package/istm-design/presets/runwayml/README.md +5 -0
- package/istm-design/presets/sanity/DESIGN.md +357 -0
- package/istm-design/presets/sanity/README.md +5 -0
- package/istm-design/presets/sentry/DESIGN.md +551 -0
- package/istm-design/presets/sentry/README.md +5 -0
- package/istm-design/presets/shopify/DESIGN.md +516 -0
- package/istm-design/presets/shopify/README.md +5 -0
- package/istm-design/presets/slack/DESIGN.md +482 -0
- package/istm-design/presets/spacex/DESIGN.md +363 -0
- package/istm-design/presets/spacex/README.md +5 -0
- package/istm-design/presets/spotify/DESIGN.md +246 -0
- package/istm-design/presets/spotify/README.md +5 -0
- package/istm-design/presets/starbucks/DESIGN.md +580 -0
- package/istm-design/presets/starbucks/README.md +5 -0
- package/istm-design/presets/stripe/DESIGN.md +487 -0
- package/istm-design/presets/stripe/README.md +5 -0
- package/istm-design/presets/supabase/DESIGN.md +462 -0
- package/istm-design/presets/supabase/README.md +5 -0
- package/istm-design/presets/superhuman/DESIGN.md +448 -0
- package/istm-design/presets/superhuman/README.md +5 -0
- package/istm-design/presets/tesla/DESIGN.md +286 -0
- package/istm-design/presets/tesla/README.md +5 -0
- package/istm-design/presets/theverge/DESIGN.md +339 -0
- package/istm-design/presets/theverge/README.md +5 -0
- package/istm-design/presets/together/DESIGN.md +633 -0
- package/istm-design/presets/together/README.md +5 -0
- package/istm-design/presets/uber/DESIGN.md +636 -0
- package/istm-design/presets/uber/README.md +5 -0
- package/istm-design/presets/vercel/DESIGN.md +736 -0
- package/istm-design/presets/vercel/README.md +5 -0
- package/istm-design/presets/vodafone/DESIGN.md +538 -0
- package/istm-design/presets/vodafone/README.md +5 -0
- package/istm-design/presets/voltagent/DESIGN.md +521 -0
- package/istm-design/presets/voltagent/README.md +5 -0
- package/istm-design/presets/warp/DESIGN.md +526 -0
- package/istm-design/presets/warp/README.md +5 -0
- package/istm-design/presets/webflow/DESIGN.md +588 -0
- package/istm-design/presets/webflow/README.md +5 -0
- package/istm-design/presets/wired/DESIGN.md +497 -0
- package/istm-design/presets/wired/README.md +5 -0
- package/istm-design/presets/wise/DESIGN.md +544 -0
- package/istm-design/presets/wise/README.md +5 -0
- package/istm-design/presets/xai/DESIGN.md +465 -0
- package/istm-design/presets/xai/README.md +5 -0
- package/istm-design/presets/zapier/DESIGN.md +537 -0
- package/istm-design/presets/zapier/README.md +5 -0
- package/istm-design/references/pick-ui-library.md +1 -1
- package/istm-design/semantic-design/DESIGN.md +121 -0
- package/istm-design/semantic-design/SKILL.md +184 -0
- package/istm-system-design/SKILL.md +12 -5
- package/istm-workflow/istm-autoplan/SKILL.md +1905 -0
- package/istm-workflow/istm-autoplan/SKILL.md.tmpl +923 -0
- package/istm-workflow/istm-craft/SKILL.md +12 -6
- package/istm-workflow/istm-cso/ACKNOWLEDGEMENTS.md +14 -0
- package/istm-workflow/istm-cso/SKILL.md +1313 -0
- package/istm-workflow/istm-cso/SKILL.md.tmpl +407 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md +253 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md.tmpl +251 -0
- package/istm-workflow/istm-cso/sections/manifest.json +14 -0
- package/istm-workflow/istm-debt/SKILL.md +44 -0
- package/istm-workflow/istm-debug/SKILL.md +12 -3
- package/istm-workflow/istm-design-review/SKILL.md +2053 -0
- package/istm-workflow/istm-design-review/SKILL.md.tmpl +312 -0
- package/istm-workflow/istm-develop/SKILL.md +10 -4
- package/istm-workflow/istm-eng-review/SKILL.md +1112 -0
- package/istm-workflow/istm-eng-review/SKILL.md.tmpl +163 -0
- package/istm-workflow/istm-eng-review/sections/manifest.json +14 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md +942 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md.tmpl +225 -0
- package/istm-workflow/istm-gain/SKILL.md +50 -0
- package/istm-workflow/istm-health/SKILL.md +1104 -0
- package/istm-workflow/istm-health/SKILL.md.tmpl +320 -0
- package/istm-workflow/istm-qa/BROWSER.md +1468 -0
- package/istm-workflow/istm-qa/SKILL.md +1743 -0
- package/istm-workflow/istm-qa/SKILL.md.tmpl +354 -0
- package/istm-workflow/istm-qa/references/issue-taxonomy.md +85 -0
- package/istm-workflow/istm-qa/templates/qa-report-template.md +126 -0
- package/istm-workflow/istm-release/SKILL.md +989 -0
- package/istm-workflow/istm-release/SKILL.md.tmpl +160 -0
- package/istm-workflow/istm-release/sections/manifest.json +14 -0
- package/istm-workflow/istm-release/sections/release-body.md +547 -0
- package/istm-workflow/istm-release/sections/release-body.md.tmpl +420 -0
- package/istm-workflow/istm-review/SKILL.md +57 -0
- package/istm-workflow/istm-ship/SKILL.md +1504 -0
- package/istm-workflow/istm-ship/SKILL.md.tmpl +582 -0
- package/istm-workflow/istm-ship/sections/adversarial.md +218 -0
- package/istm-workflow/istm-ship/sections/adversarial.md.tmpl +19 -0
- package/istm-workflow/istm-ship/sections/apple-release.md +58 -0
- package/istm-workflow/istm-ship/sections/apple-release.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/changelog.md +45 -0
- package/istm-workflow/istm-ship/sections/changelog.md.tmpl +3 -0
- package/istm-workflow/istm-ship/sections/greptile.md +51 -0
- package/istm-workflow/istm-ship/sections/greptile.md.tmpl +49 -0
- package/istm-workflow/istm-ship/sections/manifest.json +62 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md +329 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md.tmpl +31 -0
- package/istm-workflow/istm-ship/sections/pr-body.md +209 -0
- package/istm-workflow/istm-ship/sections/pr-body.md.tmpl +207 -0
- package/istm-workflow/istm-ship/sections/review-army.md +406 -0
- package/istm-workflow/istm-ship/sections/review-army.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md +264 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md.tmpl +23 -0
- package/istm-workflow/istm-ship/sections/tests.md +403 -0
- package/istm-workflow/istm-ship/sections/tests.md.tmpl +116 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -1,104 +1,194 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<h1>@istmx/skills</h1>
|
|
3
|
-
<p><b>The Elite
|
|
4
|
-
<
|
|
3
|
+
<p><b>The Elite Agentic Orchestration & Enterprise SDLC Engine</b></p>
|
|
4
|
+
<p><i>Transform Claude Code, Cursor, Windsurf, and Gemini into senior-level architects, design engineers, and autonomous QA testers.</i></p>
|
|
5
|
+
<br/>
|
|
6
|
+
<a href="https://istmx.dpdns.org">Website</a> • <a href="https://istmx.dpdns.org/docs">Documentation</a> • <a href="https://github.com/istmX/skills">GitHub</a> • <a href="https://www.npmjs.com/package/@istmx/skills">npm</a>
|
|
5
7
|
</div>
|
|
6
8
|
|
|
7
9
|
<br/>
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`@istmx/skills` is a revolutionary **Agentic Orchestration Framework** built specifically to maximize the reasoning power of CLI-based agents like **Claude Code**. By enforcing strict system design boundaries, Git guardrails, and premium UI/UX rules, it forces your LLM to write modular, production-ready blueprints before it ever touches a line of code.
|
|
11
|
+
`@istmx/skills` is a deterministic, stack-agnostic **Agentic Operating System** designed to supercharge CLI-based agents like **Claude Code** and modern IDEs (Cursor, Windsurf, Gemini). It equips your AI with architectural blueprints, 70+ production-grade design presets, automated headless browser QA testing, and senior-developer efficiency ladders before writing a single line of code.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
## ⚡ Quick Start
|
|
16
16
|
|
|
17
|
-
Initialize
|
|
17
|
+
Initialize or upgrade `@istmx/skills` in your project root:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npx @istmx/skills init
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
The CLI automatically detects your environment—optimizing
|
|
23
|
+
The CLI automatically detects your environment—optimizing for **Claude Code**, **Cursor**, **Windsurf**, **Gemini**, **Cline**, and **Roo Code**—and injects the universal router, core orchestrators, and enterprise workflow suite directly into your harness rulebook.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 🧠 Master Router & Core Orchestrators (Day-Zero)
|
|
28
|
+
|
|
29
|
+
These master brains structure your entire application. They are **100% Stack Agnostic**—adapting seamlessly across Web (React, Next.js, Vue, Nuxt, SvelteKit), Mobile (iOS SwiftUI, Android Jetpack Compose, React Native, Expo, Flutter), and Backend (Node, Bun, FastAPI, Go, Rust).
|
|
30
|
+
|
|
31
|
+
### 👑 The Apex Router
|
|
32
|
+
* **`/istm <prompt>`** — *Universal NLP Router & Master Orchestrator*
|
|
33
|
+
* Evaluates your prompt, classifies domain intent, and automatically delegates execution to the optimal skill.
|
|
34
|
+
* **Example**:
|
|
35
|
+
```bash
|
|
36
|
+
> /istm build me a real-time crypto exchange with live charts and dark mode
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 🏛️ The 4 Pillars of Architecture
|
|
40
|
+
* **`/istm-architecture`** — *2-Track Full-Stack Architecture Engine*
|
|
41
|
+
* **Track 1 (Greenfield)**: Executes the Discovery Gate, interviews you to resolve unknown requirements, applies Smart Defaults, and scaffolds the 4 Pillars of Truth (`agents.md`, `architecture.md`, `design.md`, `project-overview.md`).
|
|
42
|
+
* **Track 2 (Brownfield / Existing Codebase)**: Zero-interrogation mode. Automatically scans `package.json`, runtime frameworks, live ORM schemas, and router trees to faithfully reverse-engineer the architecture with zero destructive overwrites.
|
|
43
|
+
* **Examples**:
|
|
44
|
+
```bash
|
|
45
|
+
# Greenfield project from prompt
|
|
46
|
+
> /istm-architecture design an enterprise B2B SaaS platform with team permissions
|
|
47
|
+
|
|
48
|
+
# Reverse-engineer an existing codebase
|
|
49
|
+
> /istm-architecture --codebase
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
* **`/istm-design`** — *70+ Production Brand Presets, Archetypes & Image-to-Code*
|
|
53
|
+
* Reverse-engineers design systems from URLs or screenshots into precise tokens, and loads battle-tested brand blueprints (`linear`, `stripe`, `apple`, `vercel`, `supabase`, `porsche`, `claude`, etc.).
|
|
54
|
+
* **Examples**:
|
|
55
|
+
```bash
|
|
56
|
+
# Apply Linear's exact near-black palette & typography
|
|
57
|
+
> /istm-design --preset=linear
|
|
58
|
+
|
|
59
|
+
# Build a landing page with Stripe's banking-grade tokens
|
|
60
|
+
> /istm-design build a billing settings page using preset stripe
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
* **`/istm-awwward-designer`** — *Awwwards-Winning Visual Universes*
|
|
64
|
+
* Constructs cinematic frontend experiences powered by the Paint Pipeline. Integrates WebGL, Canvas, custom shaders, and Awwwards-level interactive layouts.
|
|
65
|
+
* **Example**:
|
|
66
|
+
```bash
|
|
67
|
+
> /istm-awwward-designer build a 3D interactive hardware showcase with smooth scrolling
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
* **`/istm-animate`** — *Design Engineering & Spring Physics Engine*
|
|
71
|
+
* Identifies motion opportunities and injects physics-based micro-interactions, spring curves (`stiffness: 100, damping: 20`), and hardware-accelerated transforms.
|
|
72
|
+
* **Example**:
|
|
73
|
+
```bash
|
|
74
|
+
> /istm-animate add tactile magnetic hover physics and entry staggers to hero components
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
* **`/istm-system-design`** — *Backend Architect, Database Schemas & APIs*
|
|
78
|
+
* Generates production-ready database schemas (Prisma, Drizzle, SQL), strict Zod validation pipelines, and type-safe server actions.
|
|
79
|
+
* **Example**:
|
|
80
|
+
```bash
|
|
81
|
+
> /istm-system-design create a multi-tenant PostgreSQL schema with role-based access control
|
|
82
|
+
```
|
|
24
83
|
|
|
25
84
|
---
|
|
26
85
|
|
|
27
|
-
##
|
|
86
|
+
## 🛠️ Enterprise Workflow Suite (Day-to-Day)
|
|
28
87
|
|
|
29
|
-
|
|
88
|
+
Stop chatting blindly with your AI. Use these deterministic commands to execute safe, heavily-guarded daily development:
|
|
30
89
|
|
|
31
|
-
|
|
32
|
-
|
|
90
|
+
| Command | Role | Description & Example Prompt |
|
|
91
|
+
|---|---|---|
|
|
92
|
+
| **`/istm-craft`** | Feature Architect | Enforces **One-Spec-At-A-Time** planning.<br/>`> /istm-craft spec out the Stripe subscription checkout modal` |
|
|
93
|
+
| **`/istm-develop`** | Execution Engine | Builds production code with anti-laziness gates and Git guardrails.<br/>`> /istm-develop implement the checkout modal from spec 0001` |
|
|
94
|
+
| **`/istm-debug`** | Root-Cause Investigator | Employs the **7-Rung Efficiency Ladder** & Grep-All-Callers tracing.<br/>`> /istm-debug session token drops during WebSocket reconnection` |
|
|
95
|
+
| **`/istm-qa`** | Automated Browser QA | Automated headless browser testing (Playwright) across responsive viewports.<br/>`> /istm-qa test the pricing table on mobile 375px and desktop 1440px` |
|
|
96
|
+
| **`/istm-cso`** | Security Officer | Deep scans API routes and dependencies for auth leaks and injection risks.<br/>`> /istm-cso scan authentication middleware and database queries` |
|
|
97
|
+
| **`/istm-gain`** | Performance Optimizer | Profiles bundle sizes, renders, and Largest Contentful Paint (LCP).<br/>`> /istm-gain optimize client bundle and lazy-load heavy chart dependencies` |
|
|
98
|
+
| **`/istm-debt`** | Debt Harvester | Harvests deliberate shortcuts into structured `ISTM-DEBT.md` ledgers.<br/>`> /istm-debt generate a debt ledger for all deferred optimizations` |
|
|
99
|
+
| **`/istm-review`** | Code Reviewer | Rigorous pre-merge code review and diff inspection.<br/>`> /istm-review audit the auth pull request for edge cases and regressions` |
|
|
100
|
+
| **`/istm-ship`** | Release Engine | Verifies tests, runs QA, and drafts production PRs and changelogs.<br/>`> /istm-ship run test suites, verify browser QA, and draft a release PR` |
|
|
101
|
+
| **`/istm-autoplan`** | Sprint Planner | Multi-stage autonomous sprint planning and work queue breakdown.<br/>`> /istm-autoplan break down Q3 roadmap milestones into actionable tasks` |
|
|
102
|
+
| **`/istm-test`** | Test Generator | Generates comprehensive unit, integration, and E2E test suites.<br/>`> /istm-test write Vitest integration tests for the checkout webhook` |
|
|
33
103
|
|
|
34
104
|
---
|
|
35
105
|
|
|
36
|
-
##
|
|
106
|
+
## 🎨 70+ Production Design Presets (`--preset=<name>`)
|
|
107
|
+
|
|
108
|
+
Never start a design system from scratch or let AI guess your styles. `@istmx/skills` includes **70+ reverse-engineered, production-grade Design System blueprints** extracted from the world's most iconic digital products.
|
|
37
109
|
|
|
38
|
-
|
|
110
|
+
### ⚙️ How It Works Under the Hood:
|
|
111
|
+
1. **Curated Blueprint Library**: Every preset in `istm-design/presets/<name>/DESIGN.md` contains the exact color tokens (canvas, surfaces, ink, borders), typography hierarchy (font stacks, sizes, negative letter-spacing), motion physics (spring curves, damping, duration), and component radius rules.
|
|
112
|
+
2. **Instant Token Compilation**: When you pass `--preset=<name>` (or name a brand in your prompt), the AI instantly loads those tokens and locks them into your project's `.istm-context/design.md`.
|
|
113
|
+
3. **Deterministic UI Code**: Every component generated by `/istm-design` or `/istm-develop` strictly uses these tokens with clean Tailwind v4 semantic classes (`bg-background`, `text-foreground`, `border-border`), ensuring a 100% faithful aesthetic with zero AI slop.
|
|
39
114
|
|
|
40
|
-
|
|
115
|
+
### 🌟 Popular Presets Matrix:
|
|
116
|
+
|
|
117
|
+
| Domain | Popular Presets (`--preset=<name>`) | Signature Aesthetic |
|
|
41
118
|
|---|---|---|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
119
|
+
| **Developer Tools** | `linear`, `vercel`, `supabase`, `raycast`, `posthog`, `warp` | Near-black canvases, lavender/emerald accents, negative-tracking type, dense UIs |
|
|
120
|
+
| **Fintech & Banking** | `stripe`, `wise`, `coinbase`, `binance`, `revolut` | Slate blue foundations, high-contrast typography, precision 4px radius inputs |
|
|
121
|
+
| **AI & RAG Platforms** | `claude`, `cursor`, `cohere`, `mistral`, `ollama`, `xai` | Warm paper / deep dark surfaces, terminal monospace, thinking-model layouts |
|
|
122
|
+
| **Productivity & Canvas**| `figma`, `notion`, `framer`, `miro`, `airtable`, `cal` | Clean white/charcoal canvases, flexible grid systems, fluid micro-interactions |
|
|
123
|
+
| **Luxury & Automotive** | `porsche`, `ferrari`, `bugatti`, `lamborghini`, `bmw-m` | Ultra-deep black surfaces, high-contrast metallic accents, cinematic typography |
|
|
124
|
+
| **Consumer & Lifestyle** | `apple`, `airbnb`, `spotify`, `shopify`, `nike`, `uber` | Refined spatial padding, SF Pro / circular fonts, hardware-accelerated transitions |
|
|
48
125
|
|
|
49
|
-
|
|
126
|
+
### 💡 Example Usages:
|
|
50
127
|
|
|
51
|
-
|
|
128
|
+
```bash
|
|
129
|
+
# 1. Direct Flag Usage: Instantly load Linear's exact tokens into .istm-context/design.md
|
|
130
|
+
> /istm-design --preset=linear
|
|
131
|
+
|
|
132
|
+
# 2. Direct Flag Usage: Scaffold a Stripe-style checkout with banking-grade tokens
|
|
133
|
+
> /istm-design --preset=stripe
|
|
52
134
|
|
|
53
|
-
|
|
135
|
+
# 3. Conversational Prompt: Build a page directly with a preset aesthetic
|
|
136
|
+
> /istm-design build a modern developer dashboard using preset supabase
|
|
137
|
+
|
|
138
|
+
# 4. Conversational Prompt: Create a luxury landing page using preset porsche
|
|
139
|
+
> /istm-design create a sleek product showcase using preset porsche
|
|
140
|
+
```
|
|
54
141
|
|
|
55
|
-
|
|
56
|
-
- **`/istm-craft` (The Feature Architect)**: Enforces a strict **"One Spec At A Time"** rule so Claude Code doesn't hallucinate 10 features at once.
|
|
57
|
-
- **`/istm-develop` (The Execution Engine)**: Builds the code, but with massive safety guardrails:
|
|
58
|
-
- **Git Guardrails**: Silently runs `git fetch` before coding to check for uncommitted work and prevents you from overwriting a teammate's branch.
|
|
59
|
-
- **The Spec Gate**: Mathematically forbidden from guessing. If a load-bearing architectural decision is missing, it refuses to code and routes you back to `/istm-craft`.
|
|
60
|
-
- **Live URL Caching**: Both `/craft` and `/develop` natively fetch documentation URLs from your prompt to learn bleeding-edge syntax, automatically caching that knowledge in `.istm-context/docs/` for future sessions.
|
|
61
|
-
- **`/istm-test` & `/istm-check`**: The verification tail. Mandated by higher Workflow Tiers to run pre-merge code reviews and comprehensive test suites.
|
|
62
|
-
- **`/istm-audit`**: Scans the codebase for tech debt, architectural drift, and unused code.
|
|
63
|
-
- **`/istm-debug`**: Hunts down root causes, fixes code, and writes regression tests.
|
|
64
|
-
- **`/istm-sync`**: Reconciles scope and completely re-hydrates the durable knowledge base after shipping a feature to save AI token limits.
|
|
142
|
+
*(You can also browse the full catalog anytime in [`istm-design/presets/catalog.md`](istm-design/presets/catalog.md)).*
|
|
65
143
|
|
|
66
144
|
---
|
|
67
145
|
|
|
68
|
-
##
|
|
146
|
+
## 💎 Engineering Excellence & Architectural Standards
|
|
69
147
|
|
|
70
|
-
`@istmx/skills`
|
|
71
|
-
|
|
72
|
-
-
|
|
73
|
-
|
|
148
|
+
`@istmx/skills` guarantees production-grade quality across every generated feature through core engineering standards:
|
|
149
|
+
|
|
150
|
+
* **Complete Multi-Layered Storytelling**: Constructs rich, full-depth landing pages and application flows—complete with asymmetrical bento feature showcases, interactive sandboxes, verified metrics, pricing comparison matrices, and high-craft footers.
|
|
151
|
+
* **Deterministic Token & Motion Harmonization**: Synchronizes bespoke color tokens, strict typography scales, and spring physics (`stiffness: 100, damping: 20`) seamlessly across all UI components.
|
|
152
|
+
* **Modern Semantic Styling & Accessible Atoms**: Enforces clean Tailwind v4 semantic utility tokens (`bg-background`, `text-foreground`, `border-border`) paired with accessible Shadcn UI / Radix primitives.
|
|
153
|
+
* **Stack-Idiomatic Architecture**: Deeply respects your project's chosen framework conventions (Next.js App Router `app/`, Nuxt, Vite, SvelteKit, Flutter), automatically adapting to existing project structures.
|
|
154
|
+
* **Compiler-Grade Type Safety**: Generates strictly typed domain models, discriminated unions, and end-to-end Zod inference with zero type shortcuts.
|
|
155
|
+
* **Full-Fidelity Production Code**: Clean, self-documenting, and complete code with zero placeholders or truncated functions—ready to ship directly to production.
|
|
74
156
|
|
|
75
157
|
---
|
|
76
158
|
|
|
77
|
-
## 📁 The `.istm-context`
|
|
159
|
+
## 📁 The `.istm-context` 4 Pillars of Truth
|
|
160
|
+
|
|
161
|
+
When an orchestrator runs, it centralizes all knowledge into `.istm-context/`:
|
|
78
162
|
|
|
79
|
-
|
|
80
|
-
|
|
163
|
+
```
|
|
164
|
+
.istm-context/
|
|
165
|
+
├── agents.md # Operational brain, memory rules, and coding standards
|
|
166
|
+
├── architecture.md # Database schemas, API routes, and backend architecture
|
|
167
|
+
├── design.md # UI tokens, color palette, typography scale, motion specs
|
|
168
|
+
├── project-overview.md # Business logic, product requirements, and user journeys
|
|
169
|
+
├── specs/ # Atomic, feature-specific implementation specifications
|
|
170
|
+
└── docs/ # Cached documentation from live web lookups
|
|
171
|
+
```
|
|
81
172
|
|
|
82
|
-
Before generating a
|
|
173
|
+
Before generating a line of code, every agent reads this directory, guaranteeing 100% architectural alignment and zero hallucinations.
|
|
83
174
|
|
|
84
175
|
---
|
|
85
176
|
|
|
86
|
-
## 🤝 Contributing &
|
|
177
|
+
## 🤝 Contributing & Community
|
|
87
178
|
|
|
88
|
-
We are
|
|
179
|
+
We are building the definitive open-source AI orchestration engine to end the era of generic AI code scaffolding.
|
|
89
180
|
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
- 💻 **Submit PRs** to improve the skills, add new frameworks, or fix typos.
|
|
181
|
+
- ⭐️ **Star the repo** to support the project.
|
|
182
|
+
- 🐛 **Report Issues** or suggest new framework adapters.
|
|
183
|
+
- 💻 **Submit Pull Requests** to expand our design presets or workflow tools.
|
|
94
184
|
|
|
95
|
-
Please
|
|
185
|
+
Please review our [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) before contributing.
|
|
96
186
|
|
|
97
187
|
**Author:** Aryan
|
|
98
188
|
**License:** [MIT License](LICENSE)
|
|
99
189
|
|
|
100
190
|
---
|
|
101
|
-
<!-- SEO Metadata
|
|
191
|
+
<!-- SEO Metadata (DO NOT REMOVE) -->
|
|
102
192
|
<!--
|
|
103
|
-
Keywords: Claude Code skills, Claude Code
|
|
193
|
+
Keywords: Claude Code skills, Claude Code agents, Claude Code vs Cursor, AI coding agent framework, open source agentic skills, enterprise SDLC AI, automated browser QA, playwright AI testing, linear design system, stripe design tokens, tailwind v4 semantic tokens, shadcn ui agent, cursor rules, .cursorrules alternative, AGENTS.md standard, full stack AI architecture, Next.js 15 AI agent, headless browser testing agent, security audit AI agent, agentic workflow tools
|
|
104
194
|
-->
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# 🚀 @istmx/skills v2.1.0 Release Notes
|
|
2
|
+
|
|
3
|
+
> **The Elite Agentic Orchestration & Enterprise SDLC Engine**
|
|
4
|
+
> *Transform Claude Code, Cursor, Windsurf, and Gemini into senior-level architects, design engineers, and autonomous QA testers.*
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🌟 What's New in v2.1.0
|
|
9
|
+
|
|
10
|
+
### 1. 🎨 70+ Production-Grade Design Presets Catalog (`/istm-design`)
|
|
11
|
+
Never start a design from scratch again. `@istmx/skills` now includes **70+ reverse-engineered, production-ready Design System blueprints** extracted from the world's most iconic digital products:
|
|
12
|
+
- **AI & RAG Platforms**: `claude`, `cursor`, `cohere`, `mistral`, `ollama`, `replicate`, `runwayml`, `elevenlabs`, `xai`
|
|
13
|
+
- **Developer Tools & Infrastructure**: `linear`, `vercel`, `supabase`, `raycast`, `posthog`, `clickhouse`, `sentry`, `mongodb`, `warp`
|
|
14
|
+
- **Fintech, Crypto & Banking**: `stripe`, `wise`, `coinbase`, `binance`, `kraken`, `revolut`, `mastercard`
|
|
15
|
+
- **Creative & Workspace Suites**: `figma`, `notion`, `framer`, `miro`, `airtable`, `cal`, `intercom`, `slack`, `zapier`
|
|
16
|
+
- **Luxury, Automotive & Editorial**: `porsche`, `ferrari`, `bugatti`, `lamborghini`, `bmw-m`, `tesla`
|
|
17
|
+
- **Consumer, Commerce & Lifestyle**: `apple`, `airbnb`, `spotify`, `shopify`, `nike`, `uber`, `starbucks`
|
|
18
|
+
|
|
19
|
+
**Dynamic Discovery & Switching**:
|
|
20
|
+
- Instant keyword matching: `> /istm-design --preset=linear` or `> /istm-design build a landing page using preset stripe`.
|
|
21
|
+
- Domain recommendations: Scans `catalog.md` and proposes the top 3 matching industry blueprints during project onboarding.
|
|
22
|
+
- Instant aesthetic switching: Easily switch palettes and typography on the fly.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
### 2. 🏛️ 2-Track Architecture Engine (Greenfield vs. Brownfield)
|
|
27
|
+
`/istm-architecture` now features an intelligent 2-track execution engine:
|
|
28
|
+
- **Track 1: Greenfield (Brand New Projects)**: Evaluates user prompts, executes domain interviews via the Discovery Gate, applies smart defaults, and scaffolds fresh 4 Pillars from templates.
|
|
29
|
+
- **Track 2: Brownfield (Existing Codebases)**: Zero-interrogation mode. Automatically scans `package.json`, runtime frameworks (Next.js, Nuxt, Vite, FastAPI), styling tokens (Tailwind v4, Shadcn), ORMs (Prisma, Drizzle), and Auth providers (Auth.js, Supabase, Clerk). Faithfully reverse-engineers `architecture.md`, `design.md`, `project-overview.md`, and `agents.md` to document the real codebase state with a non-destructive guarantee.
|
|
30
|
+
- **Track 3: Gap Fill**: Safely updates existing `.istm-context/` blueprints to match evolving requirements without wiping unrelated architectural context.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
### 3. 🧪 Automated Headless Browser QA & Security Scanner
|
|
35
|
+
- **`/istm-qa` (Automated Visual & Interaction QA)**: Powered by `BROWSER.md`. Automates headless browser testing (Playwright/Puppeteer) to take screenshots, verify responsive layout breakpoints (mobile 375px, tablet 768px, desktop 1440px), check button interaction feedback, and catch layout overflow bugs before human review.
|
|
36
|
+
- **`/istm-cso` (Chief Security Officer)**: Deep-scans API routes, database operations, and dependencies for authentication bypasses, secret leaks, injection flaws, and authorization misconfigurations.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
### 4. ⚡ Senior Developer Efficiency Suite
|
|
41
|
+
- **7-Rung Efficiency Ladder**: Embedded across `/istm-debug` and `/istm-develop` (YAGNI, code reuse, stdlib standard APIs, native platform features, minimal working diffs).
|
|
42
|
+
- **Root-Cause Caller Grep**: Grep every caller of a broken function and resolve the bug once at the shared contract instead of applying fragile caller-side patches.
|
|
43
|
+
- **`/istm-gain`**: High-impact performance optimization and bundle reduction.
|
|
44
|
+
- **`/istm-debt`**: Harvests and tracks deliberate shortcuts in structured debt ledgers.
|
|
45
|
+
- **`/istm-review` & `/istm-eng-review`**: Pre-merge code reviews and diff audits.
|
|
46
|
+
- **`/istm-ship` & `/istm-release`**: Autonomous branch release, test verification, and changelog generation.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### 5. 💎 Engineering Excellence & Architectural Standards
|
|
51
|
+
- **Complete Multi-Layered Storytelling**: Constructs rich, full-depth landing pages and application flows—complete with asymmetrical bento feature showcases, interactive sandboxes, verified metrics, pricing comparison matrices, and high-craft footers.
|
|
52
|
+
- **Deterministic Token & Motion Harmonization**: Synchronizes bespoke color tokens, strict typography scales, and spring physics (`stiffness: 100, damping: 20`) seamlessly across all UI components.
|
|
53
|
+
- **Modern Semantic Styling & Accessible Atoms**: Enforces clean Tailwind v4 semantic utility tokens (`bg-background`, `text-foreground`, `border-border`) paired with accessible Shadcn UI / Radix primitives.
|
|
54
|
+
- **Stack-Idiomatic Architecture**: Deeply respects your project's chosen framework conventions (Next.js App Router `app/`, Nuxt, Vite, SvelteKit, Flutter), automatically adapting to existing project structures.
|
|
55
|
+
- **Compiler-Grade Type Safety**: Generates strictly typed domain models, discriminated unions, and end-to-end Zod inference with zero type shortcuts.
|
|
56
|
+
- **Full-Fidelity Production Code**: Clean, self-documenting, and complete code with zero placeholders or truncated functions—ready to ship directly to production.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## ⚡ Upgrade & Installation
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Initialize or upgrade in your project root
|
|
64
|
+
npx @istmx/skills init
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
*Docs & Presets Catalog: [https://istmx.dpdns.org](https://istmx.dpdns.org)*
|
|
68
|
+
*GitHub: [https://github.com/istmX/skills](https://github.com/istmX/skills)*
|
package/bin/cli.js
CHANGED
|
@@ -10,13 +10,13 @@ const __filename = fileURLToPath(import.meta.url);
|
|
|
10
10
|
const __dirname = path.dirname(__filename);
|
|
11
11
|
const SKILLS_ROOT = path.join(__dirname, '..');
|
|
12
12
|
|
|
13
|
-
const
|
|
14
|
-
'istm
|
|
15
|
-
'istm-
|
|
16
|
-
'istm-
|
|
17
|
-
'istm-system-design'
|
|
18
|
-
'istm-
|
|
19
|
-
|
|
13
|
+
const CORE_SKILLS = [
|
|
14
|
+
'istm-architecture',
|
|
15
|
+
'istm-awwward-designer',
|
|
16
|
+
'istm-design',
|
|
17
|
+
'istm-system-design',
|
|
18
|
+
'istm-animate'
|
|
19
|
+
];
|
|
20
20
|
|
|
21
21
|
async function main() {
|
|
22
22
|
const logo = `
|
|
@@ -49,17 +49,17 @@ async function main() {
|
|
|
49
49
|
|
|
50
50
|
const harnessChoices = [];
|
|
51
51
|
if (autoDetectedHarness) {
|
|
52
|
-
harnessChoices.push({ title: `Auto-Detect (${autoDetectedHarness})`, value: autoDetectedHarness });
|
|
52
|
+
harnessChoices.push({ title: `Auto-Detect (${autoDetectedHarness})`, value: autoDetectedHarness, selected: true });
|
|
53
53
|
}
|
|
54
54
|
harnessChoices.push(
|
|
55
|
-
{ title: chalk.bold.blue('Claude Code') + chalk.dim(' (CLAUDE.md)'), value: 'CLAUDE.md' },
|
|
56
|
-
{ title: chalk.bold.green('OpenAI Codex / Opencode') + chalk.dim(' (AGENTS.md)'), value: 'AGENTS.md' },
|
|
57
|
-
{ title: chalk.bold.cyan('Gemini Antigravity CLI') + chalk.dim(' (GEMINI.md)'), value: 'GEMINI.md' },
|
|
58
|
-
{ title: chalk.bold.white('Cursor') + chalk.dim(' (.cursorrules)'), value: '.cursorrules' },
|
|
59
|
-
{ title: chalk.bold.magenta('Windsurf') + chalk.dim(' (.windsurfrules)'), value: '.windsurfrules' },
|
|
60
|
-
{ title: chalk.bold.yellow('Roo Code / Cline') + chalk.dim(' (.clinerules)'), value: '.clinerules' },
|
|
61
|
-
{ title: chalk.bold.white('GitHub Copilot') + chalk.dim(' (.github/copilot-instructions.md)'), value: '.github/copilot-instructions.md' },
|
|
62
|
-
{ title: chalk.bold.gray('Other AI Agents') + chalk.dim(' (AGENTS.md)'), value: 'AGENTS.md' }
|
|
55
|
+
{ title: chalk.bold.blue('Claude Code') + chalk.dim(' (CLAUDE.md)'), value: 'CLAUDE.md', selected: autoDetectedHarness === 'CLAUDE.md' },
|
|
56
|
+
{ title: chalk.bold.green('OpenAI Codex / Opencode') + chalk.dim(' (AGENTS.md)'), value: 'AGENTS.md', selected: autoDetectedHarness === 'AGENTS.md' },
|
|
57
|
+
{ title: chalk.bold.cyan('Gemini Antigravity CLI') + chalk.dim(' (GEMINI.md)'), value: 'GEMINI.md', selected: autoDetectedHarness === 'GEMINI.md' },
|
|
58
|
+
{ title: chalk.bold.white('Cursor') + chalk.dim(' (.cursorrules)'), value: '.cursorrules', selected: autoDetectedHarness === '.cursorrules' },
|
|
59
|
+
{ title: chalk.bold.magenta('Windsurf') + chalk.dim(' (.windsurfrules)'), value: '.windsurfrules', selected: autoDetectedHarness === '.windsurfrules' },
|
|
60
|
+
{ title: chalk.bold.yellow('Roo Code / Cline') + chalk.dim(' (.clinerules)'), value: '.clinerules', selected: autoDetectedHarness === '.clinerules' },
|
|
61
|
+
{ title: chalk.bold.white('GitHub Copilot') + chalk.dim(' (.github/copilot-instructions.md)'), value: '.github/copilot-instructions.md', selected: false },
|
|
62
|
+
{ title: chalk.bold.gray('Other AI Agents') + chalk.dim(' (AGENTS.md)'), value: 'AGENTS.md', selected: false }
|
|
63
63
|
);
|
|
64
64
|
|
|
65
65
|
const response = await prompts([
|
|
@@ -70,24 +70,10 @@ async function main() {
|
|
|
70
70
|
instructions: false,
|
|
71
71
|
choices: harnessChoices,
|
|
72
72
|
min: 1
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'multiselect',
|
|
76
|
-
name: 'domainSkills',
|
|
77
|
-
message: 'Which Core Architecture Skills do you want to initialize? (Space to select)',
|
|
78
|
-
instructions: false,
|
|
79
|
-
choices: [
|
|
80
|
-
{ title: chalk.bold.red('God Mode') + chalk.dim(' (Universal Router)'), value: 'istm' },
|
|
81
|
-
{ title: chalk.bold.blue('Architect') + chalk.dim(' (Full Stack / Standard UI)'), value: 'istm-architecture' },
|
|
82
|
-
{ title: chalk.bold.magenta('Awwward Designer') + chalk.dim(' (GSAP Motion / Premium Specs)'), value: 'istm-awwward-designer' },
|
|
83
|
-
{ title: chalk.bold.cyan('Design') + chalk.dim(' (Visual Tokens & Static UI)'), value: 'istm-design' },
|
|
84
|
-
{ title: chalk.bold.green('System Design') + chalk.dim(' (Backend & APIs)'), value: 'istm-system-design' }
|
|
85
|
-
],
|
|
86
|
-
min: 1
|
|
87
73
|
}
|
|
88
74
|
]);
|
|
89
75
|
|
|
90
|
-
if (!response.targetHarnesses ||
|
|
76
|
+
if (!response.targetHarnesses || response.targetHarnesses.length === 0) {
|
|
91
77
|
console.log(chalk.red('\nInstallation cancelled by user.'));
|
|
92
78
|
process.exit(1);
|
|
93
79
|
}
|
|
@@ -95,7 +81,7 @@ async function main() {
|
|
|
95
81
|
/** Deduplicate selected harnesses in case they selected Auto-Detect and the explicit one */
|
|
96
82
|
const harnessesToInstall = [...new Set(response.targetHarnesses)];
|
|
97
83
|
|
|
98
|
-
console.log(chalk.cyan('\n⚙ Installing
|
|
84
|
+
console.log(chalk.cyan('\n⚙ Installing full @istmx/skills suite...'));
|
|
99
85
|
|
|
100
86
|
const targetDir = cwd;
|
|
101
87
|
const contextDir = path.join(targetDir, '.istm-context');
|
|
@@ -104,9 +90,9 @@ async function main() {
|
|
|
104
90
|
* ==========================================
|
|
105
91
|
* STEP 1: Global Context Scaffolding
|
|
106
92
|
* ==========================================
|
|
107
|
-
*
|
|
93
|
+
* Initializing the shared `.istm-context` directory and copying all core skill blueprints.
|
|
108
94
|
*/
|
|
109
|
-
console.log(chalk.green(`✓ Scaffolding .istm-context
|
|
95
|
+
console.log(chalk.green(`✓ Scaffolding .istm-context/ blueprints...`));
|
|
110
96
|
|
|
111
97
|
try { await fs.mkdir(contextDir, { recursive: true }); } catch (err) {}
|
|
112
98
|
|
|
@@ -115,34 +101,21 @@ async function main() {
|
|
|
115
101
|
try {
|
|
116
102
|
await fs.access(agentsMdPath);
|
|
117
103
|
} catch (err) {
|
|
118
|
-
try {
|
|
104
|
+
try {
|
|
105
|
+
await fs.writeFile(agentsMdPath, `# @istmx/skills Runtime Memory\n\nThis file will be hydrated by the master orchestrator.`);
|
|
106
|
+
} catch (err) {
|
|
119
107
|
console.log(chalk.red(` - Failed to write agents.md: ${err.message}`));
|
|
120
108
|
}
|
|
121
109
|
}
|
|
122
110
|
|
|
123
|
-
/** Copy
|
|
124
|
-
const
|
|
125
|
-
for (const skill of response.domainSkills) {
|
|
126
|
-
/** istm has no context template */
|
|
127
|
-
if (skill === 'istm') continue;
|
|
111
|
+
/** Copy all core skills context templates into .istm-context */
|
|
112
|
+
for (const skill of CORE_SKILLS) {
|
|
128
113
|
try {
|
|
129
114
|
await fs.cp(path.join(SKILLS_ROOT, skill), path.join(contextDir, skill), { recursive: true });
|
|
130
115
|
console.log(chalk.dim(` - Scaffolded ${skill} in .istm-context`));
|
|
131
116
|
} catch(e) {
|
|
132
117
|
console.log(chalk.red(` - Failed to scaffold ${skill} in .istm-context: ${e.message}`));
|
|
133
118
|
}
|
|
134
|
-
const deps = DEPENDENCY_MAP[skill] || [];
|
|
135
|
-
for (const d of deps) allDeps.add(d);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/** Inject physical dependencies (like UI tokens or DB schemas) into the global context */
|
|
139
|
-
for (const dep of allDeps) {
|
|
140
|
-
try {
|
|
141
|
-
await fs.cp(path.join(SKILLS_ROOT, dep), path.join(contextDir, dep), { recursive: true });
|
|
142
|
-
console.log(chalk.dim(` - Scaffolded dependency ${dep} in .istm-context`));
|
|
143
|
-
} catch(e) {
|
|
144
|
-
console.log(chalk.red(` - Failed to scaffold dependency ${dep}: ${e.message}`));
|
|
145
|
-
}
|
|
146
119
|
}
|
|
147
120
|
|
|
148
121
|
/**
|
|
@@ -164,7 +137,6 @@ async function main() {
|
|
|
164
137
|
const harnessPath = path.join(targetDir, harness);
|
|
165
138
|
const pointerLine = `\n\n# @istmx/skills Context\n@.istm-context/agents.md\n`;
|
|
166
139
|
try {
|
|
167
|
-
/** Create directory for github copilot if needed */
|
|
168
140
|
if (harness.includes('/')) {
|
|
169
141
|
await fs.mkdir(path.dirname(harnessPath), { recursive: true });
|
|
170
142
|
}
|
|
@@ -179,26 +151,21 @@ async function main() {
|
|
|
179
151
|
}
|
|
180
152
|
} catch (err) {}
|
|
181
153
|
|
|
182
|
-
/** 2. Inject the Universal NLP Router (/istm)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
await fs.cp(path.join(SKILLS_ROOT, 'istm'), path.join(workflowTarget, 'istm'), { recursive: true });
|
|
190
|
-
}
|
|
191
|
-
console.log(chalk.dim(` - Injected Master Orchestrator (/istm)`));
|
|
192
|
-
} catch (err) {
|
|
193
|
-
console.log(chalk.red(` - Failed to inject Master Orchestrator: ${err.message}`));
|
|
154
|
+
/** 2. Inject the Universal NLP Router (/istm) */
|
|
155
|
+
const routerPath = path.join(SKILLS_ROOT, 'istm', 'SKILL.md');
|
|
156
|
+
try {
|
|
157
|
+
if (harness === '.cursorrules') {
|
|
158
|
+
await fs.copyFile(routerPath, path.join(workflowTarget, 'istm.mdc'));
|
|
159
|
+
} else {
|
|
160
|
+
await fs.cp(path.join(SKILLS_ROOT, 'istm'), path.join(workflowTarget, 'istm'), { recursive: true });
|
|
194
161
|
}
|
|
162
|
+
console.log(chalk.dim(` - Injected Master Router (/istm)`));
|
|
163
|
+
} catch (err) {
|
|
164
|
+
console.log(chalk.red(` - Failed to inject Master Router: ${err.message}`));
|
|
195
165
|
}
|
|
196
166
|
|
|
197
|
-
/** 3. Inject
|
|
198
|
-
const
|
|
199
|
-
for (const skill of skillsToInject) {
|
|
200
|
-
/** already injected */
|
|
201
|
-
if (skill === 'istm') continue;
|
|
167
|
+
/** 3. Inject ALL Core Orchestrator Skills */
|
|
168
|
+
for (const skill of CORE_SKILLS) {
|
|
202
169
|
try {
|
|
203
170
|
if (harness === '.cursorrules') {
|
|
204
171
|
await fs.copyFile(path.join(SKILLS_ROOT, skill, 'SKILL.md'), path.join(workflowTarget, `${skill}.mdc`));
|
|
@@ -235,25 +202,36 @@ async function main() {
|
|
|
235
202
|
}
|
|
236
203
|
}
|
|
237
204
|
|
|
238
|
-
console.log(chalk.bold.magenta('\n✨ Initialization Complete!'));
|
|
239
|
-
console.log(`Your AI is now
|
|
205
|
+
console.log(chalk.bold.magenta('\n✨ Full Suite Initialization Complete!'));
|
|
206
|
+
console.log(`Your AI is now powered by the full ${chalk.bold('@istmx/skills')} Operating System.`);
|
|
240
207
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
console.log(chalk.cyan(`> /istm build me a sleek dashboard\n`));
|
|
244
|
-
} else {
|
|
245
|
-
console.log('\n' + chalk.bold('Setup complete. Ready to plan your first feature?'));
|
|
246
|
-
console.log(chalk.cyan(`> /istm-craft I want to build a user authentication system\n`));
|
|
247
|
-
}
|
|
208
|
+
console.log('\n' + chalk.bold('🚀 God Mode is active. Try your first prompt:'));
|
|
209
|
+
console.log(chalk.cyan(`> /istm build me a sleek dashboard\n`));
|
|
248
210
|
|
|
249
|
-
console.log(chalk.bold('
|
|
250
|
-
console.log('
|
|
251
|
-
console.log('
|
|
252
|
-
console.log('
|
|
253
|
-
console.log('
|
|
254
|
-
console.log('
|
|
211
|
+
console.log(chalk.bold('🛠 Available Skills & Slash Commands:'));
|
|
212
|
+
console.log(' ' + chalk.bold('Master Router:'));
|
|
213
|
+
console.log(' - ' + chalk.cyan('/istm') + ' (Universal NLP Router & Master Orchestrator)');
|
|
214
|
+
console.log(' ' + chalk.bold('Core Orchestrators:'));
|
|
215
|
+
console.log(' - ' + chalk.cyan('/istm-architecture') + ' (Full-Stack Architecture & 4 Pillars)');
|
|
216
|
+
console.log(' - ' + chalk.cyan('/istm-awwward-designer') + ' (GSAP/WebGL Motion & Premium UI)');
|
|
217
|
+
console.log(' - ' + chalk.cyan('/istm-design') + ' (Bespoke UI Design Tokens & Styling)');
|
|
218
|
+
console.log(' - ' + chalk.cyan('/istm-system-design') + ' (Database Schemas, APIs, ORM)');
|
|
219
|
+
console.log(' - ' + chalk.cyan('/istm-animate') + ' (Hardware-Accelerated Motion & Curves)');
|
|
220
|
+
console.log(' ' + chalk.bold('Day-to-Day Workflow Suite:'));
|
|
221
|
+
console.log(' - ' + chalk.cyan('/istm-craft') + ' (Plan a new feature spec)');
|
|
222
|
+
console.log(' - ' + chalk.cyan('/istm-develop') + ' (Write feature implementation code)');
|
|
223
|
+
console.log(' - ' + chalk.cyan('/istm-debug') + ' (7-Rung Efficiency Ladder & root cause fixes)');
|
|
224
|
+
console.log(' - ' + chalk.cyan('/istm-audit') + ' (Deep multi-layer tech debt scan)');
|
|
225
|
+
console.log(' - ' + chalk.cyan('/istm-qa') + ' (Automated headless browser & visual QA testing)');
|
|
226
|
+
console.log(' - ' + chalk.cyan('/istm-cso') + ' (Chief Security Officer vulnerability scan)');
|
|
227
|
+
console.log(' - ' + chalk.cyan('/istm-health') + ' (Codebase health & architecture drift score)');
|
|
228
|
+
console.log(' - ' + chalk.cyan('/istm-gain') + ' (Performance & bundle optimization)');
|
|
229
|
+
console.log(' - ' + chalk.cyan('/istm-debt') + ' (Harvest & track deliberate code debt)');
|
|
230
|
+
console.log(' - ' + chalk.cyan('/istm-review') + ' (Pre-merge code & diff audit)');
|
|
231
|
+
console.log(' - ' + chalk.cyan('/istm-ship') + ' (Autonomous release & changelog generator)');
|
|
232
|
+
console.log(' - ' + chalk.cyan('/istm-test') + ' (Generate comprehensive test suites)');
|
|
255
233
|
|
|
256
|
-
console.log('\n📚
|
|
234
|
+
console.log('\n📚 Documentation & Repo: ' + chalk.dim('https://github.com/istmX/skills\n'));
|
|
257
235
|
}
|
|
258
236
|
|
|
259
237
|
main().catch(err => {
|