@spardutti/claude-skills 2.0.0 → 2.1.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/README.md +8 -17
- package/lib/prompt.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ The CLI will:
|
|
|
41
41
|
|
|
42
42
|
## Skill Catalog
|
|
43
43
|
|
|
44
|
-
**
|
|
44
|
+
**13 skills**, grouped the same way the installer presents them.
|
|
45
45
|
|
|
46
46
|
> [!NOTE]
|
|
47
47
|
> Skills marked **📦 Bundle** ship a concise always-loaded entry point plus reference files Claude reads only when a task needs them — comprehensive coverage at a low context cost.
|
|
@@ -69,32 +69,23 @@ The CLI will:
|
|
|
69
69
|
|-------|----------------|
|
|
70
70
|
| `sql` 📦 | Schema design, data types, indexing & `EXPLAIN`, joins & subqueries, ORM patterns (N+1, transactions, locking), safe migrations |
|
|
71
71
|
|
|
72
|
-
###
|
|
72
|
+
### Desktop
|
|
73
73
|
|
|
74
74
|
| Skill | What it covers |
|
|
75
75
|
|-------|----------------|
|
|
76
|
-
| `
|
|
76
|
+
| `tauri-v2` | Tauri v2 — IPC commands, plugins, window management, system tray, global shortcuts, capabilities/permissions, events |
|
|
77
|
+
|
|
78
|
+
### Foundations
|
|
77
79
|
|
|
78
|
-
|
|
80
|
+
Cross-cutting craft — applies to any stack, any language.
|
|
79
81
|
|
|
80
82
|
| Skill | What it covers |
|
|
81
83
|
|-------|----------------|
|
|
84
|
+
| `code-structure` 📦 | Single Responsibility (when to split) + Avoid Hasty Abstractions (when *not* to extract) — hard size limits, separation of concerns, the Rule of Three |
|
|
85
|
+
| `typescript-best-practices` | TypeScript 6.x — type design, generics, type guards, `satisfies`, `using`, error handling, `tsconfig` |
|
|
82
86
|
| `testing-best-practices` | Arrange-Act-Assert, factory-based test data, isolation, mocking boundaries, a pyramid-balanced suite |
|
|
83
87
|
| `security-practices` | OWASP Top 10 prevention, input validation, auth, SQL injection, XSS, CSRF, secure defaults |
|
|
84
88
|
|
|
85
|
-
### Architecture
|
|
86
|
-
|
|
87
|
-
| Skill | What it covers |
|
|
88
|
-
|-------|----------------|
|
|
89
|
-
| `single-responsibility` | Language-agnostic SRP — file-size limits, CQS, separation of concerns, smell tests |
|
|
90
|
-
| `avoid-hasty-abstractions` | AHA / Rule of Three — prefer duplication over the wrong abstraction, boolean-parameter creep, undoing bad extractions |
|
|
91
|
-
|
|
92
|
-
### Desktop
|
|
93
|
-
|
|
94
|
-
| Skill | What it covers |
|
|
95
|
-
|-------|----------------|
|
|
96
|
-
| `tauri-v2` | Tauri v2 — IPC commands, plugins, window management, system tray, global shortcuts, capabilities/permissions, events |
|
|
97
|
-
|
|
98
89
|
## Commands
|
|
99
90
|
|
|
100
91
|
Portable slash commands installed to `.claude/commands/`. Some orchestrate parallel subagents — those are pulled in automatically.
|
package/lib/prompt.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { checkbox, Separator } from "@inquirer/prompts";
|
|
2
2
|
import chalk from "chalk";
|
|
3
3
|
|
|
4
|
-
const CATEGORY_ORDER = ["Frontend", "
|
|
4
|
+
const CATEGORY_ORDER = ["Frontend", "Backend", "Database", "Desktop", "Foundations", "General"];
|
|
5
5
|
const COMMAND_CATEGORY_ORDER = ["Workflow", "General"];
|
|
6
6
|
|
|
7
7
|
function humanName(skill) {
|