claudecode-linter 2.1.150 → 2.1.153
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/.claudecode-lint.defaults.yaml +8 -2
- package/contracts/agent-frontmatter.schema.json +2 -2
- package/contracts/command-frontmatter.schema.json +56 -2
- package/contracts/hooks.schema.json +2 -2
- package/contracts/lsp.schema.json +2 -2
- package/contracts/mcp.schema.json +26 -2
- package/contracts/monitors.schema.json +3 -3
- package/contracts/plugin.schema.json +672 -22
- package/contracts/schemastore/keybindings.schema.json +179 -0
- package/contracts/schemastore/manifest.json +25 -0
- package/contracts/schemastore/marketplace.schema.json +2067 -0
- package/contracts/schemastore/plugin-manifest.schema.json +1834 -0
- package/contracts/schemastore/settings.schema.json +3240 -0
- package/contracts/settings.schema.json +93 -4
- package/contracts/skill-frontmatter.schema.json +56 -2
- package/dist/contracts.js +6 -1
- package/dist/discovery.js +23 -0
- package/dist/fixers/mcp-json.js +6 -0
- package/dist/index.js +8 -0
- package/dist/linters/agent-md.js +16 -7
- package/dist/linters/keybindings-json.js +53 -0
- package/dist/linters/marketplace-json.js +55 -0
- package/dist/linters/mcp-json.js +8 -0
- package/dist/linters/plugin-json.js +8 -0
- package/dist/linters/settings-json.js +89 -16
- package/dist/linters/skill-md.js +7 -1
- package/dist/plugin-schema.js +89 -41
- package/package.json +4 -2
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://json.schemastore.org/claude-code-keybindings.json",
|
|
4
|
+
"$defs": {
|
|
5
|
+
"keybindingBlock": {
|
|
6
|
+
"description": "A block of keybindings for a specific UI context",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"context": {
|
|
10
|
+
"$ref": "#/$defs/context"
|
|
11
|
+
},
|
|
12
|
+
"bindings": {
|
|
13
|
+
"description": "Map of keystroke patterns to actions.\nhttps://code.claude.com/docs/en/keybindings",
|
|
14
|
+
"type": "object",
|
|
15
|
+
"propertyNames": {
|
|
16
|
+
"$ref": "#/$defs/keystrokePattern"
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": {
|
|
19
|
+
"$ref": "#/$defs/bindingValue"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"context",
|
|
25
|
+
"bindings"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
},
|
|
29
|
+
"context": {
|
|
30
|
+
"description": "UI context where these bindings apply. Global bindings work everywhere.\nhttps://code.claude.com/docs/en/keybindings",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"Global",
|
|
34
|
+
"Chat",
|
|
35
|
+
"Autocomplete",
|
|
36
|
+
"Confirmation",
|
|
37
|
+
"Help",
|
|
38
|
+
"Transcript",
|
|
39
|
+
"HistorySearch",
|
|
40
|
+
"Task",
|
|
41
|
+
"ThemePicker",
|
|
42
|
+
"Settings",
|
|
43
|
+
"Tabs",
|
|
44
|
+
"Attachments",
|
|
45
|
+
"Footer",
|
|
46
|
+
"MessageSelector",
|
|
47
|
+
"DiffDialog",
|
|
48
|
+
"ModelPicker",
|
|
49
|
+
"Select",
|
|
50
|
+
"Plugin"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"keystrokePattern": {
|
|
54
|
+
"description": "Keystroke pattern such as \"ctrl+k\", \"shift+tab\", or chord \"ctrl+k ctrl+s\"",
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"bindingValue": {
|
|
58
|
+
"description": "Action to trigger, command to invoke, or null to unbind a default shortcut",
|
|
59
|
+
"anyOf": [
|
|
60
|
+
{
|
|
61
|
+
"$ref": "#/$defs/builtinAction"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"$ref": "#/$defs/commandBinding"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"description": "Set to null to unbind a default shortcut",
|
|
68
|
+
"type": "null"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"builtinAction": {
|
|
73
|
+
"description": "Built-in action identifier.\nhttps://code.claude.com/docs/en/keybindings",
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"app:interrupt",
|
|
77
|
+
"app:exit",
|
|
78
|
+
"app:toggleTodos",
|
|
79
|
+
"app:toggleTranscript",
|
|
80
|
+
"app:toggleTeammatePreview",
|
|
81
|
+
"history:search",
|
|
82
|
+
"history:previous",
|
|
83
|
+
"history:next",
|
|
84
|
+
"chat:cancel",
|
|
85
|
+
"chat:cycleMode",
|
|
86
|
+
"chat:modelPicker",
|
|
87
|
+
"chat:thinkingToggle",
|
|
88
|
+
"chat:submit",
|
|
89
|
+
"chat:undo",
|
|
90
|
+
"chat:externalEditor",
|
|
91
|
+
"chat:stash",
|
|
92
|
+
"chat:imagePaste",
|
|
93
|
+
"autocomplete:accept",
|
|
94
|
+
"autocomplete:dismiss",
|
|
95
|
+
"autocomplete:previous",
|
|
96
|
+
"autocomplete:next",
|
|
97
|
+
"confirm:yes",
|
|
98
|
+
"confirm:no",
|
|
99
|
+
"confirm:previous",
|
|
100
|
+
"confirm:next",
|
|
101
|
+
"confirm:nextField",
|
|
102
|
+
"confirm:previousField",
|
|
103
|
+
"confirm:cycleMode",
|
|
104
|
+
"confirm:toggleExplanation",
|
|
105
|
+
"tabs:next",
|
|
106
|
+
"tabs:previous",
|
|
107
|
+
"transcript:toggleShowAll",
|
|
108
|
+
"transcript:exit",
|
|
109
|
+
"historySearch:next",
|
|
110
|
+
"historySearch:accept",
|
|
111
|
+
"historySearch:cancel",
|
|
112
|
+
"historySearch:execute",
|
|
113
|
+
"task:background",
|
|
114
|
+
"theme:toggleSyntaxHighlighting",
|
|
115
|
+
"help:dismiss",
|
|
116
|
+
"attachments:next",
|
|
117
|
+
"attachments:previous",
|
|
118
|
+
"attachments:remove",
|
|
119
|
+
"attachments:exit",
|
|
120
|
+
"footer:next",
|
|
121
|
+
"footer:previous",
|
|
122
|
+
"footer:openSelected",
|
|
123
|
+
"footer:clearSelection",
|
|
124
|
+
"messageSelector:up",
|
|
125
|
+
"messageSelector:down",
|
|
126
|
+
"messageSelector:top",
|
|
127
|
+
"messageSelector:bottom",
|
|
128
|
+
"messageSelector:select",
|
|
129
|
+
"diff:dismiss",
|
|
130
|
+
"diff:previousSource",
|
|
131
|
+
"diff:nextSource",
|
|
132
|
+
"diff:back",
|
|
133
|
+
"diff:viewDetails",
|
|
134
|
+
"diff:previousFile",
|
|
135
|
+
"diff:nextFile",
|
|
136
|
+
"modelPicker:decreaseEffort",
|
|
137
|
+
"modelPicker:increaseEffort",
|
|
138
|
+
"select:next",
|
|
139
|
+
"select:previous",
|
|
140
|
+
"select:accept",
|
|
141
|
+
"select:cancel",
|
|
142
|
+
"plugin:toggle",
|
|
143
|
+
"plugin:install",
|
|
144
|
+
"permission:toggleDebug",
|
|
145
|
+
"settings:search",
|
|
146
|
+
"settings:retry"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"commandBinding": {
|
|
150
|
+
"description": "Command binding that executes a slash command as if typed (e.g., \"command:commit\", \"command:help\")",
|
|
151
|
+
"type": "string",
|
|
152
|
+
"pattern": "^command:[a-zA-Z0-9:\\-_]+$"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"description": "Keyboard shortcut configuration for Claude Code.\nhttps://code.claude.com/docs/en/keybindings",
|
|
156
|
+
"title": "Claude Code Keybindings",
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"$schema": {
|
|
160
|
+
"description": "JSON Schema URL for editor validation",
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"$docs": {
|
|
164
|
+
"description": "Documentation URL",
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"bindings": {
|
|
168
|
+
"description": "Array of keybinding blocks, each scoping bindings to a UI context",
|
|
169
|
+
"type": "array",
|
|
170
|
+
"items": {
|
|
171
|
+
"$ref": "#/$defs/keybindingBlock"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"bindings"
|
|
177
|
+
],
|
|
178
|
+
"additionalProperties": false
|
|
179
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fetchedAt": "2026-05-28T01:01:29.573Z",
|
|
3
|
+
"sources": {
|
|
4
|
+
"plugin-manifest.schema.json": {
|
|
5
|
+
"url": "https://www.schemastore.org/claude-code-plugin-manifest.json",
|
|
6
|
+
"artifact": "plugin-json",
|
|
7
|
+
"sha256": "73b89e5d99829bc513167d2422a785921fa3c8114065c653192d34863e2a6db5"
|
|
8
|
+
},
|
|
9
|
+
"marketplace.schema.json": {
|
|
10
|
+
"url": "https://www.schemastore.org/claude-code-marketplace.json",
|
|
11
|
+
"artifact": "marketplace-json",
|
|
12
|
+
"sha256": "5cdeeab5dd6c94889fb717aeabc29651c0eb5dc600f9897b17f310f834547886"
|
|
13
|
+
},
|
|
14
|
+
"keybindings.schema.json": {
|
|
15
|
+
"url": "https://www.schemastore.org/claude-code-keybindings.json",
|
|
16
|
+
"artifact": "keybindings-json",
|
|
17
|
+
"sha256": "9c4cadb42c6ff6f2def37e7d52bdb601ee3ed6881805700555bbc4ec1485f23b"
|
|
18
|
+
},
|
|
19
|
+
"settings.schema.json": {
|
|
20
|
+
"url": "https://www.schemastore.org/claude-code-settings.json",
|
|
21
|
+
"artifact": "settings-json",
|
|
22
|
+
"sha256": "b391de2b29df49cd20ba61049f1f1cea8cdbe7695c7015808ef2fe6e39639a7d"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|