@plaited/development-skills 0.5.0 → 0.6.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/{.claude → .plaited}/rules/accuracy.md +3 -10
- package/{.claude → .plaited}/rules/code-review.md +2 -9
- package/.plaited/rules/git-workflow.md +36 -0
- package/{.claude → .plaited}/rules/module-organization.md +1 -1
- package/{.claude → .plaited}/rules/testing.md +1 -1
- package/package.json +2 -2
- package/src/lsp-analyze.ts +1 -1
- package/src/lsp-find.ts +1 -1
- package/src/lsp-hover.ts +1 -1
- package/src/lsp-references.ts +1 -1
- package/src/lsp-symbols.ts +1 -1
- package/src/scaffold-rules.ts +148 -204
- package/src/tests/scaffold-rules.spec.ts +148 -118
- package/.claude/commands/lsp-analyze.md +0 -66
- package/.claude/commands/lsp-find.md +0 -74
- package/.claude/commands/lsp-hover.md +0 -57
- package/.claude/commands/lsp-refs.md +0 -64
- package/.claude/commands/scaffold-rules.md +0 -221
- package/.claude/commands/validate-skill.md +0 -29
- package/.claude/rules/git-workflow.md +0 -66
- package/.claude/skills/code-documentation/SKILL.md +0 -47
- package/.claude/skills/code-documentation/references/internal-templates.md +0 -113
- package/.claude/skills/code-documentation/references/maintenance.md +0 -164
- package/.claude/skills/code-documentation/references/public-api-templates.md +0 -100
- package/.claude/skills/code-documentation/references/type-documentation.md +0 -116
- package/.claude/skills/code-documentation/references/workflow.md +0 -60
- package/.claude/skills/scaffold-rules/SKILL.md +0 -104
- package/.claude/skills/typescript-lsp/SKILL.md +0 -249
- package/.claude/skills/validate-skill/SKILL.md +0 -105
- /package/{.claude → .plaited}/rules/bun-apis.md +0 -0
- /package/{.claude → .plaited}/rules/github.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
RULE TEMPLATE - Distributed via
|
|
3
|
-
Variables: {{LINK:testing}}, {{#if development-skills}}
|
|
2
|
+
RULE TEMPLATE - Distributed via scaffold-rules skill
|
|
3
|
+
Variables: {{LINK:testing}}, {{#if development-skills}}
|
|
4
4
|
-->
|
|
5
5
|
|
|
6
6
|
# Accuracy and Confidence Standards
|
|
@@ -19,7 +19,7 @@ Variables: {{LINK:testing}}, {{#if development-skills}}, {{#if supports-slash-co
|
|
|
19
19
|
{{#if development-skills}}
|
|
20
20
|
- **For TypeScript/JavaScript projects**: When @plaited/development-skills is installed, prefer LSP tools for type-aware verification:
|
|
21
21
|
- Use `lsp-find` to search for symbols, types, and patterns across the workspace
|
|
22
|
-
- Use `lsp-
|
|
22
|
+
- Use `lsp-refs` to find all usages of a symbol
|
|
23
23
|
- Use `lsp-hover` to verify type signatures
|
|
24
24
|
- Use `lsp-analyze` for batch analysis of file structure
|
|
25
25
|
{{/if}}
|
|
@@ -30,14 +30,7 @@ Variables: {{LINK:testing}}, {{#if development-skills}}, {{#if supports-slash-co
|
|
|
30
30
|
4. **Tool-Assisted Verification**: Use available tools to enhance verification accuracy:
|
|
31
31
|
{{#if development-skills}}
|
|
32
32
|
- **TypeScript LSP tools** (when available): Use for type-aware analysis of `.ts`, `.tsx`, `.js`, `.jsx` files
|
|
33
|
-
{{/if}}
|
|
34
|
-
{{#if supports-slash-commands}}
|
|
35
|
-
- Available via `/lsp-hover`, `/lsp-find`, `/lsp-refs`, `/lsp-analyze` commands
|
|
36
|
-
{{/if}}
|
|
37
|
-
{{^if supports-slash-commands}}
|
|
38
|
-
{{#if development-skills}}
|
|
39
33
|
- Available via `bunx @plaited/development-skills lsp-*` commands
|
|
40
|
-
{{/if}}
|
|
41
34
|
{{/if}}
|
|
42
35
|
- **WebFetch**: Retrieve current documentation from authoritative sources (MDN Web Docs, WHATWG specs) when using web platform APIs
|
|
43
36
|
- These tools complement (but do not replace) reading live code - always verify outputs against actual implementation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
RULE TEMPLATE - Distributed via
|
|
3
|
-
Variables: {{#if development-skills}}
|
|
2
|
+
RULE TEMPLATE - Distributed via scaffold-rules skill
|
|
3
|
+
Variables: {{#if development-skills}}
|
|
4
4
|
-->
|
|
5
5
|
|
|
6
6
|
# Code Review Standards
|
|
@@ -17,16 +17,9 @@ When working with AgentSkills directories (`.claude/skills/`, `.cursor/skills/`,
|
|
|
17
17
|
|
|
18
18
|
{{#if development-skills}}
|
|
19
19
|
**Validate structure:**
|
|
20
|
-
{{#if supports-slash-commands}}
|
|
21
|
-
```
|
|
22
|
-
/validate-skill <path>
|
|
23
|
-
```
|
|
24
|
-
{{/if}}
|
|
25
|
-
{{^if supports-slash-commands}}
|
|
26
20
|
```bash
|
|
27
21
|
bunx @plaited/development-skills validate-skill <path>
|
|
28
22
|
```
|
|
29
|
-
{{/if}}
|
|
30
23
|
|
|
31
24
|
This checks:
|
|
32
25
|
- SKILL.md exists with required frontmatter (name, description)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
RULE TEMPLATE - Distributed via scaffold-rules skill
|
|
3
|
+
Variables: {{LINK:*}}
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# Git Workflow
|
|
7
|
+
|
|
8
|
+
## Commit Message Format
|
|
9
|
+
|
|
10
|
+
Use multi-line commit messages for detailed changes:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
git commit -m "refactor: description here
|
|
14
|
+
|
|
15
|
+
Additional context on second line."
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Pre-commit Hooks
|
|
19
|
+
|
|
20
|
+
**Never use `--no-verify`** to bypass pre-commit hooks. If hooks fail, it indicates a real issue that must be fixed:
|
|
21
|
+
|
|
22
|
+
1. Investigate the error message
|
|
23
|
+
2. Fix the underlying issue (lint errors, format issues, test failures)
|
|
24
|
+
3. Re-run the commit
|
|
25
|
+
|
|
26
|
+
Using `--no-verify` masks problems and defeats the purpose of automated quality checks.
|
|
27
|
+
|
|
28
|
+
## Commit Conventions
|
|
29
|
+
|
|
30
|
+
Follow conventional commits format:
|
|
31
|
+
- `feat:` - New features
|
|
32
|
+
- `fix:` - Bug fixes
|
|
33
|
+
- `refactor:` - Code changes that neither fix bugs nor add features
|
|
34
|
+
- `docs:` - Documentation only changes
|
|
35
|
+
- `chore:` - Maintenance tasks
|
|
36
|
+
- `test:` - Adding or updating tests
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaited/development-skills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Development skills for Claude Code - TypeScript LSP, code documentation, and validation tools",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"engines": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"bin/",
|
|
23
23
|
"src/",
|
|
24
|
-
".
|
|
24
|
+
".plaited/"
|
|
25
25
|
],
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
package/src/lsp-analyze.ts
CHANGED
package/src/lsp-find.ts
CHANGED
package/src/lsp-hover.ts
CHANGED
package/src/lsp-references.ts
CHANGED
package/src/lsp-symbols.ts
CHANGED