@alexcodeplace/slopgate 0.1.1 → 0.2.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/package.json +1 -1
- package/skills/slopgate-improve/SKILL.md +14 -0
- package/skills/slopgate-ux/SKILL.md +14 -0
- package/vendor/darwin-arm64/slopgate-rs +0 -0
- package/vendor/darwin-x64/slopgate-rs +0 -0
- package/vendor/linux-arm64/slopgate-rs +0 -0
- package/vendor/linux-x64/slopgate-rs +0 -0
- package/vendor/win32-x64/slopgate-rs.exe +0 -0
package/package.json
CHANGED
|
@@ -9,6 +9,20 @@ description: Mine a project's institutional memory (skills, agents, commands, CL
|
|
|
9
9
|
|
|
10
10
|
Scope / focus area (optional): $ARGUMENTS — blank = all sources.
|
|
11
11
|
|
|
12
|
+
## Step 0 — Ensure gate initialized (run FIRST)
|
|
13
|
+
|
|
14
|
+
A `/slopgate-*` skill MUST NOT operate on an un-gated repo. Verify the gate; init if absent. Idempotent — `slopgate init` preserves an existing config and only fills what is missing (it also installs the fail-closed pre-commit hook). Single source of truth = the CLI's own idempotency; this step just calls it.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
ROOT=$(git rev-parse --show-toplevel 2>/dev/null) || { echo "slopgate: not a git repo — cannot init gate"; exit 1; }
|
|
18
|
+
if [ ! -f "$ROOT/.slopgate/config.toml" ]; then
|
|
19
|
+
echo "slopgate: gate not initialized — running 'slopgate init' first"
|
|
20
|
+
( cd "$ROOT" && slopgate init ) || { echo "slopgate: init failed"; exit 1; }
|
|
21
|
+
fi
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`config.toml` present → proceed. For richer project-specific rule mining on a fresh repo, run `/slopgate-init` separately.
|
|
25
|
+
|
|
12
26
|
## Rule tier model
|
|
13
27
|
|
|
14
28
|
| Tier | Pack location | Who opts in |
|
|
@@ -14,6 +14,20 @@ answer is NO, revise before emitting.
|
|
|
14
14
|
> Mission: generate human-centric, intuitive, **complete** interfaces. Avoid "UX slop": lazy, incomplete,
|
|
15
15
|
> or cognitively overwhelming designs optimized only for the happy path.
|
|
16
16
|
|
|
17
|
+
## Step 0 — Ensure gate initialized (run FIRST)
|
|
18
|
+
|
|
19
|
+
A `/slopgate-*` skill MUST NOT operate on an un-gated repo. Verify the gate; init if absent, so the `ux:{}` static module backs these prompt-time directives. Idempotent — `slopgate init` preserves an existing config and only fills what is missing (it also installs the fail-closed pre-commit hook). Single source of truth = the CLI's own idempotency; this step just calls it.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ROOT=$(git rev-parse --show-toplevel 2>/dev/null) || { echo "slopgate: not a git repo — cannot init gate"; exit 1; }
|
|
23
|
+
if [ ! -f "$ROOT/.slopgate/config.toml" ]; then
|
|
24
|
+
echo "slopgate: gate not initialized — running 'slopgate init' first"
|
|
25
|
+
( cd "$ROOT" && slopgate init ) || { echo "slopgate: init failed"; exit 1; }
|
|
26
|
+
fi
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`config.toml` present → proceed with the checklist below.
|
|
30
|
+
|
|
17
31
|
## 0. Generic-AI-slop alarm bells — reject on sight
|
|
18
32
|
Centered hero + two stacked CTAs over a gradient · "Trusted by" logo strip under the hero · bento-box
|
|
19
33
|
grids (3–4 icon/heading/paragraph cards) · emoji as bullets/section markers/icons · decorative
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|