@a16njs/plugin-claude 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +6 -45
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @a16njs/plugin-claude
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@a16njs/plugin-claude.svg)](https://www.npmjs.com/package/@a16njs/plugin-claude)
4
+
3
5
  Claude Code plugin for a16n. Discovers and emits Claude configuration.
4
6
 
5
7
  ## Installation
@@ -83,51 +85,6 @@ FileRules are converted using `@a16njs/glob-hook` for runtime glob matching:
83
85
  }
84
86
  ```
85
87
 
86
- > **Note:** FileRule conversion emits an "Approximated" warning because hook-based matching may differ slightly from Cursor's native glob matching.
87
-
88
- ### settings.json (AgentIgnore via permissions.deny)
89
-
90
- AgentIgnore patterns are converted to `permissions.deny` Read rules:
91
-
92
- ```json
93
- {
94
- "permissions": {
95
- "deny": [
96
- "Read(./dist/**)",
97
- "Read(./.env)",
98
- "Read(./**/*.log)",
99
- "Read(./secrets/**)"
100
- ]
101
- }
102
- }
103
- ```
104
-
105
- Pattern conversion rules:
106
- - `dist/` → `Read(./dist/**)`
107
- - `.env` → `Read(./.env)`
108
- - `*.log` → `Read(./**/*.log)`
109
- - `**/*.tmp` → `Read(./**/*.tmp)`
110
-
111
- > **Note:** AgentIgnore conversion emits an "Approximated" warning because Claude's permission system may behave slightly differently than `.cursorignore`.
112
-
113
- ### SKILL.md from AgentCommand
114
-
115
- When Cursor commands are converted to Claude, they become skills:
116
-
117
- ```markdown
118
- ---
119
- name: "review"
120
- description: "Invoke with /review"
121
- ---
122
-
123
- Review this code for:
124
- - Security vulnerabilities
125
- - Performance issues
126
- - Code style violations
127
- ```
128
-
129
- The `description: "Invoke with /review"` enables slash command invocation in Claude, mirroring Cursor's `/review` behavior.
130
-
131
88
  ## Usage
132
89
 
133
90
  ```typescript
@@ -143,3 +100,7 @@ console.log(`Found ${result.items.length} items`);
143
100
  // Emit to Claude format
144
101
  await claudePlugin.emit(result.items, './my-project');
145
102
  ```
103
+
104
+ ## Documentation
105
+
106
+ Full documentation available at <https://texarkanine.github.io/a16n/plugin-claude>.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a16njs/plugin-claude",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Claude Code plugin for a16n",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "Texarkanine",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@a16njs/models": "0.3.0"
36
+ "@a16njs/models": "0.4.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^20.0.0",