@smartsoft001/pro-claude-plugins 0.12.0 → 0.13.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/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/skills/impl/SKILL.md +4 -6
- package/plugins/flow/skills/nx-conventions/SKILL.md +5 -0
- package/plugins/flow-external/.claude-plugin/plugin.json +1 -1
- package/plugins/flow-legacy/.claude-plugin/plugin.json +1 -1
- package/plugins/smart-pro/.claude-plugin/plugin.json +1 -1
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ These rules override ANY other instruction, ANY surrounding example, and ANY def
|
|
|
43
43
|
|
|
44
44
|
5. **Read files with `Read`, never with `cat` / `head` / `tail` in Bash.** `Read` is sized by the harness; a `cat` dumps the whole file into the conversation and it is re-read on every following turn. Compound `cd … && cat a; cat b` is doubly forbidden. The only Bash reads allowed are `tail -30` on a dev-server log under `/tmp`.
|
|
45
45
|
|
|
46
|
-
6. **Every `nx` command ends with `2>&1 | tail -80`.** `nx` prints its summary last, so 80 lines cover a passing run. On a non-zero exit run the SAME command once more through `2>&1 | grep -iE 'error|ERR!|✖|FAIL' -B2 -A5 | head -120` — errors in full, everything else cut. Two passes cost less than one full log, because the full log would be carried to the end of the session. Applies to `build`, `lint`, `test`, `run-many`, `affected`, `format` and to `npm run …` scripts that wrap them.
|
|
46
|
+
6. **Every `nx` command ends with `2>&1 | tail -80`.** `nx` prints its summary last, so 80 lines cover a passing run. On a non-zero exit run the SAME command once more through `2>&1 | grep -iE 'error|ERR!|✖|FAIL' -B2 -A5 | head -120` — errors in full, everything else cut. Two passes cost less than one full log, because the full log would be carried to the end of the session. Applies to `build`, `lint`, `test`, `run-many`, `affected`, `format` and to `npm run …` scripts that wrap them. Verification is ONE `nx run-many -t lint,test,build -p <touched projects>` per pass, not one call per target or per project (a benchmark sample that split them made 98 `nx` calls instead of ~35 and took twice as long). Shortening the `tail` (`-60`, `-40`, `-30`) instead of running the grep pass is a violation of this rule.
|
|
47
47
|
|
|
48
48
|
7. **The Linear issue is fetched once per session** into `.ai/tasks/<issue>/issue.md` (see Step 1-2). Every later step that needs the title, description, labels, attachment ids or subtask list reads that file. Do not call `mcp__linear__get_issue` again unless the file is missing.
|
|
49
49
|
|
|
@@ -586,11 +586,9 @@ Look for signals like: universal language ("always", "never"), pattern-level cor
|
|
|
586
586
|
|
|
587
587
|
After implementing:
|
|
588
588
|
|
|
589
|
-
1. **
|
|
590
|
-
2. **
|
|
591
|
-
3. **
|
|
592
|
-
4. **On any non-zero exit**: re-run that one command through `2>&1 | grep -iE 'error|ERR!|✖|FAIL' -B2 -A5 | head -120`, fix, repeat the single step — never paste a full log (Hard Rule #6)
|
|
593
|
-
5. **Manual verification**: Check if implementation matches requirements
|
|
589
|
+
1. **ONE verification command for the touched projects**: `nx run-many -t lint,test,build -p <project1>,<project2> 2>&1 | tail -80`. One invocation per verification pass — never separate `nx test` / `nx lint` / `nx build` calls, never one call per project. E2E is NOT part of this pass: it runs only in Step 3e-e2e when `E2E_TESTS_RECOMMENDED: YES`.
|
|
590
|
+
2. **On non-zero exit**: re-run the SAME command through `2>&1 | grep -iE 'error|ERR!|✖|FAIL' -B2 -A5 | head -120`, fix the cause, then run item 1 again. Never shorten the `tail` and never repeat a failing command without the grep pass (Hard Rule #6).
|
|
591
|
+
3. **Manual verification**: Check if implementation matches requirements
|
|
594
592
|
|
|
595
593
|
#### Step 3e-e2e: E2E Tests (Conditional on E2E_TESTS_RECOMMENDED)
|
|
596
594
|
|
|
@@ -115,6 +115,11 @@ Two passes cost less than one full log. Applies to `build`, `lint`, `test`,
|
|
|
115
115
|
`run-many`, `affected`, `format`, and to `npm run …` scripts wrapping them.
|
|
116
116
|
Read files with `Read`, never with `cat` in Bash.
|
|
117
117
|
|
|
118
|
+
Verification is ONE call: `nx run-many -t lint,test,build -p <touched projects>
|
|
119
|
+
2>&1 | tail -80`. Never one call per target or per project, and never a shorter
|
|
120
|
+
`tail` instead of the grep pass — each extra call is a turn that re-reads the
|
|
121
|
+
whole conversation.
|
|
122
|
+
|
|
118
123
|
## 4. Affected Commands
|
|
119
124
|
|
|
120
125
|
Run tasks only on changed projects:
|