waitsec 0.2.0 → 0.3.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/.cursor-plugin/plugin.json +1 -1
- package/README.md +45 -25
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/rules/AGENTS.md +3 -1
- package/rules/waitsec.md +11 -0
- package/skills/waitsec-code/SKILL.md +26 -0
- package/skills/waitsec-core/SKILL.md +70 -0
- package/skills/waitsec-core/verify-first.md +67 -0
- package/skills/waitsec-quality/SKILL.md +34 -0
- package/skills/waitsec-ui/SKILL.md +26 -0
- /package/skills/{anti-overengineering/SKILL.md → waitsec-core/anti-overengineering.md} +0 -0
- /package/skills/{ask-first/SKILL.md → waitsec-core/ask-first.md} +0 -0
- /package/skills/{debug-first/SKILL.md → waitsec-core/debug-first.md} +0 -0
- /package/skills/{small-diff/SKILL.md → waitsec-core/small-diff.md} +0 -0
package/README.md
CHANGED
|
@@ -19,19 +19,13 @@ Most AI coding assistants do not fail because they lack knowledge. They fail bec
|
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
## The
|
|
22
|
+
## The 5 Core Guardrails
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### 3. `small-diff`
|
|
31
|
-
Modifications stay strictly scoped to what solves the prompt. No cleaning up surrounding files, no global formatting passes, and no unnecessary dependency changes.
|
|
32
|
-
|
|
33
|
-
### 4. `debug-first`
|
|
34
|
-
When something breaks, the AI must read the complete error message and stack trace. Never guess fixes or hide errors behind empty try/catch blocks.
|
|
24
|
+
1. **`ask-first`** — If the prompt is missing essential decisions (schemas, storage locations, permissions), the AI must pause and ask 1 to 3 direct questions instead of guessing.
|
|
25
|
+
2. **`anti-overengineering`** — Rejects unneeded design patterns, DTOs, and speculative abstractions. Keeps code lean while strictly enforcing authentication, authorization, and input validation.
|
|
26
|
+
3. **`small-diff`** — Modifications stay strictly scoped to what solves the prompt. No cleaning up surrounding files, no global formatting passes, and no unnecessary dependency changes.
|
|
27
|
+
4. **`debug-first`** — When something breaks, the AI must read the complete error message and stack trace. Never guess fixes or hide errors behind empty try/catch blocks.
|
|
28
|
+
5. **`verify-first`** — Never declare a task complete without proof. Run tests, verify builds, test edge cases, and ensure no regressions occurred before reporting done.
|
|
35
29
|
|
|
36
30
|
---
|
|
37
31
|
|
|
@@ -83,10 +77,20 @@ composer require --dev waitsec/waitsec
|
|
|
83
77
|
The post-install script automatically adds `.kilorules` to your root directory.
|
|
84
78
|
|
|
85
79
|
### 7. Agent Skills Directory (skills.sh)
|
|
86
|
-
Install
|
|
80
|
+
Install the full core bundle (recommended):
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npx skills add fastroware/waitsec/skills/waitsec-core
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Or install only the module you need:
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
|
-
|
|
89
|
+
# Individual guardrails
|
|
90
|
+
npx skills add fastroware/waitsec/skills/waitsec-core # All 5 guardrails
|
|
91
|
+
npx skills add fastroware/waitsec/skills/waitsec-quality # Upcoming
|
|
92
|
+
npx skills add fastroware/waitsec/skills/waitsec-code # Upcoming
|
|
93
|
+
npx skills add fastroware/waitsec/skills/waitsec-ui # Upcoming
|
|
90
94
|
```
|
|
91
95
|
|
|
92
96
|
---
|
|
@@ -96,26 +100,42 @@ npx skills add fastroware/waitsec
|
|
|
96
100
|
```text
|
|
97
101
|
waitsec/
|
|
98
102
|
├── skills/
|
|
99
|
-
│ ├──
|
|
100
|
-
│ │
|
|
101
|
-
│ ├──
|
|
103
|
+
│ ├── waitsec-core/ # ACTIVE — Core 5-phase guardrails
|
|
104
|
+
│ │ ├── SKILL.md # Hub: pipeline overview + links to detail files
|
|
105
|
+
│ │ ├── ask-first.md # Phase 1: Clarify requirements before coding
|
|
106
|
+
│ │ ├── anti-overengineering.md # Phase 2: Lean code + non-negotiable security
|
|
107
|
+
│ │ ├── small-diff.md # Phase 3: Surgical, proportional edits only
|
|
108
|
+
│ │ ├── debug-first.md # Phase 4: Root cause analysis before guessing
|
|
109
|
+
│ │ └── verify-first.md # Phase 5: Proof before declaring done
|
|
110
|
+
│ │
|
|
111
|
+
│ ├── waitsec-quality/ # UPCOMING — Security auditing, testing discipline
|
|
102
112
|
│ │ └── SKILL.md
|
|
103
|
-
│ ├──
|
|
113
|
+
│ ├── waitsec-code/ # UPCOMING — Clean code, anti-comment pollution
|
|
104
114
|
│ │ └── SKILL.md
|
|
105
|
-
│ └──
|
|
115
|
+
│ └── waitsec-ui/ # UPCOMING — Anti-slop CSS, responsive guardrails
|
|
106
116
|
│ └── SKILL.md
|
|
117
|
+
│
|
|
107
118
|
├── rules/
|
|
108
|
-
│ ├── AGENTS.md
|
|
109
|
-
│ └── waitsec.md
|
|
119
|
+
│ ├── AGENTS.md # Universal rule pointer (Antigravity / Claude Code)
|
|
120
|
+
│ └── waitsec.md # All-in-one bundled rules (Kilo Code / Cline / Cursor)
|
|
110
121
|
├── bin/
|
|
111
|
-
│ └── cli.js
|
|
112
|
-
├── plugin.json
|
|
113
|
-
├── package.json
|
|
114
|
-
└── composer.json
|
|
122
|
+
│ └── cli.js # Interactive terminal installer
|
|
123
|
+
├── plugin.json # Antigravity plugin manifest
|
|
124
|
+
├── package.json # npm / npx manifest
|
|
125
|
+
└── composer.json # Composer / Laravel manifest
|
|
115
126
|
```
|
|
116
127
|
|
|
117
128
|
---
|
|
118
129
|
|
|
130
|
+
## Roadmap: Core & Extensions
|
|
131
|
+
|
|
132
|
+
- **Core (Active)**: The 5 foundational guardrails (`ask-first`, `anti-overengineering`, `small-diff`, `debug-first`, `verify-first`).
|
|
133
|
+
- **Quality (Upcoming)**: Specialized deep-dives for `security`, `testing`, `performance`, and `accessibility`.
|
|
134
|
+
- **Code (Upcoming)**: Anti-slop comments, naming conventions, and dependency discipline.
|
|
135
|
+
- **UI (Upcoming)**: Anti-slop interface rules, responsive standards, and clean typography.
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
119
139
|
## License
|
|
120
140
|
|
|
121
141
|
MIT
|
package/package.json
CHANGED
package/plugin.json
CHANGED
package/rules/AGENTS.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# waitsec
|
|
2
2
|
|
|
3
|
-
Wait a second before coding. Follow these
|
|
3
|
+
Wait a second before coding. Follow these five core guardrails:
|
|
4
4
|
|
|
5
5
|
1. **Ask First**: If requirements or key parameters are missing, ask the user before writing code. Do not invent requirements.
|
|
6
6
|
2. **Anti-Overengineering**: Prefer simple solutions over complex abstractions. Build for today's needs, not hypothetical futures. **Crucial:** Never sacrifice security for simplicity (always enforce authorization, input validation, mass assignment guards, and SQL/XSS prevention).
|
|
7
7
|
3. **Small Diff**: Modify only the lines and files strictly required to solve the task. Do not touch unrelated code or reformat global files.
|
|
8
8
|
4. **Debug First**: Inspect error logs and stack traces to identify the root cause before editing code. Never guess.
|
|
9
|
+
5. **Verify First**: Never declare completion without proof. Run tests, build commands, and verify edge cases before closing.
|
|
10
|
+
|
package/rules/waitsec.md
CHANGED
|
@@ -29,3 +29,14 @@ You follow the waitsec discipline: hold on, think first, code less, and keep sec
|
|
|
29
29
|
- Never guess fixes or tweak random lines hoping the error disappears.
|
|
30
30
|
- Never silence errors with empty try/catch blocks or artificial fallback defaults.
|
|
31
31
|
- Fix the root cause at the source, then verify the fix by re-running the failing test or command.
|
|
32
|
+
|
|
33
|
+
## 5. Verify First (Proof Over Assumption)
|
|
34
|
+
- Never declare a task complete without empirical proof.
|
|
35
|
+
- Run tests, build commands, or reproduction scripts before writing your closing response.
|
|
36
|
+
- Verify both the success flow and edge-case failure handling.
|
|
37
|
+
- Ensure changes did not break neighboring functionality (regression check).
|
|
38
|
+
- Present real command outputs and test results to the user.
|
|
39
|
+
|
|
40
|
+
## Coexistence with Other Skills
|
|
41
|
+
- When `waitsec` is installed alongside third-party skills or framework guides, `waitsec` governs the operational discipline (clean diffs, restrained architecture, non-negotiable security, and verification).
|
|
42
|
+
- `waitsec` rules take precedence over suggestions that encourage unnecessary abstractions, speculative files, or bypassed security.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: waitsec-code
|
|
3
|
+
description: "[Coming Soon] Code quality extension for waitsec. Covers clean code patterns, anti-comment pollution, and dependency hygiene."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# waitsec-code: Clean Code Guardrails
|
|
7
|
+
|
|
8
|
+
> **Status: Work in Progress.** This module is not yet active. Check [github.com/fastroware/waitsec](https://github.com/fastroware/waitsec) for release updates.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Planned Guardrails
|
|
13
|
+
|
|
14
|
+
This extension targets the internal quality of the code itself:
|
|
15
|
+
|
|
16
|
+
- **Anti-Comment Pollution** — No redundant inline comments that restate what the code already says. Comments explain *why*, not *what*.
|
|
17
|
+
- **Clean Code Patterns** — Naming clarity, function length limits, single responsibility.
|
|
18
|
+
- **Dependency Hygiene** — Avoid pulling in packages for trivial problems. Audit transitive dependencies before adding them.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## How to Use When Released
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx waitsec --skill waitsec-core --skill waitsec-code
|
|
26
|
+
```
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: waitsec-core
|
|
3
|
+
description: Core guardrails for AI coding agents. Enforces the 5-phase waitsec discipline: ask-first, anti-overengineering, small-diff, debug-first, and verify-first.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# waitsec-core: The 5 Foundational Guardrails
|
|
7
|
+
|
|
8
|
+
You operate under the **waitsec** engineering discipline. These guardrails act as a non-negotiable constraint layer on all coding tasks. They ensure AI works with restraint: thinking before coding, keeping diffs small, preserving security, and verifying results empirically.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## The 5-Phase Pipeline
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
[Prompt Received]
|
|
16
|
+
↓
|
|
17
|
+
[Phase 1: Ingestion] ➔ waitsec: ask-first
|
|
18
|
+
↓ (requirements clear)
|
|
19
|
+
[Phase 2: Architecture] ➔ waitsec: anti-overengineering (security non-negotiable)
|
|
20
|
+
↓ (minimal pattern chosen)
|
|
21
|
+
[Phase 3: Execution] ➔ waitsec: small-diff
|
|
22
|
+
↓ (errors encountered?)
|
|
23
|
+
[Phase 4: Debugging] ➔ waitsec: debug-first
|
|
24
|
+
↓ (ready to close?)
|
|
25
|
+
[Phase 5: Completion] ➔ waitsec: verify-first
|
|
26
|
+
↓
|
|
27
|
+
[Task Delivered]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 1. Phase 1: Ingestion — [`ask-first`](./ask-first.md)
|
|
33
|
+
* **Rule:** If critical parameters, schemas, or storage targets are missing, stop immediately.
|
|
34
|
+
* Ask 1 to 3 direct questions with concrete choices (Option A vs Option B).
|
|
35
|
+
* Never invent product rules or business assumptions out of thin air.
|
|
36
|
+
* *Deep Dive & Tells:* Read [`skills/waitsec-core/ask-first.md`](./ask-first.md).
|
|
37
|
+
|
|
38
|
+
## 2. Phase 2: Architecture — [`anti-overengineering`](./anti-overengineering.md)
|
|
39
|
+
* **Rule:** Build for today's requirements. Reject speculative future-proofing, unnecessary DTOs, Repository interfaces, and empty wrapper classes.
|
|
40
|
+
* **Lean ≠ Insecure (CRITICAL):** Simplicity applies to architectural layers, never to defense mechanisms. You must enforce:
|
|
41
|
+
- Authentication and authorization checks (no IDOR).
|
|
42
|
+
- Strict input validation and mass assignment protection.
|
|
43
|
+
- Parameterized queries (SQL injection prevention) and proper output escaping (XSS prevention).
|
|
44
|
+
- Secrets loaded from environment variables (`.env`).
|
|
45
|
+
* *Deep Dive & Tells:* Read [`skills/waitsec-core/anti-overengineering.md`](./anti-overengineering.md).
|
|
46
|
+
|
|
47
|
+
## 3. Phase 3: Execution — [`small-diff`](./small-diff.md)
|
|
48
|
+
* **Rule:** Restrict changes strictly to the files and lines that solve the prompt.
|
|
49
|
+
* Do not reformat global whitespace, touch neighboring modules, or perform unsolicited cleanup passes.
|
|
50
|
+
* *Deep Dive & Tells:* Read [`skills/waitsec-core/small-diff.md`](./small-diff.md).
|
|
51
|
+
|
|
52
|
+
## 4. Phase 4: Debugging — [`debug-first`](./debug-first.md)
|
|
53
|
+
* **Rule:** When an error occurs, inspect the complete stack trace and identify the technical root cause before touching any file.
|
|
54
|
+
* Never spray random guesses across files. Never silence crashes with empty `try/catch` blocks.
|
|
55
|
+
* *Deep Dive & Tells:* Read [`skills/waitsec-core/debug-first.md`](./debug-first.md).
|
|
56
|
+
|
|
57
|
+
## 5. Phase 5: Completion — [`verify-first`](./verify-first.md)
|
|
58
|
+
* **Rule:** Never declare a task complete without empirical proof.
|
|
59
|
+
* Run builds, test suites, or reproduction commands. Check edge cases and ensure no regressions occurred.
|
|
60
|
+
* Report real terminal outcomes to the user.
|
|
61
|
+
* *Deep Dive & Tells:* Read [`skills/waitsec-core/verify-first.md`](./verify-first.md).
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Framework Boundaries & Skill Coexistence
|
|
66
|
+
|
|
67
|
+
When `waitsec` is installed alongside other third-party agent skills (e.g. language skills, domain frameworks):
|
|
68
|
+
1. **Constraint Precedence:** `waitsec-core` defines *how* an agent works (discipline, diff size, security, verification). Domain skills define *what* API or framework syntax to use.
|
|
69
|
+
2. **Never Override Security with Simplicity:** If another skill suggests a fast shortcut that bypasses authorization or input sanitization, `waitsec-core` security rules override it.
|
|
70
|
+
3. **Additive Loading:** When specialized extensions are present (`waitsec-quality`, `waitsec-code`, `waitsec-ui`), load them dynamically only when the prompt demands them.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify-first
|
|
3
|
+
description: Never declare a task complete without proving it works. Run tests, verify builds, and check for regressions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verify First: Proof Over Assumption
|
|
7
|
+
|
|
8
|
+
Never say "I'm done" or "The bug is fixed" without concrete technical proof. Always verify before declaring completion.
|
|
9
|
+
|
|
10
|
+
**Core Principle:** *An unverified change is an incomplete change.* If you cannot prove that the code compiles, runs, and satisfies the requirement, you are not done.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Anti-Patterns (The Tells)
|
|
15
|
+
|
|
16
|
+
### 1. The Premature Victory Lap
|
|
17
|
+
- **Tell:** The agent modifies code, never runs a test or build command, and immediately announces: *"I have fixed the issue and implemented all requirements!"*
|
|
18
|
+
- **Why:** The AI relies on statistical confidence instead of empirical execution. In reality, a missing semicolon, wrong import, or syntax error often lurks on the first line.
|
|
19
|
+
- **Fix:** Run the relevant test suite, build command, or reproduction script before writing your closing message.
|
|
20
|
+
|
|
21
|
+
### 2. Regression Blindness
|
|
22
|
+
- **Tell:** Fixing a bug in component A, but accidentally breaking components B and C because shared state, schema, or props were modified without running the full test suite.
|
|
23
|
+
- **Why:** The AI focuses narrowly on the prompt and ignores downstream dependencies.
|
|
24
|
+
- **Fix:** If the project has automated tests (`npm test`, `pytest`, `php artisan test`, `go test`), run them to ensure no regressions were introduced.
|
|
25
|
+
|
|
26
|
+
### 3. Phantom Verification
|
|
27
|
+
- **Tell:** The agent claims *"I tested the login endpoint and it returned status 200"* when no terminal command, curl request, or test runner was actually executed in the environment.
|
|
28
|
+
- **Why:** Generative models hallucinate successful outcomes based on expectation.
|
|
29
|
+
- **Fix:** Real verification produces real output. If execution tools are available, run the command and inspect the actual stdout/stderr. If tools are unavailable, instruct the user on the exact command to run.
|
|
30
|
+
|
|
31
|
+
### 4. Happy-Path Myopia
|
|
32
|
+
- **Tell:** Testing only the success state (e.g. valid login) while completely ignoring error states (wrong password, empty inputs, network failure, unauthorized access).
|
|
33
|
+
- **Why:** AI naturally gravitates toward the ideal flow.
|
|
34
|
+
- **Fix:** Verify both the happy path and at least one failure/edge case before declaring completion.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## The 4-Step Verification Sequence
|
|
39
|
+
|
|
40
|
+
Follow this sequence before declaring any task finished:
|
|
41
|
+
|
|
42
|
+
1. **Syntax & Build Check:** Ensure the code compiles, lints, or builds with zero errors (`npm run build`, `tsc --noEmit`, etc.).
|
|
43
|
+
2. **Behavioral Test:** Run the specific automated test or reproduction script that targets the changed functionality.
|
|
44
|
+
3. **Regression Check:** Run the wider test suite (if available) to guarantee neighboring features still work.
|
|
45
|
+
4. **Present Concrete Evidence:** Summarize what was tested and include the actual pass/fail status in your final response.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Decision Matrix: What to Verify
|
|
50
|
+
|
|
51
|
+
| Task Type | Minimum Verification Required |
|
|
52
|
+
| :--- | :--- |
|
|
53
|
+
| **Bug Fix** | Re-run the reproduction command; prove the error no longer occurs. |
|
|
54
|
+
| **New Feature** | Run unit/feature tests; test both valid input and invalid/empty input. |
|
|
55
|
+
| **Refactoring** | Run existing test suite to ensure 100% backward compatibility. |
|
|
56
|
+
| **Documentation / Copy** | Verify rendered markdown formatting, links, and code block syntax. |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Checklist
|
|
61
|
+
|
|
62
|
+
Before declaring a task complete:
|
|
63
|
+
- [ ] Did I run the build, linter, or type checker to ensure no syntax/compilation errors?
|
|
64
|
+
- [ ] Did I run the relevant automated test or verification command?
|
|
65
|
+
- [ ] Did I verify that existing neighboring functionality was not broken?
|
|
66
|
+
- [ ] Did I check at least one error or edge-case state?
|
|
67
|
+
- [ ] Did I report the real verification outcome to the user instead of assuming success?
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: waitsec-quality
|
|
3
|
+
description: "[Coming Soon] Quality extension for waitsec. Covers security auditing, automated testing discipline, and data integrity guardrails."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# waitsec-quality: Quality & Safety Guardrails
|
|
7
|
+
|
|
8
|
+
> **Status: Work in Progress.** This module is not yet active. Check [github.com/fastroware/waitsec](https://github.com/fastroware/waitsec) for release updates.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Planned Guardrails
|
|
13
|
+
|
|
14
|
+
This extension adds a second layer on top of `waitsec-core`, focused on code quality and systemic safety:
|
|
15
|
+
|
|
16
|
+
- **Security Audit** — Active scanning for common vulnerabilities beyond the baseline enforced in `anti-overengineering`. Includes dependency audits, permission boundaries, and sensitive data exposure checks.
|
|
17
|
+
- **Testing Discipline** — Rules for meaningful tests: no trivial assertions, no mocked-everything suites, no skipping edge cases.
|
|
18
|
+
- **Data Integrity** — Database constraint checks, migration safety, and soft-delete handling patterns.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## How to Use When Released
|
|
23
|
+
|
|
24
|
+
Install alongside `waitsec-core`:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx waitsec --skill waitsec-core --skill waitsec-quality
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or via `skills.sh`:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
skills install fastroware/waitsec/skills/waitsec-quality
|
|
34
|
+
```
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: waitsec-ui
|
|
3
|
+
description: "[Coming Soon] UI/frontend extension for waitsec. Covers anti-slop CSS, responsive discipline, and no-decoration-for-decoration's-sake rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# waitsec-ui: Frontend Guardrails
|
|
7
|
+
|
|
8
|
+
> **Status: Work in Progress.** This module is not yet active. Check [github.com/fastroware/waitsec](https://github.com/fastroware/waitsec) for release updates.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Planned Guardrails
|
|
13
|
+
|
|
14
|
+
This extension targets frontend and CSS quality:
|
|
15
|
+
|
|
16
|
+
- **Anti-Slop CSS** — No gradient purple for no reason, no box-shadow stacks that add nothing, no animation on elements that don't need it.
|
|
17
|
+
- **Responsive Discipline** — Mobile-first layout rules. No pixel-locked widths on main containers. No horizontal scroll on mobile.
|
|
18
|
+
- **Decoration Restraint** — Every visual element must have a functional purpose. Decorative elements that increase cognitive load without guiding the user get cut.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## How to Use When Released
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx waitsec --skill waitsec-core --skill waitsec-ui
|
|
26
|
+
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|