100xprism 2.3.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/LICENSE +21 -0
- package/README.md +196 -0
- package/VERSION +1 -0
- package/adapters/antigravity.sh +14 -0
- package/adapters/claude-code.sh +160 -0
- package/adapters/codex.sh +13 -0
- package/adapters/copilot.sh +13 -0
- package/adapters/cursor.sh +13 -0
- package/adapters/gemini.sh +13 -0
- package/adapters/lib/__pycache__/modules.cpython-312.pyc +0 -0
- package/adapters/lib/modules.py +592 -0
- package/adapters/lib/shared.sh +83 -0
- package/adapters/lib/sync_plugins.py +113 -0
- package/adapters/windsurf.sh +15 -0
- package/bin/100xprism.js +29 -0
- package/get.sh +24 -0
- package/install-project.sh +82 -0
- package/install.sh +281 -0
- package/lib/adapters/windows.js +429 -0
- package/lib/bootstrap.js +33 -0
- package/lib/init.js +19 -0
- package/lib/install.js +18 -0
- package/lib/migrate.js +52 -0
- package/lib/platform.js +22 -0
- package/lib/update.js +29 -0
- package/modules/_lib/reference.md +77 -0
- package/modules/a11y-auditor/SKILL.md +151 -0
- package/modules/ab-test-setup/SKILL.md +266 -0
- package/modules/ab-test-setup/evals/evals.json +105 -0
- package/modules/ab-test-setup/references/sample-size-guide.md +263 -0
- package/modules/ab-test-setup/references/test-templates.md +277 -0
- package/modules/ad-creative/SKILL.md +362 -0
- package/modules/ad-creative/evals/evals.json +90 -0
- package/modules/ad-creative/references/generative-tools.md +637 -0
- package/modules/ad-creative/references/platform-specs.md +213 -0
- package/modules/ai-seo/SKILL.md +398 -0
- package/modules/ai-seo/evals/evals.json +90 -0
- package/modules/ai-seo/references/content-patterns.md +285 -0
- package/modules/ai-seo/references/platform-ranking-factors.md +152 -0
- package/modules/analytics-tracking/SKILL.md +309 -0
- package/modules/analytics-tracking/evals/evals.json +90 -0
- package/modules/analytics-tracking/references/event-library.md +260 -0
- package/modules/analytics-tracking/references/ga4-implementation.md +300 -0
- package/modules/analytics-tracking/references/gtm-implementation.md +390 -0
- package/modules/architect/SKILL.md +282 -0
- package/modules/branch/SKILL.md +105 -0
- package/modules/churn-prevention/SKILL.md +424 -0
- package/modules/churn-prevention/evals/evals.json +93 -0
- package/modules/churn-prevention/references/cancel-flow-patterns.md +316 -0
- package/modules/churn-prevention/references/dunning-playbook.md +408 -0
- package/modules/cloud-security/SKILL.md +240 -0
- package/modules/cold-email/SKILL.md +178 -0
- package/modules/cold-email/evals/evals.json +94 -0
- package/modules/cold-email/references/benchmarks.md +83 -0
- package/modules/cold-email/references/follow-up-sequences.md +81 -0
- package/modules/cold-email/references/frameworks.md +90 -0
- package/modules/cold-email/references/personalization.md +79 -0
- package/modules/cold-email/references/subject-lines.md +53 -0
- package/modules/commit/SKILL.md +195 -0
- package/modules/competitor-alternatives/SKILL.md +256 -0
- package/modules/competitor-alternatives/evals/evals.json +93 -0
- package/modules/competitor-alternatives/references/content-architecture.md +271 -0
- package/modules/competitor-alternatives/references/templates.md +223 -0
- package/modules/connect/SKILL.md +894 -0
- package/modules/content-strategy/SKILL.md +359 -0
- package/modules/content-strategy/evals/evals.json +90 -0
- package/modules/context-dump/SKILL.md +67 -0
- package/modules/copy-editing/SKILL.md +447 -0
- package/modules/copy-editing/evals/evals.json +89 -0
- package/modules/copy-editing/references/plain-english-alternatives.md +394 -0
- package/modules/copywriting/SKILL.md +271 -0
- package/modules/copywriting/evals/evals.json +111 -0
- package/modules/copywriting/references/cold-email-benchmarks.md +83 -0
- package/modules/copywriting/references/cold-email-follow-ups.md +81 -0
- package/modules/copywriting/references/cold-email-frameworks.md +90 -0
- package/modules/copywriting/references/cold-email-personalization.md +79 -0
- package/modules/copywriting/references/cold-email-subject-lines.md +53 -0
- package/modules/copywriting/references/copy-frameworks.md +344 -0
- package/modules/copywriting/references/email-copy-guidelines.md +113 -0
- package/modules/copywriting/references/email-types.md +515 -0
- package/modules/copywriting/references/natural-transitions.md +272 -0
- package/modules/copywriting/references/sequence-templates.md +168 -0
- package/modules/data-query/SKILL.md +58 -0
- package/modules/data-viz/SKILL.md +225 -0
- package/modules/db/SKILL.md +205 -0
- package/modules/db/db-engines/_router.md +24 -0
- package/modules/db/db-engines/athena.md +16 -0
- package/modules/db/db-engines/cloud-sql.md +16 -0
- package/modules/db/db-engines/databricks.md +14 -0
- package/modules/db/db-engines/oracle.md +14 -0
- package/modules/db/db-engines/postgres.md +15 -0
- package/modules/db/db-engines/presto.md +14 -0
- package/modules/db/db-engines/snowflake.md +14 -0
- package/modules/docs/SKILL.md +100 -0
- package/modules/email-sequence/SKILL.md +309 -0
- package/modules/email-sequence/evals/evals.json +93 -0
- package/modules/email-sequence/references/copy-guidelines.md +113 -0
- package/modules/email-sequence/references/email-types.md +515 -0
- package/modules/email-sequence/references/sequence-templates.md +168 -0
- package/modules/enterprise-design/SKILL.md +75 -0
- package/modules/eval/SKILL.md +105 -0
- package/modules/figma-translator/SKILL.md +49 -0
- package/modules/fix-bugs/SKILL.md +104 -0
- package/modules/form-cro/SKILL.md +429 -0
- package/modules/form-cro/evals/evals.json +90 -0
- package/modules/free-tool-strategy/SKILL.md +178 -0
- package/modules/free-tool-strategy/evals/evals.json +90 -0
- package/modules/free-tool-strategy/references/tool-types.md +217 -0
- package/modules/gate/SKILL.md +232 -0
- package/modules/grill-me/SKILL.md +59 -0
- package/modules/interaction-engineer/SKILL.md +49 -0
- package/modules/issue/SKILL.md +272 -0
- package/modules/launch/SKILL.md +345 -0
- package/modules/launch-strategy/SKILL.md +353 -0
- package/modules/launch-strategy/evals/evals.json +91 -0
- package/modules/lint/SKILL.md +126 -0
- package/modules/marketing-ideas/SKILL.md +167 -0
- package/modules/marketing-ideas/evals/evals.json +90 -0
- package/modules/marketing-ideas/references/ideas-by-category.md +366 -0
- package/modules/marketing-psychology/SKILL.md +455 -0
- package/modules/marketing-psychology/evals/evals.json +88 -0
- package/modules/motion-designer/SKILL.md +214 -0
- package/modules/onboarding-cro/SKILL.md +220 -0
- package/modules/onboarding-cro/evals/evals.json +92 -0
- package/modules/onboarding-cro/references/experiments.md +258 -0
- package/modules/orchestrate/SKILL.md +77 -0
- package/modules/page-cro/SKILL.md +182 -0
- package/modules/page-cro/evals/evals.json +111 -0
- package/modules/page-cro/references/experiments.md +248 -0
- package/modules/page-cro/references/paywall-experiments.md +164 -0
- package/modules/paid-ads/SKILL.md +315 -0
- package/modules/paid-ads/evals/evals.json +90 -0
- package/modules/paid-ads/references/ad-copy-templates.md +207 -0
- package/modules/paid-ads/references/audience-targeting.md +243 -0
- package/modules/paid-ads/references/platform-setup-checklists.md +277 -0
- package/modules/paywall-upgrade-cro/SKILL.md +227 -0
- package/modules/paywall-upgrade-cro/evals/evals.json +93 -0
- package/modules/paywall-upgrade-cro/references/experiments.md +164 -0
- package/modules/popup-cro/SKILL.md +453 -0
- package/modules/popup-cro/evals/evals.json +94 -0
- package/modules/pr/SKILL.md +203 -0
- package/modules/pricing-strategy/SKILL.md +231 -0
- package/modules/pricing-strategy/evals/evals.json +90 -0
- package/modules/pricing-strategy/references/research-methods.md +152 -0
- package/modules/pricing-strategy/references/tier-structure.md +232 -0
- package/modules/product-marketing-context/SKILL.md +241 -0
- package/modules/product-marketing-context/evals/evals.json +85 -0
- package/modules/programmatic-seo/SKILL.md +238 -0
- package/modules/programmatic-seo/evals/evals.json +94 -0
- package/modules/programmatic-seo/references/playbooks.md +308 -0
- package/modules/push/SKILL.md +202 -0
- package/modules/referral-program/SKILL.md +255 -0
- package/modules/referral-program/evals/evals.json +89 -0
- package/modules/referral-program/references/affiliate-programs.md +164 -0
- package/modules/referral-program/references/program-examples.md +143 -0
- package/modules/release/SKILL.md +293 -0
- package/modules/revops/SKILL.md +343 -0
- package/modules/revops/evals/evals.json +91 -0
- package/modules/revops/references/automation-playbooks.md +290 -0
- package/modules/revops/references/lifecycle-definitions.md +278 -0
- package/modules/revops/references/routing-rules.md +203 -0
- package/modules/revops/references/scoring-models.md +247 -0
- package/modules/sales-enablement/SKILL.md +349 -0
- package/modules/sales-enablement/evals/evals.json +91 -0
- package/modules/sales-enablement/references/deck-frameworks.md +263 -0
- package/modules/sales-enablement/references/demo-scripts.md +355 -0
- package/modules/sales-enablement/references/objection-library.md +270 -0
- package/modules/sales-enablement/references/one-pager-templates.md +208 -0
- package/modules/schema-markup/SKILL.md +179 -0
- package/modules/schema-markup/evals/evals.json +87 -0
- package/modules/schema-markup/references/schema-examples.md +398 -0
- package/modules/security/SKILL.md +138 -0
- package/modules/seo-audit/SKILL.md +412 -0
- package/modules/seo-audit/evals/evals.json +136 -0
- package/modules/seo-audit/references/ai-writing-detection.md +200 -0
- package/modules/seo-audit/references/content-patterns.md +285 -0
- package/modules/seo-audit/references/platform-ranking-factors.md +152 -0
- package/modules/signup-flow-cro/SKILL.md +359 -0
- package/modules/signup-flow-cro/evals/evals.json +88 -0
- package/modules/site-architecture/SKILL.md +357 -0
- package/modules/site-architecture/evals/evals.json +88 -0
- package/modules/site-architecture/references/mermaid-templates.md +216 -0
- package/modules/site-architecture/references/navigation-patterns.md +305 -0
- package/modules/site-architecture/references/site-type-templates.md +293 -0
- package/modules/social-content/SKILL.md +278 -0
- package/modules/social-content/evals/evals.json +92 -0
- package/modules/social-content/references/platforms.md +170 -0
- package/modules/social-content/references/post-templates.md +177 -0
- package/modules/social-content/references/reverse-engineering.md +195 -0
- package/modules/spec/SKILL.md +81 -0
- package/modules/subagents/SKILL.md +123 -0
- package/modules/techdebt/SKILL.md +71 -0
- package/modules/terminal-setup/SKILL.md +49 -0
- package/modules/test/SKILL.md +493 -0
- package/modules/test/references/e2e-patterns.md +294 -0
- package/modules/update-claude-md/SKILL.md +52 -0
- package/modules/visual-system-architect/SKILL.md +53 -0
- package/package.json +44 -0
- package/plugins/plugins.json +43 -0
- package/shell/aliases.sh +24 -0
- package/shell/check-update.sh +212 -0
- package/templates/.env.example +199 -0
- package/templates/docker-compose.md +46 -0
- package/templates/node-frontend.md +56 -0
- package/templates/node-fullstack.md +59 -0
- package/templates/python-api.md +57 -0
- package/update.sh +231 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rajit Saha
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="assets/100xprism-logo.svg" alt="100xPrism logo" width="120" />
|
|
4
|
+
|
|
5
|
+
# 100xPrism
|
|
6
|
+
|
|
7
|
+
### Stop vibe coding. Ship production-grade software.
|
|
8
|
+
|
|
9
|
+
[](https://github.com/rajitsaha/100xprism/releases/latest)
|
|
10
|
+
[](https://www.npmjs.com/package/100xprism)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
|
|
13
|
+
**One source of truth.** 66 modules generate native config for **Claude Code · Cursor · Codex · Windsurf · Copilot · Gemini · Antigravity**. Quality gates run on every commit.
|
|
14
|
+
|
|
15
|
+
<img src="assets/100xprism-hero.svg" alt="100xPrism — one config, every AI coding tool · 13 plugins, 26 slash commands, 40 auto-trigger skills" width="100%" />
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Install
|
|
22
|
+
|
|
23
|
+
**npm (any platform — macOS, Linux, Windows):**
|
|
24
|
+
```bash
|
|
25
|
+
npm install -g 100xprism && 100xprism install
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**curl (macOS / Linux):**
|
|
29
|
+
```bash
|
|
30
|
+
curl -fsSL https://raw.githubusercontent.com/rajitsaha/100xprism/main/get.sh | bash
|
|
31
|
+
source ~/.zshrc # or ~/.bashrc — activates the 100xprism command
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Either way, `100xprism install` clones the toolkit to `~/100xprism` and provisions your AI tools. The npm package is a thin launcher — the modules, hooks, and plugins live in that clone, which `100xprism update` keeps current.
|
|
35
|
+
|
|
36
|
+
> **Windows:** plugin sync works, but native Windows module emit is being reworked ([#54](https://github.com/rajitsaha/100xprism/issues/54)). For full module support today, install under **WSL** with either method above.
|
|
37
|
+
|
|
38
|
+
**Set up a project:**
|
|
39
|
+
```bash
|
|
40
|
+
cd your-project && 100xprism init
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Keep up to date:**
|
|
44
|
+
```bash
|
|
45
|
+
100xprism update # pull latest, then add/update/remove skills + plugins
|
|
46
|
+
100xprism update --plugins-only # refresh plugins only (repo already current)
|
|
47
|
+
npm install -g 100xprism@latest # (optional) upgrade the launcher itself
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
`install` and `update` are **fully reconciling**, not append-only — every run:
|
|
51
|
+
- **adds** newly shipped skills, slash commands, and curated plugins,
|
|
52
|
+
- **updates** changed ones in place, and
|
|
53
|
+
- **removes** skills, slash-command aliases, and 100xprism-managed plugins that were deleted or merged upstream.
|
|
54
|
+
|
|
55
|
+
Your own hand-authored skills/commands and any plugins you enabled yourself are never touched. See [docs/USAGE.md](docs/USAGE.md#keeping-up-to-date) for details.
|
|
56
|
+
|
|
57
|
+
> **Cloned to a custom path?** The default install lives at `~/100xprism`. If you cloned elsewhere, update your shell + Claude Code config — see [Custom install location](docs/USAGE.md#custom-install-location).
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## The pipeline
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
/understand → /context → /issue → /spec → /fix → /commit
|
|
65
|
+
↓
|
|
66
|
+
/techdebt ← /gate → /grill → /pr → /push → /release
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Every `/commit` and `/push` runs a 5-point gate — tests, security, build, Docker, cloud. Nothing ships without passing.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## What you get
|
|
74
|
+
|
|
75
|
+
| | |
|
|
76
|
+
|---|---|
|
|
77
|
+
| **66 modules** | 26 slash commands + 40 auto-trigger skills — see [full reference below](#slash-commands) |
|
|
78
|
+
| **13 Claude Code plugins** | superpowers, playwright, github, hookify, claude-mem, understand-anything, ui-ux-pro-max, and more |
|
|
79
|
+
| **7 database engines** | Postgres, Cloud SQL, Snowflake, Databricks, Athena, Presto, Oracle — one `/db` interface |
|
|
80
|
+
| **27 SaaS CLIs** | `/connect` installs + authenticates GitHub, AWS, Stripe, Supabase, and more from `.env` |
|
|
81
|
+
| **4 project templates** | node-fullstack · node-frontend · python-api · docker-compose |
|
|
82
|
+
| **CI/Release pipelines** | Drop-in GitHub Actions for lint + real-DB tests + E2E + semantic-release |
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Slash commands
|
|
87
|
+
|
|
88
|
+
The following 26 slash commands are available. Run them inside Claude Code. In Codex, use the generated repo skill by name instead, for example `$gate`, `$commit`, or `/skills`.
|
|
89
|
+
|
|
90
|
+
### Lifecycle
|
|
91
|
+
|
|
92
|
+
| Command | What it does |
|
|
93
|
+
|:--------|:-------------|
|
|
94
|
+
| `/branch` | Create a conventional feature branch (`feat/`, `fix/`, `chore/`) |
|
|
95
|
+
| `/commit` | Gate → stage → conventional commit |
|
|
96
|
+
| `/grill` | Adversarial code review before opening a PR |
|
|
97
|
+
| `/pr` | Gate → push branch → create PR |
|
|
98
|
+
| `/push` | Gate → push → monitor CI → verify production health |
|
|
99
|
+
| `/release patch\|minor\|major` | Semantic versioning + publish to PyPI/npm/Docker Hub |
|
|
100
|
+
| `/launch` | Full deploy pipeline in one command |
|
|
101
|
+
|
|
102
|
+
### Quality
|
|
103
|
+
|
|
104
|
+
| Command | What it does |
|
|
105
|
+
|:--------|:-------------|
|
|
106
|
+
| `/gate` | **Mandatory** 5-point quality gate (tests, security, build, Docker, cloud) |
|
|
107
|
+
| `/test` | All test layers (unit, integration, E2E) — loops until 95% coverage |
|
|
108
|
+
| `/lint` | Auto-detect and fix all lint errors (ESLint, TypeScript, ruff) |
|
|
109
|
+
| `/security` | Vulnerability + secrets scan, auto-fix where possible |
|
|
110
|
+
| `/cloud-security` | GCP IAM, networking, PII, and compliance scan |
|
|
111
|
+
| `/eval` | Run module evals — check triggers and output quality |
|
|
112
|
+
|
|
113
|
+
### Engineering
|
|
114
|
+
|
|
115
|
+
| Command | What it does |
|
|
116
|
+
|:--------|:-------------|
|
|
117
|
+
| `/spec` | Turn a vague request into an implementation-ready spec |
|
|
118
|
+
| `/fix` | Autonomous bug fixer — CI failures, docker logs, Slack pastes |
|
|
119
|
+
| `/orchestrate` | Plan-first methodology for complex multi-step tasks |
|
|
120
|
+
| `/techdebt` | Dead code, duplication, stale TODOs |
|
|
121
|
+
| `/context` | 7-day git + GitHub activity dump — orient before coding |
|
|
122
|
+
| `/update-claude` | Write a CLAUDE.md rule after any correction |
|
|
123
|
+
|
|
124
|
+
### Data & Infrastructure
|
|
125
|
+
|
|
126
|
+
| Command | What it does |
|
|
127
|
+
|:--------|:-------------|
|
|
128
|
+
| `/db` | Query any of 7 database engines from one interface |
|
|
129
|
+
| `/query` | Plain-English analytics — describe what you want, get SQL |
|
|
130
|
+
| `/connect` | Install + auth 27 SaaS CLIs from `.env` |
|
|
131
|
+
|
|
132
|
+
### Documentation & Architecture
|
|
133
|
+
|
|
134
|
+
| Command | What it does |
|
|
135
|
+
|:--------|:-------------|
|
|
136
|
+
| `/docs` | Detect code changes and update documentation |
|
|
137
|
+
| `/issue` | Investigate a bug and create a detailed GitHub issue |
|
|
138
|
+
| `/architect` | Architectural Q&A and decision matrices |
|
|
139
|
+
| `/enterprise-design` | Full technical blueprint — IA, API, data model, stack |
|
|
140
|
+
|
|
141
|
+
### Auto-trigger skills (39)
|
|
142
|
+
|
|
143
|
+
These modules activate automatically when you describe a relevant task — no slash command needed.
|
|
144
|
+
|
|
145
|
+
| Category | Modules |
|
|
146
|
+
|:---------|:--------|
|
|
147
|
+
| **Marketing copy** | copywriting, copy-editing, cold-email, email-sequence, ad-creative, social-content |
|
|
148
|
+
| **SEO** | seo-audit, ai-seo, programmatic-seo, schema-markup, site-architecture |
|
|
149
|
+
| **CRO & conversion** | page-cro, signup-flow-cro, onboarding-cro, form-cro, popup-cro, paywall-upgrade-cro |
|
|
150
|
+
| **Growth & strategy** | content-strategy, marketing-ideas, marketing-psychology, launch-strategy, referral-program, churn-prevention, free-tool-strategy, ab-test-setup, analytics-tracking, pricing-strategy |
|
|
151
|
+
| **Sales** | sales-enablement, competitor-alternatives, paid-ads, revops, product-marketing-context |
|
|
152
|
+
| **Design** | enterprise-design, visual-system-architect, interaction-engineer, figma-translator |
|
|
153
|
+
| **Engineering** | subagents, terminal-setup |
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## How it works in your tool
|
|
158
|
+
|
|
159
|
+
| Tool | Generated artifact | Auto-trigger? |
|
|
160
|
+
|:-----|:-------------------|:--------------|
|
|
161
|
+
| **Claude Code** | `~/.claude/skills/<slug>/` + slash command aliases | Yes — per description |
|
|
162
|
+
| **Cursor** | `.cursor/rules/<slug>.mdc` (one file per module) | Yes — per description |
|
|
163
|
+
| **Codex** | `AGENTS.md` + `.agents/skills/<slug>/` + `.codex/hooks.json` | Yes — repo skills |
|
|
164
|
+
| **Antigravity** | `ANTIGRAVITY.md` (core inlined + on-demand index) | Core only |
|
|
165
|
+
| **Windsurf** | `.windsurfrules` (size-budgeted) | Core only |
|
|
166
|
+
| **Copilot / Gemini** | `.github/copilot-instructions.md` / `GEMINI.md` | Core only |
|
|
167
|
+
|
|
168
|
+
Modules with `tier: core` (26) inline into single-file tools; `tier: on-demand` (39) appear as a compact index. In Claude Code, Cursor, and Codex, modules are also available as native skills/rules so full bodies load on demand. Claude Code plugins remain Claude-specific; use Codex `/plugins` for Codex-native plugins.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Common CI traps it fixes
|
|
173
|
+
|
|
174
|
+
`npm install` 404 inside Docker · `useState(false)` opacity-0 breaking Playwright · integration tests silently excluded from the gate. [Full breakdown →](docs/ci-traps.md)
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## More
|
|
179
|
+
|
|
180
|
+
- [Full usage guide](docs/USAGE.md) — daily patterns, multi-project setup, CI templates, project config, troubleshooting
|
|
181
|
+
- [Architecture](docs/v2-refactor.md) — why modules replaced workflows + skills
|
|
182
|
+
- [Token usage & optimization](docs/token-optimization.md) — audit your plugin/skill footprint and monitor token spend with the local dashboard
|
|
183
|
+
- [Changelog](CHANGELOG.md) · [Roadmap](ROADMAP.md) · [Issues](https://github.com/rajitsaha/100xprism/issues)
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
<div align="center">
|
|
188
|
+
|
|
189
|
+
Built by [Rajit Saha](https://www.linkedin.com/in/rajsaha/) · 20+ years in enterprise data at Udemy, Experian, LendingClub, VMware, Yahoo
|
|
190
|
+
|
|
191
|
+
[](https://www.linkedin.com/in/rajsaha/)
|
|
192
|
+
[](https://github.com/rajitsaha)
|
|
193
|
+
|
|
194
|
+
If this saves you time, **[star the repo](https://github.com/rajitsaha/100xprism)**.
|
|
195
|
+
|
|
196
|
+
</div>
|
package/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.1
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
# shellcheck disable=SC1091
|
|
5
|
+
source "$(dirname "${BASH_SOURCE[0]}")/lib/shared.sh"
|
|
6
|
+
|
|
7
|
+
install_project() {
|
|
8
|
+
_run_generate "${1:-.}" "ANTIGRAVITY.md" "Antigravity" \
|
|
9
|
+
"Note: Antigravity adapter is provisional — update when format is confirmed."
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
13
|
+
install_project "${1:-.}"
|
|
14
|
+
fi
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
5
|
+
MODULES_PY="$REPO_DIR/adapters/lib/modules.py"
|
|
6
|
+
CLAUDE_DIR="$HOME/.claude"
|
|
7
|
+
COMMANDS_DIR="$CLAUDE_DIR/commands"
|
|
8
|
+
SETTINGS_FILE="$CLAUDE_DIR/settings.json"
|
|
9
|
+
|
|
10
|
+
GREEN='\033[0;32m'
|
|
11
|
+
YELLOW='\033[1;33m'
|
|
12
|
+
CYAN='\033[0;36m'
|
|
13
|
+
NC='\033[0m'
|
|
14
|
+
|
|
15
|
+
# install_global — install all 100xprism modules into Claude Code.
|
|
16
|
+
# Each module becomes a skill at ~/.claude/skills/<slug>/SKILL.md.
|
|
17
|
+
# Modules with a slash_command also get an alias at ~/.claude/commands/<name>.md.
|
|
18
|
+
install_global() {
|
|
19
|
+
echo ""
|
|
20
|
+
echo "Installing modules for Claude Code..."
|
|
21
|
+
|
|
22
|
+
if [ -d "$COMMANDS_DIR" ] && [ "$(ls -A "$COMMANDS_DIR" 2>/dev/null)" ]; then
|
|
23
|
+
BACKUP="$CLAUDE_DIR/commands.bak.$(date +%Y%m%d_%H%M%S)"
|
|
24
|
+
cp -r "$COMMANDS_DIR" "$BACKUP"
|
|
25
|
+
echo -e " ${YELLOW}→ Backed up existing commands to $(basename "$BACKUP")${NC}"
|
|
26
|
+
fi
|
|
27
|
+
|
|
28
|
+
python3 "$MODULES_PY" emit-claude-code
|
|
29
|
+
|
|
30
|
+
echo -e " ${GREEN}→ Modules installed to ~/.claude/skills/ + slash aliases in ~/.claude/commands/ ✓${NC}"
|
|
31
|
+
echo -e " ${CYAN}→ Restart Claude Code to load new modules${NC}"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
install_project() {
|
|
35
|
+
local project_path="${1:-.}"
|
|
36
|
+
local instruction_file=""
|
|
37
|
+
|
|
38
|
+
for f in CLAUDE.md AGENTS.md .cursorrules .windsurfrules GEMINI.md; do
|
|
39
|
+
if [ -f "$project_path/$f" ]; then
|
|
40
|
+
instruction_file="$project_path/$f"
|
|
41
|
+
break
|
|
42
|
+
fi
|
|
43
|
+
done
|
|
44
|
+
if [ -f "$project_path/.github/copilot-instructions.md" ]; then
|
|
45
|
+
instruction_file="$project_path/.github/copilot-instructions.md"
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
if [ -n "$instruction_file" ]; then
|
|
49
|
+
echo -e " ${CYAN}→ Instruction file already exists: $instruction_file (skipping scaffold)${NC}"
|
|
50
|
+
return
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
local target="$project_path/CLAUDE.md"
|
|
54
|
+
local project_name
|
|
55
|
+
project_name="$(basename "$(cd "$project_path" && pwd)")"
|
|
56
|
+
|
|
57
|
+
cat > "$target" << SCAFFOLD
|
|
58
|
+
# $project_name — Project Instructions
|
|
59
|
+
|
|
60
|
+
<!-- Generated by 100xprism. Fill in the sections below so modules like /db, /gate, /launch have project context. -->
|
|
61
|
+
|
|
62
|
+
## Project
|
|
63
|
+
|
|
64
|
+
<!-- Describe what this project does in 2-3 sentences. Used by /architect and /enterprise-design. -->
|
|
65
|
+
description: TODO
|
|
66
|
+
|
|
67
|
+
## Database
|
|
68
|
+
|
|
69
|
+
<!-- Used by /db and /query. Remove if not applicable. -->
|
|
70
|
+
# engine: postgres # postgres | mysql | sqlite | snowflake | bigquery | athena | databricks | presto | oracle | cloud-sql
|
|
71
|
+
# connection: default # name of the connection block below
|
|
72
|
+
# connections:
|
|
73
|
+
# default:
|
|
74
|
+
# host: localhost
|
|
75
|
+
# port: 5432
|
|
76
|
+
# name: mydb
|
|
77
|
+
# user: myuser
|
|
78
|
+
# auth: env:DB_PASSWORD # env:VAR_NAME | secret:SECRET_NAME | prompt
|
|
79
|
+
|
|
80
|
+
## Cloud (GCP)
|
|
81
|
+
|
|
82
|
+
<!-- Used by /gate, /cloud-security, /launch. Remove if not on GCP. -->
|
|
83
|
+
# gcp_project: my-gcp-project
|
|
84
|
+
# cloud_run_service: my-service
|
|
85
|
+
# region: us-central1
|
|
86
|
+
|
|
87
|
+
## Production
|
|
88
|
+
|
|
89
|
+
<!-- Used by /launch and /push for health checks and smoke tests. -->
|
|
90
|
+
# production_url: https://example.com
|
|
91
|
+
# health_url: https://example.com/health
|
|
92
|
+
|
|
93
|
+
## Security Exceptions
|
|
94
|
+
|
|
95
|
+
<!-- Known findings to skip in /security scans. One per line. -->
|
|
96
|
+
# security_exceptions:
|
|
97
|
+
# - CVE-2023-XXXX: false positive in test dependency
|
|
98
|
+
|
|
99
|
+
## Rules
|
|
100
|
+
|
|
101
|
+
<!-- Add project-specific rules for Claude here. /update-claude appends to this section. -->
|
|
102
|
+
|
|
103
|
+
SCAFFOLD
|
|
104
|
+
|
|
105
|
+
echo -e " ${GREEN}→ Scaffolded CLAUDE.md in $project_path ✓${NC}"
|
|
106
|
+
echo -e " ${YELLOW}→ Edit $target to fill in db/cloud/production config${NC}"
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
check_bun() {
|
|
110
|
+
if ! command -v bun &>/dev/null; then
|
|
111
|
+
echo ""
|
|
112
|
+
echo -e " ${YELLOW}⚠ Bun is required by the claude-mem plugin but is not installed.${NC}"
|
|
113
|
+
echo ""
|
|
114
|
+
read -rp " Install Bun now? (recommended) [Y/n]: " install_bun
|
|
115
|
+
install_bun="${install_bun:-Y}"
|
|
116
|
+
if [[ "$install_bun" =~ ^[Yy]$ ]]; then
|
|
117
|
+
echo " Installing Bun..."
|
|
118
|
+
curl -fsSL https://bun.sh/install | bash
|
|
119
|
+
export BUN_INSTALL="$HOME/.bun"
|
|
120
|
+
export PATH="$BUN_INSTALL/bin:$PATH"
|
|
121
|
+
if command -v bun &>/dev/null; then
|
|
122
|
+
echo -e " ${GREEN}→ Bun installed ✓${NC}"
|
|
123
|
+
else
|
|
124
|
+
echo -e " ${YELLOW}→ Bun installed — restart your terminal to activate it${NC}"
|
|
125
|
+
fi
|
|
126
|
+
else
|
|
127
|
+
echo -e " ${YELLOW}→ Skipping Bun install. claude-mem hooks will show errors until Bun is available.${NC}"
|
|
128
|
+
fi
|
|
129
|
+
fi
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
install_plugins() {
|
|
133
|
+
echo ""
|
|
134
|
+
echo "Installing plugins for Claude Code..."
|
|
135
|
+
mkdir -p "$CLAUDE_DIR"
|
|
136
|
+
|
|
137
|
+
check_bun
|
|
138
|
+
|
|
139
|
+
PLUGINS_FILE="$REPO_DIR/plugins/plugins.json"
|
|
140
|
+
|
|
141
|
+
if [ ! -f "$SETTINGS_FILE" ]; then
|
|
142
|
+
echo '{}' > "$SETTINGS_FILE"
|
|
143
|
+
fi
|
|
144
|
+
|
|
145
|
+
# Reconcile plugins (adds new, removes 100xprism-managed plugins dropped from
|
|
146
|
+
# plugins.json) — the same helper the update path uses, so install and update
|
|
147
|
+
# stay in agreement.
|
|
148
|
+
python3 "$REPO_DIR/adapters/lib/sync_plugins.py" \
|
|
149
|
+
--settings "$SETTINGS_FILE" --plugins "$PLUGINS_FILE"
|
|
150
|
+
|
|
151
|
+
echo -e " ${GREEN}→ Plugins merged into ~/.claude/settings.json ✓${NC}"
|
|
152
|
+
echo -e " ${CYAN}→ Restart Claude Code to activate new plugins${NC}"
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
156
|
+
case "${1:-}" in
|
|
157
|
+
--plugins) install_plugins ;;
|
|
158
|
+
*) install_global ;;
|
|
159
|
+
esac
|
|
160
|
+
fi
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
# shellcheck disable=SC1091
|
|
5
|
+
source "$(dirname "${BASH_SOURCE[0]}")/lib/shared.sh"
|
|
6
|
+
|
|
7
|
+
install_project() {
|
|
8
|
+
_run_generate "${1:-.}" ".github/copilot-instructions.md" "GitHub Copilot"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
12
|
+
install_project "${1:-.}"
|
|
13
|
+
fi
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
# shellcheck disable=SC1091
|
|
5
|
+
source "$(dirname "${BASH_SOURCE[0]}")/lib/shared.sh"
|
|
6
|
+
|
|
7
|
+
install_project() {
|
|
8
|
+
_run_generate "${1:-.}" "GEMINI.md" "Gemini CLI"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
12
|
+
install_project "${1:-.}"
|
|
13
|
+
fi
|
|
Binary file
|