@caddis/cli 0.4.93 → 0.4.94
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/bundles/antigravity-plugin/guard_agy.py +6 -2
- package/bundles/antigravity-plugin/plugin.json +1 -1
- package/bundles/antigravity-plugin/repo_freshness.py +71 -6
- package/bundles/antigravity-plugin/repo_hygiene.py +516 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_exit.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_file_lock.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_frontmatter.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_redact.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_roadmap.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_rows.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_status.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_tidy.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_todo.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_workstreams.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_worktree_safety.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/caddis_finished.py +537 -0
- package/bundles/antigravity-plugin/scripts/caddis_guide.json +9 -8
- package/bundles/antigravity-plugin/scripts/caddis_own_cleanup.py +23 -248
- package/bundles/antigravity-plugin/scripts/caddis_repo_tidy.py +240 -0
- package/bundles/antigravity-plugin/scripts/caddis_tidy.py +12 -0
- package/bundles/antigravity-plugin/scripts/caddis_worktree_root.py +111 -2
- package/bundles/antigravity-plugin/scripts/setup_project_ai.py +67 -10
- package/bundles/antigravity-plugin/skills/_registry.md +4 -4
- package/bundles/antigravity-plugin/skills/adopt-app/SKILL.md +2 -5
- package/bundles/antigravity-plugin/skills/cloud-phases/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/dashboard-perf-sweep/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/db-diagram/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/explainer-doc/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/implement/SKILL.md +4 -0
- package/bundles/antigravity-plugin/skills/port-to-github/SKILL.md +2 -5
- package/bundles/antigravity-plugin/skills/pr-merge/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/ship-merge/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/ship-pr/SKILL.md +1 -1
- package/bundles/antigravity-plugin/skills/tech-explainer/SKILL.md +2 -6
- package/bundles/antigravity-plugin/skills/using-git-worktrees/SKILL.md +19 -2
- package/bundles/antigravity-plugin/skills/warm-editorial-ui/SKILL.md +1 -1
- package/bundles/antigravity-plugin-extras/plugin.json +1 -1
- package/bundles/antigravity-plugin-extras/skills/_registry.md +2 -2
- package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/SKILL.md +1 -2
- package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/SKILL.md +1 -2
- package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/SKILL.md +1 -1
- package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/SKILL.md +2 -4
- package/bundles/antigravity-plugin-extras/skills/runner-move/SKILL.md +2 -4
- package/bundles/antigravity-plugin-extras/skills/setup-project-ai/SKILL.md +1 -1
- package/bundles/antigravity-plugin-extras/skills/understand-anything/SKILL.md +2 -5
- package/bundles/codex/.codex/skills/coding/dashboard-perf-sweep/SKILL.md +1 -1
- package/bundles/codex/.codex/skills/data/db-diagram/SKILL.md +1 -1
- package/bundles/codex/.codex/skills/devops/adopt-app/SKILL.md +2 -5
- package/bundles/codex/.codex/skills/devops/port-to-github/SKILL.md +2 -5
- package/bundles/codex/.codex/skills/devops/using-git-worktrees/SKILL.md +19 -2
- package/bundles/codex/.codex/skills/docs/explainer-doc/SKILL.md +1 -1
- package/bundles/codex/.codex/skills/docs/tech-explainer/SKILL.md +2 -6
- package/bundles/codex/.codex/skills/frontend/warm-editorial-ui/SKILL.md +1 -1
- package/bundles/manifest.json +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dashboard-perf-sweep
|
|
3
3
|
context: fork
|
|
4
|
-
description: Re-measure dashboard/API endpoints for load-time regressions
|
|
4
|
+
description: Re-measure dashboard/API endpoints for load-time regressions. Use when the user says "sweep dashboard performance", "check if this app needs rs-kit", or "re-measure the perf tracker".
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# dashboard-perf-sweep — re-measure, then judge the shape, not just the time
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: db-diagram
|
|
3
3
|
context: fork
|
|
4
|
-
description: Diagram
|
|
4
|
+
description: Diagram SQL artifacts (procs, views, queries, tables) as Mermaid or Excalidraw. Use when the user says "diagram this SQL", "draw the ER diagram", "/mermaid-db", or "/excalidraw-db".
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# db-diagram — explain SQL as a diagram
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: adopt-app
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
app was never set up properly", "adopt this POC", "onboard this app", "it just runs from a folder on
|
|
7
|
-
the server", "what would it take to get this into CI", "nobody knows how this is deployed", or "it
|
|
8
|
-
started as a prototype and now it is production".
|
|
4
|
+
Inventory an unscaffolded app or POC read-only and produce an adoption plan. Use when the user
|
|
5
|
+
says "adopt this POC", "onboard this app", "never set up properly", or "get this into CI".
|
|
9
6
|
---
|
|
10
7
|
|
|
11
8
|
# adopt-app
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: port-to-github
|
|
3
3
|
description: >-
|
|
4
|
-
Port an app or repo to GitHub
|
|
5
|
-
|
|
6
|
-
with rollback. Use when the user says "move this app to GitHub", "port X to GitHub", "migrate from
|
|
7
|
-
Gitea", "this app only exists on the server", "import the repo from the prod box", "keep binaries
|
|
8
|
-
out of the repo", or "cut the deploy over to GitHub".
|
|
4
|
+
Port an app or repo to GitHub with verified history, CI translation, and deploy cutover. Use when
|
|
5
|
+
the user says "move this app to GitHub", "port X to GitHub", or "migrate from Gitea".
|
|
9
6
|
---
|
|
10
7
|
|
|
11
8
|
# port-to-github
|
|
@@ -55,8 +55,25 @@ git worktree add -b <branch> $wt origin/<default>
|
|
|
55
55
|
|
|
56
56
|
## Install dependencies fresh
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
Run one command, inside the new worktree:
|
|
59
|
+
|
|
60
|
+
```powershell
|
|
61
|
+
python "<caddis scripts>\caddis_worktree_root.py" --bootstrap
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
It installs this worktree's own dependencies:
|
|
65
|
+
|
|
66
|
+
- `uv sync --frozen --all-extras` when `uv.lock` exists. Without `uv.lock`: `python -m venv .venv`, then `pip install`
|
|
67
|
+
of what the repo declares (`-e ".[dev]"` or `-e .`, then `requirements.txt` and `requirements-dev.txt`).
|
|
68
|
+
- `npm ci` in the root and in `frontend/`, for each folder that has a `package-lock.json`.
|
|
69
|
+
|
|
70
|
+
It refuses to run in a main checkout (exit 2) and stops at the first failing step (exit 1).
|
|
71
|
+
|
|
72
|
+
The pre-push gate needs this. In a worktree the gate uses only the worktree's own `.venv`. It never uses the main
|
|
73
|
+
checkout's venv (stale, and it belongs to a running dev service) and never the system Python. A worktree with no
|
|
74
|
+
`.venv` fails the gate with this command in the message. Do not push with `--no-verify` to get round it.
|
|
75
|
+
|
|
76
|
+
For a stack the script does not cover, use the project's own command (`cargo build`, `go mod download`). Call the
|
|
60
77
|
venv's own `python`; a bare `pip` can install into the global Python.
|
|
61
78
|
|
|
62
79
|
Never link `node_modules` or a venv from another folder. Tools that follow the link then change the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: explainer-doc
|
|
3
3
|
context: fork
|
|
4
|
-
description:
|
|
4
|
+
description: Write a self-contained hand-off spec for an external team or vendor. Use when the user says "write a spec for the X team", "explainer doc", "spec for a vendor", or "hand this off to Y".
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# explainer-doc — write for the reader who has no other context
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
name: tech-explainer
|
|
3
3
|
context: fork
|
|
4
4
|
description: >-
|
|
5
|
-
Plain-language explainer
|
|
6
|
-
|
|
7
|
-
to X", "explainer", "write this up for someone non-technical", "plain English", "STE", "explain our
|
|
8
|
-
findings", "write up the benchmark results", "why is it slow — document it", or summarises an
|
|
9
|
-
investigation for a reader who won't read the raw data. Not for build hand-offs (explainer-doc) or
|
|
10
|
-
READMEs.
|
|
5
|
+
Plain-language explainer with Mermaid diagrams and STE for stakeholders. Use when the user says
|
|
6
|
+
"explain this to X", "plain English", "STE", or "explain our findings".
|
|
11
7
|
---
|
|
12
8
|
|
|
13
9
|
# tech-explainer — make a stranger understand, and able to push back
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: warm-editorial-ui
|
|
3
|
-
description: Apply the
|
|
3
|
+
description: Apply the Warm Editorial Refinement design system. Use when the user says "use our design system", "warm editorial style", "apply our template", or "make it look like abc-project".
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Warm Editorial Refinement — Design System
|
package/bundles/manifest.json
CHANGED
package/package.json
CHANGED