@istmx/skills 1.1.0 ā 2.0.0
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/CODE_OF_CONDUCT.md +47 -0
- package/LICENSE +30 -0
- package/README.md +48 -22
- package/bin/cli.js +130 -119
- package/istm-animate/SKILL.md +28 -58
- package/istm-animate/core/motion-principles/SKILL.md +284 -0
- package/istm-animate/core/motion-principles/references/designers.md +127 -0
- package/istm-animate/core/motion-principles/references/easing-guide.md +231 -0
- package/istm-animate/core/motion-principles/references/enter-exit-recipes.md +466 -0
- package/istm-animate/frameworks/canvas-generative/SKILL.md +325 -0
- package/istm-animate/frameworks/canvas-generative/references/algorithms.md +925 -0
- package/istm-animate/frameworks/css-native/SKILL.md +319 -0
- package/istm-animate/frameworks/css-native/references/modern-css.md +465 -0
- package/istm-animate/frameworks/framer-motion/SKILL.md +187 -0
- package/istm-animate/frameworks/framer-motion/references/api.md +312 -0
- package/istm-animate/frameworks/gsap/SKILL.md +188 -0
- package/istm-animate/frameworks/gsap/references/core.md +218 -0
- package/istm-animate/frameworks/gsap/references/plugins.md +371 -0
- package/istm-animate/frameworks/gsap/references/scrolltrigger.md +325 -0
- package/istm-animate/frameworks/gsap/references/timeline.md +218 -0
- package/istm-animate/frameworks/threejs-r3f/SKILL.md +243 -0
- package/istm-animate/frameworks/threejs-r3f/references/scene-setup.md +392 -0
- package/istm-animate/frameworks/threejs-r3f/references/shaders.md +446 -0
- package/istm-animate/mobile/android/compose-graphics/SKILL.md +503 -0
- package/istm-animate/mobile/android/compose-graphics/references/agsl-recipes.md +356 -0
- package/istm-animate/mobile/android/compose-graphics/references/canvas-generative.md +282 -0
- package/istm-animate/mobile/android/compose-graphics/references/m3-expressive-deep.md +303 -0
- package/istm-animate/mobile/android/compose-motion/SKILL.md +359 -0
- package/istm-animate/mobile/android/compose-motion/references/gestures-compose.md +273 -0
- package/istm-animate/mobile/android/compose-motion/references/recomposition-and-anim.md +196 -0
- package/istm-animate/mobile/android/compose-motion/references/shared-transitions.md +281 -0
- package/istm-animate/mobile/android/compose-multiplatform/SKILL.md +311 -0
- package/istm-animate/mobile/android/compose-multiplatform/references/cmp-interop.md +288 -0
- package/istm-animate/mobile/android/compose-multiplatform/references/cmp-platform-quirks.md +156 -0
- package/istm-animate/mobile/apple/swiftui-graphics/SKILL.md +408 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/canvas-swiftui.md +239 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/liquid-glass-deep.md +252 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/metal-recipes.md +382 -0
- package/istm-animate/mobile/apple/swiftui-motion/SKILL.md +379 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/gestures-swiftui.md +336 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/phase-keyframe-deep.md +231 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/springs-cheatsheet.md +129 -0
- package/istm-animate/references/animate.md +199 -0
- package/istm-animate/references/audit.md +115 -0
- package/istm-animate/references/design-engineering.md +674 -0
- package/istm-animate/references/improve.md +101 -0
- package/istm-animate/references/opportunities.md +132 -0
- package/istm-animate/references/plan-template.md +73 -0
- package/istm-animate/references/recipes.md +324 -0
- package/istm-animate/references/review.md +112 -0
- package/istm-animate/references/standards.md +187 -0
- package/istm-animate/references/vocabulary.md +173 -0
- package/istm-architecture/SKILL.md +10 -1
- package/istm-awwward-designer/SKILL.md +28 -20
- package/istm-design/SKILL.md +31 -58
- package/istm-design/core/design-audit/SKILL.md +248 -0
- package/istm-design/core/desktop-principles/SKILL.md +363 -0
- package/istm-design/core/desktop-principles/references/keyboard-patterns.md +137 -0
- package/istm-design/core/desktop-principles/references/multi-window.md +105 -0
- package/istm-design/core/mobile-principles/SKILL.md +289 -0
- package/istm-design/core/mobile-principles/references/accessibility-mobile.md +175 -0
- package/istm-design/core/mobile-principles/references/gestures-deep.md +220 -0
- package/istm-design/core/ui-ux-pro-max/SKILL.md +392 -0
- package/istm-design/core/ui-ux-pro-max/UPSTREAM.md +23 -0
- package/istm-design/core/ui-ux-pro-max/data/app-interface.csv +31 -0
- package/istm-design/core/ui-ux-pro-max/data/charts.csv +26 -0
- package/istm-design/core/ui-ux-pro-max/data/colors.csv +193 -0
- package/istm-design/core/ui-ux-pro-max/data/google-fonts.csv +1924 -0
- package/istm-design/core/ui-ux-pro-max/data/icons.csv +106 -0
- package/istm-design/core/ui-ux-pro-max/data/landing.csv +35 -0
- package/istm-design/core/ui-ux-pro-max/data/motion.csv +17 -0
- package/istm-design/core/ui-ux-pro-max/data/products.csv +193 -0
- package/istm-design/core/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/angular.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nuxt-ui.csv +71 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/uno.csv +60 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/winui.csv +60 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
- package/istm-design/core/ui-ux-pro-max/data/styles.csv +85 -0
- package/istm-design/core/ui-ux-pro-max/data/typography.csv +75 -0
- package/istm-design/core/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
- package/istm-design/core/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/istm-design/core/ui-ux-pro-max/references/pro-rules.md +109 -0
- package/istm-design/core/ui-ux-pro-max/references/quick-reference.md +240 -0
- package/istm-design/core/ui-ux-pro-max/scripts/core.py +464 -0
- package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1371 -0
- package/istm-design/core/ui-ux-pro-max/scripts/search.py +162 -0
- package/istm-design/core/ui-ux-pro-max/scripts/tests/test_core.py +134 -0
- package/istm-design/core/ui-ux-pro-max/scripts/validate_data.py +114 -0
- package/istm-design/references/apple-design.md +282 -0
- package/istm-design/references/generation-guide.md +209 -0
- package/istm-design/references/pick-ui-library.md +77 -0
- package/istm-design/references/picker.md +197 -0
- package/istm-design/references/prototype.md +90 -0
- package/istm-design/references/schema.md +366 -0
- package/istm-workflow/istm-audit/SKILL.md +7 -7
- package/istm-workflow/istm-audit/agent-prompt.md +20 -20
- package/istm-workflow/istm-audit/modes/area.md +1 -1
- package/istm-workflow/istm-audit/modes/greenfield.md +4 -4
- package/istm-workflow/istm-audit/modes/tool-skills.md +1 -1
- package/istm-workflow/istm-check/SKILL.md +10 -10
- package/istm-workflow/istm-check/modes/review.md +9 -9
- package/istm-workflow/istm-check/modes/verify.md +19 -19
- package/istm-workflow/istm-check/review-agent-prompt.md +2 -2
- package/istm-workflow/istm-check/review-guide.md +4 -4
- package/istm-workflow/istm-craft/SKILL.md +20 -11
- package/istm-workflow/istm-craft/agent-modes/architecture.md +1 -1
- package/istm-workflow/istm-craft/agent-prompt.md +8 -8
- package/istm-workflow/istm-craft/internal/after-subagent.md +11 -11
- package/istm-workflow/istm-craft/internal/design-conversation.md +9 -9
- package/istm-workflow/istm-craft/internal/tool-discovery.md +2 -2
- package/istm-workflow/istm-craft/spec-template.md +18 -18
- package/istm-workflow/istm-debug/SKILL.md +6 -6
- package/istm-workflow/istm-develop/SKILL.md +31 -16
- package/istm-workflow/istm-develop/checklist.md +1 -1
- package/istm-workflow/istm-develop/flow/build.md +21 -21
- package/istm-workflow/istm-develop/flow/git.md +4 -4
- package/istm-workflow/istm-develop/logical-guide.md +5 -5
- package/istm-workflow/istm-develop/ui/implementation.md +2 -2
- package/istm-workflow/istm-develop/ui-guide.md +3 -3
- package/istm-workflow/istm-document/SKILL.md +6 -6
- package/istm-workflow/istm-document/templates/postmortem.md +1 -1
- package/istm-workflow/istm-scope/SKILL.md +20 -20
- package/istm-workflow/istm-scope/modes/add.md +1 -1
- package/istm-workflow/istm-scope/modes/plan-brownfield.md +2 -2
- package/istm-workflow/istm-scope/modes/plan-greenfield.md +4 -4
- package/istm-workflow/istm-scope/modes/plan-monorepo.md +3 -3
- package/istm-workflow/istm-scope/modes/plan.md +16 -16
- package/istm-workflow/istm-scope/modes/replan.md +2 -2
- package/istm-workflow/istm-scope/scope-template.md +29 -29
- package/istm-workflow/istm-sync/SKILL.md +37 -25
- package/istm-workflow/istm-sync/agent-prompt.md +37 -19
- package/istm-workflow/istm-test/SKILL.md +12 -12
- package/istm-workflow/istm-test/modes/setup.md +6 -6
- package/istm-workflow/istm-test/writing-guide.md +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# The @istmx/skills Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open, welcoming, and hyper-collaborative environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We are building the future of **Agentic AI Orchestration**, and we believe that the best AI tools are built by diverse, respectful, and highly collaborative human communities.
|
|
8
|
+
|
|
9
|
+
## The AI Collaboration Standard
|
|
10
|
+
|
|
11
|
+
Because this repository deals directly with Artificial Intelligence and LLM Orchestration, we have specific standards for contribution:
|
|
12
|
+
|
|
13
|
+
1. **Knowledge Sharing**: We welcome all contributions that make our AI skills smarter. If you have built a great prompt template, a new motion workflow, or a structural framework rule, share it! We encourage opening PRs to refine our `SKILL.md` rules.
|
|
14
|
+
2. **Deterministic Quality**: When proposing changes to the AI instructions, aim for deterministic, anti-slop rules. We want to guide the AI to be highly professional, not generic.
|
|
15
|
+
3. **Ethical AI Usage**: We do not support modifying these skills to generate malicious code, spam, or harmful content.
|
|
16
|
+
|
|
17
|
+
## Our Standards
|
|
18
|
+
|
|
19
|
+
Examples of behavior that contributes to a positive environment include:
|
|
20
|
+
|
|
21
|
+
* Demonstrating empathy and kindness toward other people.
|
|
22
|
+
* Sharing knowledge openly (e.g., sharing how you crafted a perfect AI prompt).
|
|
23
|
+
* Being respectful of differing opinions and coding paradigms.
|
|
24
|
+
* Giving and gracefully accepting constructive feedback.
|
|
25
|
+
* Accepting responsibility and apologizing to those affected by our mistakes.
|
|
26
|
+
|
|
27
|
+
Examples of unacceptable behavior include:
|
|
28
|
+
|
|
29
|
+
* The use of sexualized language or imagery.
|
|
30
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks.
|
|
31
|
+
* Public or private harassment.
|
|
32
|
+
* Publishing others' private information without explicit permission.
|
|
33
|
+
* Weaponizing the AI orchestrators for malicious intent.
|
|
34
|
+
|
|
35
|
+
## Enforcement Responsibilities
|
|
36
|
+
|
|
37
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
38
|
+
|
|
39
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.
|
|
40
|
+
|
|
41
|
+
## Scope
|
|
42
|
+
|
|
43
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
44
|
+
|
|
45
|
+
## Contact
|
|
46
|
+
|
|
47
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at `roaringmoon07@gmail.com`. All complaints will be reviewed and investigated promptly and fairly.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Aryan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
### AI-Generated Output & Asset Disclaimer
|
|
26
|
+
|
|
27
|
+
For clarity regarding the use of this orchestration framework:
|
|
28
|
+
1. **Framework Ownership**: The `@istmx/skills` framework (the scripts, prompts, and CLI tools provided in this repository) is licensed under the MIT License above.
|
|
29
|
+
2. **Output Ownership**: Any application code, UI design, markdown files, architecture specifications, or text generated by an AI model (e.g., Claude, OpenAI, Gemini) as a result of using this framework is **entirely owned by the user**. We claim absolutely no ownership, copyright, or licensing restrictions over the software you build using these skills.
|
|
30
|
+
3. **Liability**: The maintainers of this repository are not liable for the code generated by the AI models, nor for any hallucinations, vulnerabilities, or bugs introduced by the execution of these orchestrators. Always review AI-generated code before deploying to production.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<h1>@istmx/skills</h1>
|
|
3
|
-
<p><b>The Elite AI Orchestration Engine for
|
|
3
|
+
<p><b>The Elite AI Orchestration Engine optimized for Claude Code</b></p>
|
|
4
4
|
<a href="https://istmskills.vercel.app">Website</a> ⢠<a href="https://istmskills.vercel.app/docs">Documentation</a> ⢠<a href="https://github.com/istmX/skills">GitHub</a>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Most AI coding assistants fail at scale. They lose context, hallucinate architectures, generate generic "AI slop," and completely ignore your design system.
|
|
10
10
|
|
|
11
|
-
`@istmx/skills` is a revolutionary **Agentic Orchestration Framework
|
|
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.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -20,38 +20,57 @@ Initialize the framework in your project root:
|
|
|
20
20
|
npx @istmx/skills init
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
The CLI automatically detects your
|
|
23
|
+
The CLI automatically detects your environmentāoptimizing primarily for Claude Code (while fully supporting Cursor, Windsurf, and Gemini)āand instantly upgrades your AI's reasoning capabilities by injecting the master orchestrators.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## š The Dual-Mode Paradigm (v2.0)
|
|
28
|
+
|
|
29
|
+
With the latest updates, our core orchestrators now feature **Dual-Mode Execution** and an interactive **Discovery Gate**.
|
|
30
|
+
|
|
31
|
+
- **Context Phase (Day Zero)**: The AI acts as an Architect. It pauses to ask you clarifying questions (Discovery Gate), reverse-engineers screenshots or URLs, and generates exact design and motion blueprints (`design.md`, `animate.md`).
|
|
32
|
+
- **Execution Phase (Day-to-Day)**: The AI acts as an Executor. It bypasses blueprints, asks how you want to preview the work, and physically writes the execution code instantly.
|
|
24
33
|
|
|
25
34
|
---
|
|
26
35
|
|
|
27
36
|
## š§ The Orchestrators (God Mode)
|
|
28
37
|
|
|
29
|
-
These master brains structure your entire application.
|
|
38
|
+
These master brains structure your entire application. They are **100% Stack Agnostic**āwhether you are building for the web, mobile, or desktop, they adapt to your architecture.
|
|
30
39
|
|
|
31
40
|
| Orchestrator | Domain | Description |
|
|
32
41
|
|---|---|---|
|
|
33
42
|
| **`/istm`** | Universal | The apex NLP router. Analyzes your prompt and dynamically routes execution to the best skill in the ecosystem. |
|
|
34
|
-
| **`/istm-architecture`** | Full-Stack | The master Day-Zero planner. Establishes the "4 Pillars of Truth"
|
|
35
|
-
| **`/istm-
|
|
36
|
-
| **`/istm-
|
|
37
|
-
| **`/istm-
|
|
38
|
-
| **`/istm-
|
|
43
|
+
| **`/istm-architecture`** | Full-Stack | The master Day-Zero planner. Establishes the "4 Pillars of Truth". Enforces **Just-In-Time Scaffolding**, respects your project's chosen framework conventions, and strictly mandates Public vs Private component boundaries. |
|
|
44
|
+
| **`/istm-design`** | Visual Engine | The ultimate UI token generator. Uses a **3-Phase Engine** (Structure, Analyze, Generate) to reverse-engineer design systems from URLs or screenshots into precise JSON profiles. Enforces elite typography and bans AI slop. |
|
|
45
|
+
| **`/istm-animate`** | Motion Engine | Powered by the **Cast Pipeline**. Identifies opportunities and injects precise design-engineering physics into your components. Integrates world-class design-engineering principles. |
|
|
46
|
+
| **`/istm-awwward-designer`** | Premium UI | Powered by the **Paint Pipeline**. Builds Awwwards-winning frontend universes from scratch. Generates a `MASTER.md` and implements complex motion with ruthless post-implementation audits. |
|
|
47
|
+
| **`/istm-system-design`** | Backend | The infrastructure architect. Owns database schemas, API routing, and backend stack configuration, entirely independent of any specific language or ORM. |
|
|
39
48
|
|
|
40
49
|
---
|
|
41
50
|
|
|
42
|
-
## š ļø The Workflows (Day-to-Day)
|
|
51
|
+
## š ļø The Enterprise Workflows (Day-to-Day)
|
|
43
52
|
|
|
44
|
-
Stop chatting blindly with your AI. Use these deterministic commands to execute precise actions:
|
|
53
|
+
Stop chatting blindly with your AI. Use these deterministic commands to execute precise, safe, and heavily-guarded actions:
|
|
45
54
|
|
|
46
|
-
- **`/istm-scope
|
|
47
|
-
- **`/istm-craft
|
|
48
|
-
- **`/istm-develop
|
|
49
|
-
-
|
|
50
|
-
-
|
|
55
|
+
- **`/istm-scope` (The Milestone Planner)**: Manages the lifecycle of your features (`planned` ā `in-progress` ā `done`). Crucially, it assigns a **Workflow Tier** (`Vibe`, `Lean`, `Medium`, or `Full`) to dictate exactly how much rigorous testing and review each feature requires before shipping.
|
|
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.
|
|
51
62
|
- **`/istm-audit`**: Scans the codebase for tech debt, architectural drift, and unused code.
|
|
52
63
|
- **`/istm-debug`**: Hunts down root causes, fixes code, and writes regression tests.
|
|
53
|
-
- **`/istm-
|
|
54
|
-
|
|
64
|
+
- **`/istm-sync`**: Reconciles scope and completely re-hydrates the durable knowledge base after shipping a feature to save AI token limits.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## š± Omni-Channel Support
|
|
69
|
+
|
|
70
|
+
`@istmx/skills` goes far beyond the standard Web stack. Our `istm-animate` and `istm-awwward-designer` orchestrators automatically detect your environment and execute flawless motion and design principles across:
|
|
71
|
+
- **Web**: Advanced DOM motion, WebGL, Canvas, and CSS architectures.
|
|
72
|
+
- **Apple**: Native SwiftUI (iOS + macOS) and Metal Shaders.
|
|
73
|
+
- **Android**: Native Jetpack Compose, Compose Multiplatform, and AGSL Shaders.
|
|
55
74
|
|
|
56
75
|
---
|
|
57
76
|
|
|
@@ -64,15 +83,22 @@ Before generating a single line of code, every agent is forced to read `.istm-co
|
|
|
64
83
|
|
|
65
84
|
---
|
|
66
85
|
|
|
67
|
-
## š¤ Open Source
|
|
86
|
+
## š¤ Contributing & Open Source
|
|
87
|
+
|
|
88
|
+
We are fully open-sourcing the ultimate AI orchestration framework to end the era of generic AI code scaffolding. If you're tired of AI building the same boring CRUD apps and want to help us push the boundaries of Agentic UI, we'd love your help!
|
|
89
|
+
|
|
90
|
+
### How you can help:
|
|
91
|
+
- āļø **Star this repo** to help others find it and support the movement.
|
|
92
|
+
- š **Report Bugs** by opening an issue.
|
|
93
|
+
- š» **Submit PRs** to improve the skills, add new frameworks, or fix typos.
|
|
68
94
|
|
|
69
|
-
|
|
95
|
+
Please read our [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) before contributing.
|
|
70
96
|
|
|
71
97
|
**Author:** Aryan
|
|
72
|
-
**License:** MIT
|
|
98
|
+
**License:** [MIT License](LICENSE)
|
|
73
99
|
|
|
74
100
|
---
|
|
75
101
|
<!-- SEO Metadata & Discovery Tags (DO NOT REMOVE) -->
|
|
76
102
|
<!--
|
|
77
|
-
Keywords: AI coding agents, Open source AI coding agents, AI agent framework for software development, LLM-based coding assistant tutorial,
|
|
103
|
+
Keywords: Claude Code skills, Claude Code agent configuration, Claude Code vs Cursor, AI coding agents, Open source AI coding agents, AI agent framework for software development, LLM-based coding assistant tutorial, AI coding agent performance benchmarks, Cloud-based software development tools, DevOps automation tools, API documentation generator, SaaS development framework, UI/UX design systems, Design system architecture, Atomic design methodology 2026, Developer tools, DX, Deterministic Execution, Orchestration Engine, RAG, Knowledge base, Best AI agent for GitHub projects, istm ai templates, istmx ai templates, istm ui components, istm skills ai framework, istmx vs istm, istm agent templates, istm developer tools, istm coding assistant, .cursorrules alternative, cursor rules directory, AGENTS.md standard, claude code agents.md, aider coding agent, roo code context, cline mcp server, best ai agent configuration, model context protocol, awwwards level ui generator, motion physics ai rules, database schema ai architect, ai code review agent, agentic debugging workflow, ai pr generator, agentic skills frontend, istm-awwward-designer, design dna, emil kowalski animations, jetpack compose ai, swiftui ai agent, anthropic claude code plugins, claude code workflows
|
|
78
104
|
-->
|
package/bin/cli.js
CHANGED
|
@@ -11,13 +11,11 @@ const __dirname = path.dirname(__filename);
|
|
|
11
11
|
const SKILLS_ROOT = path.join(__dirname, '..');
|
|
12
12
|
|
|
13
13
|
const DEPENDENCY_MAP = {
|
|
14
|
-
'istm': ['istm-architecture', 'istm-awwward-designer', 'istm-
|
|
14
|
+
'istm': ['istm-architecture', 'istm-awwward-designer', 'istm-design', 'istm-system-design', 'istm-animate'],
|
|
15
15
|
'istm-architecture': ['istm-design', 'istm-system-design'],
|
|
16
16
|
'istm-awwward-designer': ['istm-design', 'istm-animate'],
|
|
17
|
-
'istm-animate': ['istm-design'],
|
|
18
17
|
'istm-system-design': [],
|
|
19
|
-
'istm-design': []
|
|
20
|
-
'workflow-only': []
|
|
18
|
+
'istm-design': []
|
|
21
19
|
};
|
|
22
20
|
|
|
23
21
|
async function main() {
|
|
@@ -51,101 +49,106 @@ async function main() {
|
|
|
51
49
|
|
|
52
50
|
const harnessChoices = [];
|
|
53
51
|
if (autoDetectedHarness) {
|
|
54
|
-
harnessChoices.push({ title: `Auto-Detect (${autoDetectedHarness})`, value:
|
|
52
|
+
harnessChoices.push({ title: `Auto-Detect (${autoDetectedHarness})`, value: autoDetectedHarness });
|
|
55
53
|
}
|
|
56
54
|
harnessChoices.push(
|
|
57
|
-
{ title: '
|
|
58
|
-
{ title: '
|
|
59
|
-
{ title: '
|
|
60
|
-
{ title: '
|
|
61
|
-
{ title: '
|
|
62
|
-
{ title: 'Roo Code / Cline'
|
|
63
|
-
{ title: 'GitHub Copilot'
|
|
64
|
-
{ title: '
|
|
65
|
-
{ title: 'Other AI Agents', description: 'AGENTS.md', value: 'AGENTS.md' }
|
|
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' }
|
|
66
63
|
);
|
|
67
64
|
|
|
68
65
|
const response = await prompts([
|
|
69
66
|
{
|
|
70
|
-
type: '
|
|
71
|
-
name: '
|
|
72
|
-
message: 'Which AI Agent
|
|
73
|
-
|
|
67
|
+
type: 'multiselect',
|
|
68
|
+
name: 'targetHarnesses',
|
|
69
|
+
message: 'Which AI Agent Harnesses are you targeting? (Space to select)',
|
|
70
|
+
instructions: false,
|
|
71
|
+
choices: harnessChoices,
|
|
72
|
+
min: 1
|
|
74
73
|
},
|
|
75
74
|
{
|
|
76
|
-
type: '
|
|
77
|
-
name: '
|
|
78
|
-
message: 'Which Core Architecture
|
|
75
|
+
type: 'multiselect',
|
|
76
|
+
name: 'domainSkills',
|
|
77
|
+
message: 'Which Core Architecture Skills do you want to initialize? (Space to select)',
|
|
78
|
+
instructions: false,
|
|
79
79
|
choices: [
|
|
80
|
-
{ title: '
|
|
81
|
-
{ title: '
|
|
82
|
-
{ title: '
|
|
83
|
-
{ title: '
|
|
84
|
-
{ title: '
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
]
|
|
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
|
|
88
87
|
}
|
|
89
88
|
]);
|
|
90
89
|
|
|
91
|
-
if (!response.
|
|
90
|
+
if (!response.targetHarnesses || !response.domainSkills) {
|
|
92
91
|
console.log(chalk.red('\nInstallation cancelled by user.'));
|
|
93
92
|
process.exit(1);
|
|
94
93
|
}
|
|
95
94
|
|
|
95
|
+
/** Deduplicate selected harnesses in case they selected Auto-Detect and the explicit one */
|
|
96
|
+
const harnessesToInstall = [...new Set(response.targetHarnesses)];
|
|
97
|
+
|
|
96
98
|
console.log(chalk.cyan('\nā Installing blueprints...'));
|
|
97
99
|
|
|
98
100
|
const targetDir = cwd;
|
|
99
101
|
const contextDir = path.join(targetDir, '.istm-context');
|
|
100
102
|
|
|
101
|
-
const allHarnesses = [
|
|
102
|
-
'.cursorrules',
|
|
103
|
-
'.windsurfrules',
|
|
104
|
-
'CLAUDE.md',
|
|
105
|
-
'GEMINI.md',
|
|
106
|
-
'.clinerules',
|
|
107
|
-
'.github/copilot-instructions.md',
|
|
108
|
-
'AGENTS.md'
|
|
109
|
-
];
|
|
110
|
-
|
|
111
|
-
const harnessesToInstall = response.targetHarness === 'all'
|
|
112
|
-
? allHarnesses
|
|
113
|
-
: [response.targetHarness === 'auto' ? autoDetectedHarness : response.targetHarness];
|
|
114
|
-
|
|
115
103
|
/**
|
|
116
104
|
* ==========================================
|
|
117
105
|
* STEP 1: Global Context Scaffolding
|
|
118
106
|
* ==========================================
|
|
119
107
|
* This step initializes the shared `.istm-context` directory.
|
|
120
|
-
* It is only performed once, regardless of how many harnesses are targeted.
|
|
121
108
|
*/
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
const deps = DEPENDENCY_MAP[response.coreSkill] || [];
|
|
134
|
-
|
|
135
|
-
for (const dep of deps) {
|
|
136
|
-
try { await fs.cp(path.join(SKILLS_ROOT, dep), path.join(contextDir, dep), { recursive: true }); } catch(e) {}
|
|
109
|
+
console.log(chalk.green(`ā Scaffolding .istm-context/`));
|
|
110
|
+
|
|
111
|
+
try { await fs.mkdir(contextDir, { recursive: true }); } catch (err) {}
|
|
112
|
+
|
|
113
|
+
/** Always create the agents.md root file if it doesn't exist */
|
|
114
|
+
const agentsMdPath = path.join(contextDir, 'agents.md');
|
|
115
|
+
try {
|
|
116
|
+
await fs.access(agentsMdPath);
|
|
117
|
+
} catch (err) {
|
|
118
|
+
try { await fs.writeFile(agentsMdPath, `# @istmx/skills Runtime Memory\n\nThis file will be hydrated by the master orchestrator.`); } catch (err) {
|
|
119
|
+
console.log(chalk.red(` - Failed to write agents.md: ${err.message}`));
|
|
137
120
|
}
|
|
138
|
-
|
|
139
|
-
} else {
|
|
140
|
-
console.log(chalk.dim(`ā Skipping Core Orchestrator context (Workflow tools only).`));
|
|
141
121
|
}
|
|
142
|
-
|
|
122
|
+
|
|
123
|
+
/** Copy the selected domain skills context templates */
|
|
124
|
+
const allDeps = new Set();
|
|
125
|
+
for (const skill of response.domainSkills) {
|
|
126
|
+
/** istm has no context template */
|
|
127
|
+
if (skill === 'istm') continue;
|
|
128
|
+
try {
|
|
129
|
+
await fs.cp(path.join(SKILLS_ROOT, skill), path.join(contextDir, skill), { recursive: true });
|
|
130
|
+
console.log(chalk.dim(` - Scaffolded ${skill} in .istm-context`));
|
|
131
|
+
} catch(e) {
|
|
132
|
+
console.log(chalk.red(` - Failed to scaffold ${skill} in .istm-context: ${e.message}`));
|
|
133
|
+
}
|
|
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
|
+
}
|
|
147
|
+
|
|
143
148
|
/**
|
|
144
149
|
* ==========================================
|
|
145
150
|
* STEP 2: Harness Injection Loop
|
|
146
151
|
* ==========================================
|
|
147
|
-
* Iterates through every requested AI harness (Cursor, Gemini, etc.)
|
|
148
|
-
* and injects both the root orchestrator rules and autocomplete workflows.
|
|
149
152
|
*/
|
|
150
153
|
for (const harness of harnessesToInstall) {
|
|
151
154
|
console.log(chalk.cyan(`\nā Configuring ${chalk.bold(harness)}...`));
|
|
@@ -155,85 +158,93 @@ async function main() {
|
|
|
155
158
|
if (harness === 'GEMINI.md') workflowTarget = path.join(targetDir, '.gemini', 'skills');
|
|
156
159
|
if (harness === '.windsurfrules') workflowTarget = path.join(targetDir, '.windsurf', 'rules');
|
|
157
160
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
await fs.
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
try { await fs.mkdir(workflowTarget, { recursive: true }); } catch (err) {}
|
|
162
|
+
|
|
163
|
+
/** 1. Append the pointer to the root harness file without overwriting */
|
|
164
|
+
const harnessPath = path.join(targetDir, harness);
|
|
165
|
+
const pointerLine = `\n\n# @istmx/skills Context\n@.istm-context/agents.md\n`;
|
|
166
|
+
try {
|
|
167
|
+
/** Create directory for github copilot if needed */
|
|
168
|
+
if (harness.includes('/')) {
|
|
169
|
+
await fs.mkdir(path.dirname(harnessPath), { recursive: true });
|
|
170
|
+
}
|
|
171
|
+
let currentContent = '';
|
|
172
|
+
try { currentContent = await fs.readFile(harnessPath, 'utf8'); } catch (e) {}
|
|
173
|
+
|
|
174
|
+
if (!currentContent.includes('.istm-context/agents.md')) {
|
|
175
|
+
await fs.appendFile(harnessPath, currentContent ? pointerLine : `# AI Harness\n${pointerLine}`);
|
|
176
|
+
console.log(chalk.dim(` - Appended .istm-context pointer to ${harness}`));
|
|
177
|
+
} else {
|
|
178
|
+
console.log(chalk.dim(` - Pointer already exists in ${harness}`));
|
|
179
|
+
}
|
|
180
|
+
} catch (err) {}
|
|
169
181
|
|
|
170
|
-
|
|
182
|
+
/** 2. Inject the Universal NLP Router (/istm) IF selected */
|
|
183
|
+
if (response.domainSkills.includes('istm')) {
|
|
171
184
|
const routerPath = path.join(SKILLS_ROOT, 'istm', 'SKILL.md');
|
|
172
185
|
try {
|
|
173
|
-
await fs.mkdir(workflowTarget, { recursive: true });
|
|
174
186
|
if (harness === '.cursorrules') {
|
|
175
187
|
await fs.copyFile(routerPath, path.join(workflowTarget, 'istm.mdc'));
|
|
176
188
|
} else {
|
|
177
189
|
await fs.cp(path.join(SKILLS_ROOT, 'istm'), path.join(workflowTarget, 'istm'), { recursive: true });
|
|
178
190
|
}
|
|
179
|
-
|
|
191
|
+
console.log(chalk.dim(` - Injected Master Orchestrator (/istm)`));
|
|
192
|
+
} catch (err) {
|
|
193
|
+
console.log(chalk.red(` - Failed to inject Master Orchestrator: ${err.message}`));
|
|
194
|
+
}
|
|
180
195
|
}
|
|
181
196
|
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
} else {
|
|
197
|
-
await fs.cp(path.join(SKILLS_ROOT, dep), path.join(workflowTarget, dep), { recursive: true });
|
|
198
|
-
}
|
|
199
|
-
injectedDeps = true;
|
|
200
|
-
} catch (err) {}
|
|
197
|
+
/** 3. Inject selected domain skills into autocomplete */
|
|
198
|
+
const skillsToInject = new Set([...response.domainSkills, ...allDeps]);
|
|
199
|
+
for (const skill of skillsToInject) {
|
|
200
|
+
/** already injected */
|
|
201
|
+
if (skill === 'istm') continue;
|
|
202
|
+
try {
|
|
203
|
+
if (harness === '.cursorrules') {
|
|
204
|
+
await fs.copyFile(path.join(SKILLS_ROOT, skill, 'SKILL.md'), path.join(workflowTarget, `${skill}.mdc`));
|
|
205
|
+
} else {
|
|
206
|
+
await fs.cp(path.join(SKILLS_ROOT, skill), path.join(workflowTarget, skill), { recursive: true });
|
|
207
|
+
}
|
|
208
|
+
console.log(chalk.dim(` - Injected ${skill}`));
|
|
209
|
+
} catch (err) {
|
|
210
|
+
console.log(chalk.red(` - Failed to inject ${skill}: ${err.message}`));
|
|
201
211
|
}
|
|
202
|
-
|
|
203
|
-
if (injectedDeps) console.log(chalk.dim(` - Injected dependencies into autocomplete rules`));
|
|
204
212
|
}
|
|
205
213
|
|
|
206
|
-
/**
|
|
207
|
-
* Inject Workflow Tools
|
|
208
|
-
* Installs day-to-day tools (`/istm-craft`, `/istm-debug`, etc.) into the slash menu.
|
|
209
|
-
*/
|
|
214
|
+
/** 4. ALWAYS Inject Workflow Tools (/istm-craft, /istm-develop, etc.) */
|
|
210
215
|
const workflowSource = path.join(SKILLS_ROOT, 'istm-workflow');
|
|
211
|
-
|
|
212
216
|
try {
|
|
213
|
-
await fs.mkdir(workflowTarget, { recursive: true });
|
|
214
217
|
const dirs = await fs.readdir(workflowSource, { withFileTypes: true });
|
|
215
|
-
|
|
216
218
|
for (const dirent of dirs) {
|
|
217
219
|
if (dirent.isDirectory()) {
|
|
218
220
|
const sourceDir = path.join(workflowSource, dirent.name);
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
try {
|
|
222
|
+
if (harness === '.cursorrules') {
|
|
223
|
+
await fs.copyFile(path.join(sourceDir, 'SKILL.md'), path.join(workflowTarget, `${dirent.name}.mdc`));
|
|
224
|
+
} else {
|
|
225
|
+
await fs.cp(sourceDir, path.join(workflowTarget, dirent.name), { recursive: true });
|
|
226
|
+
}
|
|
227
|
+
console.log(chalk.dim(` - Injected ${dirent.name}`));
|
|
228
|
+
} catch (e) {
|
|
229
|
+
console.log(chalk.red(` - Failed to inject ${dirent.name}: ${e.message}`));
|
|
223
230
|
}
|
|
224
231
|
}
|
|
225
232
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
} catch (err) {}
|
|
233
|
+
} catch (err) {
|
|
234
|
+
console.log(chalk.red(` - Failed to inject workflow tools: ${err.message}`));
|
|
235
|
+
}
|
|
230
236
|
}
|
|
231
237
|
|
|
232
238
|
console.log(chalk.bold.magenta('\n⨠Initialization Complete!'));
|
|
233
|
-
console.log(`Your AI is now operating under the ${chalk.bold('istmX')} Architecture
|
|
239
|
+
console.log(`Your AI is now operating under the ${chalk.bold('istmX')} Architecture.`);
|
|
234
240
|
|
|
235
|
-
|
|
236
|
-
|
|
241
|
+
if (response.domainSkills.includes('istm')) {
|
|
242
|
+
console.log('\n' + chalk.bold('You are now in God Mode. Try your first prompt:'));
|
|
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
|
+
}
|
|
237
248
|
|
|
238
249
|
console.log(chalk.bold('š” PRO TIP:') + ' You also just unlocked the istm-workflow skillset!');
|
|
239
250
|
console.log('Whenever you are stuck, use these commands instead of chatting:');
|