claude-skill-lord 2.0.2 → 2.0.3
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/.claude-plugin/plugin.json +1 -1
- package/.commitlintrc.json +27 -0
- package/.env.example +26 -0
- package/.releaserc.json +119 -0
- package/.repomixignore +22 -0
- package/CLAUDE.md +14 -0
- package/README.md +26 -0
- package/docs/code-standards.md +949 -0
- package/hooks/hooks.json +6 -0
- package/package.json +6 -2
- package/scripts/statusline.js +263 -0
- package/scripts/statusline.ps1 +312 -0
- package/scripts/statusline.sh +141 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": ["@commitlint/config-conventional"],
|
|
3
|
+
"rules": {
|
|
4
|
+
"type-enum": [
|
|
5
|
+
2,
|
|
6
|
+
"always",
|
|
7
|
+
[
|
|
8
|
+
"build",
|
|
9
|
+
"chore",
|
|
10
|
+
"ci",
|
|
11
|
+
"docs",
|
|
12
|
+
"feat",
|
|
13
|
+
"fix",
|
|
14
|
+
"perf",
|
|
15
|
+
"refactor",
|
|
16
|
+
"revert",
|
|
17
|
+
"style",
|
|
18
|
+
"test"
|
|
19
|
+
]
|
|
20
|
+
],
|
|
21
|
+
"subject-case": [2, "never", ["sentence-case", "start-case", "pascal-case", "upper-case"]],
|
|
22
|
+
"subject-empty": [2, "never"],
|
|
23
|
+
"subject-full-stop": [2, "never", "."],
|
|
24
|
+
"header-max-length": [2, "always", 100],
|
|
25
|
+
"body-max-line-length": [1, "always", 300]
|
|
26
|
+
}
|
|
27
|
+
}
|
package/.env.example
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Claude Code Notification Hooks - Environment Variables
|
|
2
|
+
# Copy this file to .env and fill in your actual values
|
|
3
|
+
# NEVER commit .env files to version control
|
|
4
|
+
|
|
5
|
+
# ============================================
|
|
6
|
+
# Discord Notifications
|
|
7
|
+
# ============================================
|
|
8
|
+
# Get your webhook URL from Discord:
|
|
9
|
+
# Server Settings → Integrations → Webhooks → New Webhook
|
|
10
|
+
# Format: https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN
|
|
11
|
+
DISCORD_WEBHOOK_URL=
|
|
12
|
+
|
|
13
|
+
# ============================================
|
|
14
|
+
# Telegram Notifications
|
|
15
|
+
# ============================================
|
|
16
|
+
# Get bot token from @BotFather in Telegram
|
|
17
|
+
# Send /newbot to @BotFather and follow the prompts
|
|
18
|
+
# Format: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz
|
|
19
|
+
TELEGRAM_BOT_TOKEN=
|
|
20
|
+
|
|
21
|
+
# Get chat ID from Telegram
|
|
22
|
+
# For DM: Send message to bot, then visit:
|
|
23
|
+
# https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
|
|
24
|
+
# For groups: Add bot to group, send message, check same URL
|
|
25
|
+
# Format: 987654321 (positive) or -100123456789 (negative for groups)
|
|
26
|
+
TELEGRAM_CHAT_ID=
|
package/.releaserc.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [
|
|
3
|
+
"main"
|
|
4
|
+
],
|
|
5
|
+
"plugins": [
|
|
6
|
+
[
|
|
7
|
+
"@semantic-release/commit-analyzer",
|
|
8
|
+
{
|
|
9
|
+
"preset": "conventionalcommits",
|
|
10
|
+
"releaseRules": [
|
|
11
|
+
{
|
|
12
|
+
"type": "docs",
|
|
13
|
+
"scope": "README",
|
|
14
|
+
"release": "patch"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "refactor",
|
|
18
|
+
"release": "patch"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "style",
|
|
22
|
+
"release": "patch"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"@semantic-release/release-notes-generator",
|
|
29
|
+
{
|
|
30
|
+
"preset": "conventionalcommits",
|
|
31
|
+
"presetConfig": {
|
|
32
|
+
"types": [
|
|
33
|
+
{
|
|
34
|
+
"type": "feat",
|
|
35
|
+
"section": "🚀 Features"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "fix",
|
|
39
|
+
"section": "🐞 Bug Fixes"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "docs",
|
|
43
|
+
"section": "📚 Documentation"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "style",
|
|
47
|
+
"section": "💄 Styles"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "refactor",
|
|
51
|
+
"section": "♻️ Code Refactoring"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "perf",
|
|
55
|
+
"section": "⚡ Performance Improvements"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "test",
|
|
59
|
+
"section": "✅ Tests"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "build",
|
|
63
|
+
"section": "🏗️ Build System"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "ci",
|
|
67
|
+
"section": "👷 CI"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
"@semantic-release/changelog",
|
|
75
|
+
{
|
|
76
|
+
"changelogFile": "CHANGELOG.md"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
"@semantic-release/npm",
|
|
81
|
+
{
|
|
82
|
+
"npmPublish": false
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
"@semantic-release/exec",
|
|
87
|
+
{
|
|
88
|
+
"prepareCmd": "node scripts/prepare-release-assets.cjs ${nextRelease.version}"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
"@semantic-release/github",
|
|
93
|
+
{
|
|
94
|
+
"assets": [
|
|
95
|
+
{
|
|
96
|
+
"path": "CHANGELOG.md",
|
|
97
|
+
"label": "Changelog"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"path": "dist/claudekit-engineer.zip",
|
|
101
|
+
"label": "ClaudeKit Engineer Package"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
"@semantic-release/git",
|
|
108
|
+
{
|
|
109
|
+
"assets": [
|
|
110
|
+
"CHANGELOG.md",
|
|
111
|
+
"package.json",
|
|
112
|
+
"package-lock.json",
|
|
113
|
+
".claude/metadata.json"
|
|
114
|
+
],
|
|
115
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
]
|
|
119
|
+
}
|
package/.repomixignore
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
docs/*
|
|
2
|
+
plans/*
|
|
3
|
+
assets/*
|
|
4
|
+
dist/*
|
|
5
|
+
coverage/*
|
|
6
|
+
build/*
|
|
7
|
+
ios/*
|
|
8
|
+
android/*
|
|
9
|
+
tests/*
|
|
10
|
+
__tests__/*
|
|
11
|
+
__pycache__/*
|
|
12
|
+
node_modules/*
|
|
13
|
+
|
|
14
|
+
.opencode/*
|
|
15
|
+
.claude/*
|
|
16
|
+
.serena/*
|
|
17
|
+
.pnpm-store/*
|
|
18
|
+
.github/*
|
|
19
|
+
.dart_tool/*
|
|
20
|
+
.idea/*
|
|
21
|
+
.husky/*
|
|
22
|
+
.venv/*
|
package/CLAUDE.md
CHANGED
|
@@ -149,6 +149,20 @@ Development contexts in `./contexts/`:
|
|
|
149
149
|
- `research.md` — Research context
|
|
150
150
|
- `review.md` — Code review context
|
|
151
151
|
|
|
152
|
+
## Statusline
|
|
153
|
+
|
|
154
|
+
Cross-platform statusline in `./scripts/statusline.js|sh|ps1`:
|
|
155
|
+
- Cost tracking, token count, session timer, git branch, model info
|
|
156
|
+
- Configured via `statusLine` in `hooks/hooks.json`
|
|
157
|
+
|
|
158
|
+
## Development Config
|
|
159
|
+
|
|
160
|
+
- `.commitlintrc.json` — conventional commit enforcement
|
|
161
|
+
- `.releaserc.json` — semantic release automation
|
|
162
|
+
- `.repomixignore` — repomix ignore patterns
|
|
163
|
+
- `.env.example` — API keys template (Discord, Telegram, Gemini)
|
|
164
|
+
- `docs/code-standards.md` — coding standards
|
|
165
|
+
|
|
152
166
|
## Principles
|
|
153
167
|
|
|
154
168
|
- **YAGNI** — You Aren't Gonna Need It
|
package/README.md
CHANGED
|
@@ -418,6 +418,32 @@ Development contexts in `./contexts/` for specialized workflows:
|
|
|
418
418
|
|
|
419
419
|
---
|
|
420
420
|
|
|
421
|
+
## Statusline
|
|
422
|
+
|
|
423
|
+
Built-in cross-platform statusline showing real-time session metrics:
|
|
424
|
+
|
|
425
|
+
- **Cost tracking** — cost per hour and session total via ccusage
|
|
426
|
+
- **Token count** — current token usage
|
|
427
|
+
- **Session timer** — remaining time with color-coded warnings
|
|
428
|
+
- **Git branch** — current branch or commit hash
|
|
429
|
+
- **Model info** — active model name and version
|
|
430
|
+
|
|
431
|
+
Available in 3 variants: `scripts/statusline.js` (Node.js), `scripts/statusline.sh` (Bash), `scripts/statusline.ps1` (PowerShell).
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
## Development Config
|
|
436
|
+
|
|
437
|
+
| File | Purpose |
|
|
438
|
+
|------|---------|
|
|
439
|
+
| `.commitlintrc.json` | Enforces conventional commit message format |
|
|
440
|
+
| `.releaserc.json` | Semantic release automation for npm publishing |
|
|
441
|
+
| `.repomixignore` | Ignore patterns for repomix skill |
|
|
442
|
+
| `.env.example` | Template for Discord/Telegram/Gemini API keys |
|
|
443
|
+
| `docs/code-standards.md` | Project-level coding standards |
|
|
444
|
+
|
|
445
|
+
---
|
|
446
|
+
|
|
421
447
|
## Testing
|
|
422
448
|
|
|
423
449
|
```bash
|