prpm 1.2.0 → 2.0.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/dist/index.js +18767 -13483
- package/dist/schemas/agents-md.schema.json +2 -1
- package/dist/schemas/aider.schema.json +24 -0
- package/dist/schemas/canonical.schema.json +5 -5
- package/dist/schemas/claude-agent.schema.json +15 -10
- package/dist/schemas/claude-hook.schema.json +5 -3
- package/dist/schemas/claude-plugin.schema.json +122 -0
- package/dist/schemas/claude-skill.schema.json +8 -8
- package/dist/schemas/claude-slash-command.schema.json +22 -8
- package/dist/schemas/claude.schema.json +2 -1
- package/dist/schemas/continue.schema.json +2 -1
- package/dist/schemas/copilot.schema.json +2 -1
- package/dist/schemas/cursor-command.schema.json +2 -1
- package/dist/schemas/cursor-hooks.schema.json +59 -0
- package/dist/schemas/cursor.schema.json +2 -16
- package/dist/schemas/droid-hook.schema.json +103 -0
- package/dist/schemas/droid-skill.schema.json +46 -0
- package/dist/schemas/droid-slash-command.schema.json +53 -0
- package/dist/schemas/droid.schema.json +2 -1
- package/dist/schemas/format-registry.schema.json +99 -0
- package/dist/schemas/gemini-md.schema.json +24 -0
- package/dist/schemas/gemini.schema.json +3 -2
- package/dist/schemas/kiro-agent.schema.json +2 -1
- package/dist/schemas/{kiro-hooks.schema.json → kiro-hook.schema.json} +3 -2
- package/dist/schemas/kiro-steering.schema.json +2 -1
- package/dist/schemas/mcp-server.schema.json +130 -0
- package/dist/schemas/opencode-slash-command.schema.json +60 -0
- package/dist/schemas/opencode.schema.json +16 -10
- package/dist/schemas/prpm-manifest.schema.json +8 -2
- package/dist/schemas/replit.schema.json +21 -0
- package/dist/schemas/ruler.schema.json +2 -1
- package/dist/schemas/trae.schema.json +24 -0
- package/dist/schemas/windsurf.schema.json +2 -1
- package/dist/schemas/zencoder.schema.json +51 -0
- package/package.json +11 -13
- package/schemas/prpm-manifest.schema.json +8 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/agents-md.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/agents-md.json",
|
|
4
|
+
"$comment": "https://docs.factory.ai/cli/configuration/agents-md",
|
|
4
5
|
"title": "agents.md Format",
|
|
5
6
|
"description": "JSON Schema for agents.md format - plain markdown project-specific AI instructions (NO frontmatter)",
|
|
6
7
|
"type": "object",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/aider.json",
|
|
4
|
+
"$comment": "https://aider.chat/docs/usage/conventions.html",
|
|
5
|
+
"title": "Aider CONVENTIONS.md Format",
|
|
6
|
+
"description": "JSON Schema for Aider CONVENTIONS.md format - plain markdown coding conventions (NO frontmatter)",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["content"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"content": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Plain markdown content with coding conventions, standards, and project-specific guidelines. No frontmatter allowed."
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"examples": [
|
|
17
|
+
{
|
|
18
|
+
"content": "# Coding Conventions\n\n## Python\n\n- Follow PEP 8\n- Use type hints\n- Write docstrings for all functions\n\n## Testing\n\n- Use pytest\n- Aim for 80% coverage"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"content": "# Project Standards\n\n## Code Review\n\n- All PRs need approval\n- Run linters before committing\n\n## Documentation\n\n- Update README for new features"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/canonical.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/canonical.json",
|
|
4
4
|
"title": "PRPM Canonical Package Format",
|
|
5
5
|
"description": "Universal intermediate format for AI prompt packages that can be converted to any editor-specific format",
|
|
6
6
|
"type": "object",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"format": {
|
|
38
38
|
"type": "string",
|
|
39
|
-
"enum": ["cursor", "claude", "continue", "windsurf", "copilot", "kiro", "agents.md", "generic", "mcp"],
|
|
39
|
+
"enum": ["cursor", "claude", "claude-plugin", "continue", "windsurf", "copilot", "kiro", "agents.md", "generic", "mcp", "gemini", "opencode", "ruler", "droid", "trae", "aider", "zencoder", "replit"],
|
|
40
40
|
"description": "Source format this was parsed from"
|
|
41
41
|
},
|
|
42
42
|
"subtype": {
|
|
43
43
|
"type": "string",
|
|
44
|
-
"enum": ["rule", "agent", "skill", "slash-command", "prompt", "workflow", "tool", "template", "collection", "chatmode", "hook"],
|
|
44
|
+
"enum": ["rule", "agent", "skill", "slash-command", "prompt", "workflow", "tool", "template", "collection", "chatmode", "hook", "plugin", "server"],
|
|
45
45
|
"description": "Subtype classification"
|
|
46
46
|
},
|
|
47
47
|
"content": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
},
|
|
188
188
|
"sourceFormat": {
|
|
189
189
|
"type": "string",
|
|
190
|
-
"enum": ["cursor", "claude", "continue", "windsurf", "copilot", "kiro", "agents.md", "generic"],
|
|
190
|
+
"enum": ["cursor", "claude", "claude-plugin", "continue", "windsurf", "copilot", "kiro", "agents.md", "generic", "mcp", "gemini", "opencode", "ruler", "droid", "trae", "aider", "zencoder", "replit"],
|
|
191
191
|
"description": "Original format this was parsed from"
|
|
192
192
|
},
|
|
193
193
|
"sourceUrl": {
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
},
|
|
419
419
|
"editorType": {
|
|
420
420
|
"type": "string",
|
|
421
|
-
"enum": ["cursor", "claude", "continue", "windsurf", "copilot", "kiro"]
|
|
421
|
+
"enum": ["cursor", "claude", "claude-plugin", "continue", "windsurf", "copilot", "kiro", "agents.md", "mcp", "gemini", "opencode", "ruler", "droid", "trae", "aider", "zencoder", "replit"]
|
|
422
422
|
},
|
|
423
423
|
"title": {
|
|
424
424
|
"type": "string"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/claude
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude/agent.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en/sub-agents",
|
|
4
5
|
"title": "Claude Agent Format",
|
|
5
6
|
"description": "JSON Schema for Claude Code Agents - long-running assistants with tool access",
|
|
6
7
|
"type": "object",
|
|
@@ -14,26 +15,30 @@
|
|
|
14
15
|
"type": "string",
|
|
15
16
|
"pattern": "^[a-z0-9-]+$",
|
|
16
17
|
"maxLength": 64,
|
|
17
|
-
"description": "
|
|
18
|
+
"description": "Unique identifier using lowercase letters and hyphens"
|
|
18
19
|
},
|
|
19
20
|
"description": {
|
|
20
21
|
"type": "string",
|
|
21
22
|
"maxLength": 1024,
|
|
22
|
-
"description": "
|
|
23
|
+
"description": "Natural language description of the subagent's purpose"
|
|
23
24
|
},
|
|
24
|
-
"
|
|
25
|
+
"tools": {
|
|
25
26
|
"type": "string",
|
|
26
|
-
"description": "Comma-separated list of
|
|
27
|
+
"description": "Comma-separated list of specific tools. If omitted, inherits all tools from the main thread"
|
|
27
28
|
},
|
|
28
29
|
"model": {
|
|
29
30
|
"type": "string",
|
|
30
31
|
"enum": ["sonnet", "opus", "haiku", "inherit"],
|
|
31
|
-
"description": "
|
|
32
|
+
"description": "Model to use for this subagent. Can be a model alias (sonnet, opus, haiku) or 'inherit' to use the main conversation's model. If omitted, defaults to the configured subagent model"
|
|
32
33
|
},
|
|
33
|
-
"
|
|
34
|
+
"permissionMode": {
|
|
34
35
|
"type": "string",
|
|
35
|
-
"
|
|
36
|
-
"description": "
|
|
36
|
+
"enum": ["default", "acceptEdits", "bypassPermissions", "plan", "ignore"],
|
|
37
|
+
"description": "Permission mode for the subagent. Controls how the subagent handles permission requests"
|
|
38
|
+
},
|
|
39
|
+
"skills": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Comma-separated list of skill names to auto-load when the subagent starts. Skills are loaded into the subagent's context automatically"
|
|
37
42
|
}
|
|
38
43
|
},
|
|
39
44
|
"additionalProperties": false
|
|
@@ -48,7 +53,7 @@
|
|
|
48
53
|
"frontmatter": {
|
|
49
54
|
"name": "code-reviewer",
|
|
50
55
|
"description": "Reviews code for best practices and potential issues",
|
|
51
|
-
"
|
|
56
|
+
"tools": "Read, Grep, Bash",
|
|
52
57
|
"model": "sonnet"
|
|
53
58
|
},
|
|
54
59
|
"content": "# 🔍 Code Reviewer\n\nYou are an expert code reviewer with deep knowledge of software engineering principles.\n\n## Instructions\n\n- Check for code smells and anti-patterns\n- Verify test coverage"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/claude
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude/hook.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en/hooks",
|
|
4
5
|
"title": "Claude Hook Format",
|
|
5
|
-
"description": "JSON Schema for Claude Code Hooks - executable code triggered by events",
|
|
6
|
+
"description": "JSON Schema for Claude Code Hooks - executable code triggered by events. Valid hook events: PreToolUse (blocks the tool call, shows stderr to Claude), PermissionRequest (denies the permission, shows stderr to Claude), PostToolUse (shows stderr to Claude, tool already ran), Notification (shows stderr to user only), UserPromptSubmit (blocks prompt processing, erases prompt, shows stderr to user only), Stop (blocks stoppage, shows stderr to Claude), SubagentStop (blocks stoppage, shows stderr to Claude subagent), PreCompact (shows stderr to user only), SessionStart (shows stderr to user only), SessionEnd (shows stderr to user only)",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"required": ["frontmatter", "content"],
|
|
8
9
|
"properties": {
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
"type": "string",
|
|
26
27
|
"enum": [
|
|
27
28
|
"PreToolUse",
|
|
29
|
+
"PermissionRequest",
|
|
28
30
|
"PostToolUse",
|
|
29
31
|
"UserPromptSubmit",
|
|
30
32
|
"Notification",
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
"SessionStart",
|
|
35
37
|
"SessionEnd"
|
|
36
38
|
],
|
|
37
|
-
"description": "Event that triggers this hook"
|
|
39
|
+
"description": "Event that triggers this hook. PreToolUse: blocks the tool call, shows stderr to Claude. PermissionRequest: denies the permission, shows stderr to Claude. PostToolUse: shows stderr to Claude (tool already ran). Notification: shows stderr to user only. UserPromptSubmit: blocks prompt processing, erases prompt, shows stderr to user only. Stop: blocks stoppage, shows stderr to Claude. SubagentStop: blocks stoppage, shows stderr to Claude subagent. PreCompact: shows stderr to user only. SessionStart: shows stderr to user only. SessionEnd: shows stderr to user only."
|
|
38
40
|
},
|
|
39
41
|
"language": {
|
|
40
42
|
"type": "string",
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude-plugin.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en/plugins",
|
|
5
|
+
"title": "Claude Plugin Format",
|
|
6
|
+
"description": "JSON Schema for Claude plugins - bundles of agents, skills, commands, and MCP server configurations",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["name"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Plugin identifier/slug (e.g., 'compounding-engineering')",
|
|
13
|
+
"pattern": "^[a-z0-9-]+$"
|
|
14
|
+
},
|
|
15
|
+
"version": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Semantic version (e.g., '1.0.0')",
|
|
18
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9.]+)?(\\+[a-zA-Z0-9.]+)?$"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Human-readable description of the plugin"
|
|
23
|
+
},
|
|
24
|
+
"author": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Author name and optional email (e.g., 'John Doe <john@example.com>')"
|
|
27
|
+
},
|
|
28
|
+
"license": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "SPDX license identifier (e.g., 'MIT', 'Apache-2.0')"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "uri",
|
|
35
|
+
"description": "Repository URL"
|
|
36
|
+
},
|
|
37
|
+
"homepage": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "uri",
|
|
40
|
+
"description": "Homepage URL"
|
|
41
|
+
},
|
|
42
|
+
"keywords": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"description": "Keywords for discovery"
|
|
48
|
+
},
|
|
49
|
+
"mcpServers": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"description": "MCP (Model Context Protocol) server configurations",
|
|
52
|
+
"additionalProperties": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"type": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": ["stdio", "http", "sse"],
|
|
58
|
+
"description": "Server transport type"
|
|
59
|
+
},
|
|
60
|
+
"command": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Command to run for stdio servers (e.g., 'npx')"
|
|
63
|
+
},
|
|
64
|
+
"args": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"description": "Arguments for the command"
|
|
70
|
+
},
|
|
71
|
+
"url": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"format": "uri",
|
|
74
|
+
"description": "URL for http/sse servers"
|
|
75
|
+
},
|
|
76
|
+
"env": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"description": "Environment variables for the server"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"oneOf": [
|
|
85
|
+
{
|
|
86
|
+
"required": ["command"],
|
|
87
|
+
"properties": {
|
|
88
|
+
"type": { "const": "stdio" }
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"required": ["url"],
|
|
93
|
+
"properties": {
|
|
94
|
+
"type": { "enum": ["http", "sse"] }
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"examples": [
|
|
102
|
+
{
|
|
103
|
+
"name": "compounding-engineering",
|
|
104
|
+
"version": "2.8.1",
|
|
105
|
+
"description": "AI-powered development tools with agents, commands, and MCP servers",
|
|
106
|
+
"author": "Kieran Klaassen <kieran@every.to>",
|
|
107
|
+
"license": "MIT",
|
|
108
|
+
"keywords": ["ai-powered", "code-review", "playwright", "browser-automation"],
|
|
109
|
+
"mcpServers": {
|
|
110
|
+
"playwright": {
|
|
111
|
+
"type": "stdio",
|
|
112
|
+
"command": "npx",
|
|
113
|
+
"args": ["-y", "@playwright/mcp@latest"]
|
|
114
|
+
},
|
|
115
|
+
"context7": {
|
|
116
|
+
"type": "http",
|
|
117
|
+
"url": "https://mcp.context7.com/mcp"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/claude
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude/skill.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en/skills",
|
|
4
5
|
"title": "Claude Skill Format",
|
|
5
6
|
"description": "JSON Schema for Claude Code Skills - reusable patterns invoked during conversation",
|
|
6
7
|
"type": "object",
|
|
@@ -21,14 +22,14 @@
|
|
|
21
22
|
"maxLength": 1024,
|
|
22
23
|
"description": "Brief overview of functionality and when to use it"
|
|
23
24
|
},
|
|
24
|
-
"
|
|
25
|
+
"license": {
|
|
25
26
|
"type": "string",
|
|
26
|
-
"
|
|
27
|
+
"maxLength": 128,
|
|
28
|
+
"description": "Optional license identifier for the skill (e.g., MIT, Apache-2.0)"
|
|
27
29
|
},
|
|
28
|
-
"
|
|
30
|
+
"allowed-tools": {
|
|
29
31
|
"type": "string",
|
|
30
|
-
"
|
|
31
|
-
"description": "Explicit marker for round-trip conversion"
|
|
32
|
+
"description": "Comma-separated list of tools the skill is allowed to use (e.g., 'Read, Edit, Bash')"
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
"additionalProperties": false
|
|
@@ -42,8 +43,7 @@
|
|
|
42
43
|
{
|
|
43
44
|
"frontmatter": {
|
|
44
45
|
"name": "refactor-helper",
|
|
45
|
-
"description": "Assists with code refactoring while maintaining functionality"
|
|
46
|
-
"allowed-tools": "Read, Edit, Grep"
|
|
46
|
+
"description": "Assists with code refactoring while maintaining functionality"
|
|
47
47
|
},
|
|
48
48
|
"content": "# Refactor Helper Skill\n\nHelps refactor code while maintaining functionality.\n\n## Guidelines\n\n- Preserve existing behavior\n- Improve code structure and readability"
|
|
49
49
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/claude
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude/slash-command.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en/slash-commands",
|
|
4
5
|
"title": "Claude Slash Command Format",
|
|
5
6
|
"description": "JSON Schema for Claude Code Slash Commands - quick actions triggered by /command-name",
|
|
6
7
|
"type": "object",
|
|
@@ -14,8 +15,18 @@
|
|
|
14
15
|
"description": "List of tools the command can use (inherits from conversation if not specified)"
|
|
15
16
|
},
|
|
16
17
|
"argument-hint": {
|
|
17
|
-
"
|
|
18
|
-
|
|
18
|
+
"oneOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The arguments expected for the slash command as a string (e.g., 'add [tagId] | remove [tagId] | list')"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": { "type": "string" },
|
|
26
|
+
"description": "The arguments expected for the slash command as an array of positional arguments (e.g., ['pr-number', 'priority', 'assignee'])"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"description": "The arguments expected for the slash command. Can be a string or array of positional arguments. Shown when auto-completing the command."
|
|
19
30
|
},
|
|
20
31
|
"description": {
|
|
21
32
|
"type": "string",
|
|
@@ -28,11 +39,6 @@
|
|
|
28
39
|
"disable-model-invocation": {
|
|
29
40
|
"type": "boolean",
|
|
30
41
|
"description": "Whether to prevent SlashCommand tool from calling this command"
|
|
31
|
-
},
|
|
32
|
-
"commandType": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"const": "slash-command",
|
|
35
|
-
"description": "Explicit marker for round-trip conversion (PRPM extension)"
|
|
36
42
|
}
|
|
37
43
|
},
|
|
38
44
|
"additionalProperties": false
|
|
@@ -58,6 +64,14 @@
|
|
|
58
64
|
"allowed-tools": "Read, Write"
|
|
59
65
|
},
|
|
60
66
|
"content": "# Tag Manager\n\nManage tags for project files.\n\n## Usage\n\n- `/tags add <tagId>` - Add a tag\n- `/tags remove <tagId>` - Remove a tag\n- `/tags list` - List all tags"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"frontmatter": {
|
|
70
|
+
"description": "Bulk build GitHub Actions for PRs",
|
|
71
|
+
"argument-hint": ["pr-number", "priority", "assignee"],
|
|
72
|
+
"allowed-tools": "Bash, Read"
|
|
73
|
+
},
|
|
74
|
+
"content": "# Bulk Build Actions\n\nBuild GitHub Actions for multiple PRs.\n\n## Arguments\n\n- `pr-number` - The PR number to build\n- `priority` - Build priority (high, normal, low)\n- `assignee` - Person responsible for the build"
|
|
61
75
|
}
|
|
62
76
|
]
|
|
63
77
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/claude.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/claude.json",
|
|
4
|
+
"$comment": "https://code.claude.com/docs/en",
|
|
4
5
|
"title": "Claude Code Format",
|
|
5
6
|
"description": "JSON Schema for Claude Code agents, skills, and slash commands format",
|
|
6
7
|
"type": "object",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/continue.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/continue.json",
|
|
4
|
+
"$comment": "https://docs.continue.dev/customize/deep-dives/rules",
|
|
4
5
|
"title": "Continue Rules Format",
|
|
5
6
|
"description": "JSON Schema for Continue rules format - markdown with optional YAML frontmatter or YAML configuration",
|
|
6
7
|
"type": "object",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/copilot.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/copilot.json",
|
|
4
|
+
"$comment": "https://docs.github.com/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot",
|
|
4
5
|
"title": "GitHub Copilot Instructions Format",
|
|
5
6
|
"description": "JSON Schema for GitHub Copilot instructions (.github/copilot-instructions.md or .github/instructions/*.instructions.md)",
|
|
6
7
|
"type": "object",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/cursor
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/cursor/command.json",
|
|
4
|
+
"$comment": "https://cursor.com/docs/agent/chat/commands#commands",
|
|
4
5
|
"title": "Cursor Command Format",
|
|
5
6
|
"description": "JSON Schema for Cursor commands (slash commands) - plain Markdown files in .cursor/commands/",
|
|
6
7
|
"type": "object",
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/cursor-hooks.json",
|
|
4
|
+
"title": "Cursor Hooks Configuration",
|
|
5
|
+
"description": "JSON Schema for Cursor hooks.json configuration files",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"beforeShellExecution": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Path to script that runs before shell commands are executed"
|
|
11
|
+
},
|
|
12
|
+
"afterShellExecution": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Path to script that runs after shell commands are executed"
|
|
15
|
+
},
|
|
16
|
+
"beforeMCPExecution": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Path to script that runs before MCP tool calls"
|
|
19
|
+
},
|
|
20
|
+
"afterMCPExecution": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Path to script that runs after MCP tool calls"
|
|
23
|
+
},
|
|
24
|
+
"beforeReadFile": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Path to script that runs before files are read"
|
|
27
|
+
},
|
|
28
|
+
"afterFileEdit": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Path to script that runs after files are edited"
|
|
31
|
+
},
|
|
32
|
+
"beforeSubmitPrompt": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Path to script that runs before prompts are submitted"
|
|
35
|
+
},
|
|
36
|
+
"stop": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Path to script that runs when agent loop stops"
|
|
39
|
+
},
|
|
40
|
+
"afterAgentResponse": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Path to script that runs after agent responses"
|
|
43
|
+
},
|
|
44
|
+
"afterAgentThought": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Path to script that runs after agent thoughts"
|
|
47
|
+
},
|
|
48
|
+
"beforeTabFileRead": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Path to script that runs before tab file reads"
|
|
51
|
+
},
|
|
52
|
+
"afterTabFileEdit": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Path to script that runs after tab file edits"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"minProperties": 1
|
|
59
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://prpm.dev/schemas/cursor.
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/cursor.json",
|
|
4
|
+
"$comment": "https://cursor.com/docs/context/rules",
|
|
4
5
|
"title": "Cursor Rules Format",
|
|
5
6
|
"description": "JSON Schema for Cursor .cursor/rules format with MDC (Markdown Components) frontmatter",
|
|
6
7
|
"type": "object",
|
|
@@ -37,21 +38,6 @@
|
|
|
37
38
|
"items": {
|
|
38
39
|
"type": "string"
|
|
39
40
|
}
|
|
40
|
-
},
|
|
41
|
-
"agentType": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"enum": ["agent"],
|
|
44
|
-
"description": "Marks as agent subtype (PRPM extension for round-trip conversion)"
|
|
45
|
-
},
|
|
46
|
-
"skillType": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"enum": ["skill"],
|
|
49
|
-
"description": "Marks as skill subtype (PRPM extension for round-trip conversion)"
|
|
50
|
-
},
|
|
51
|
-
"commandType": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"enum": ["slash-command"],
|
|
54
|
-
"description": "Marks as slash command subtype (PRPM extension for round-trip conversion)"
|
|
55
41
|
}
|
|
56
42
|
},
|
|
57
43
|
"additionalProperties": false
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://registry.prpm.dev/api/v1/schemas/droid/hook.json",
|
|
4
|
+
"$comment": "https://docs.factory.ai/cli/configuration/hooks",
|
|
5
|
+
"title": "Factory Droid Hook Format",
|
|
6
|
+
"description": "JSON Schema for Factory Droid Hooks - defined in settings.json files. Valid hook events: PreToolUse (runs before tool calls, can block them), PostToolUse (runs after tool calls complete), UserPromptSubmit (runs when user submits a prompt, before Droid processes it), Notification (runs when Droid sends notifications), Stop (runs when Droid finishes responding), SubagentStop (runs when sub-droid tasks complete), PreCompact (runs before Droid runs a compact operation), SessionStart (runs when Droid starts a new session or resumes an existing session), SessionEnd (runs when Droid session ends)",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["hooks"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"hooks": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"description": "Hook configurations organized by event type. Each key must be a valid hook event name.",
|
|
13
|
+
"patternProperties": {
|
|
14
|
+
"^(PreToolUse|PostToolUse|Notification|UserPromptSubmit|Stop|SubagentStop|PreCompact|SessionStart|SessionEnd)$": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"description": "Array of hook configurations for this event. PreToolUse: runs before tool calls (can block them). PostToolUse: runs after tool calls complete. UserPromptSubmit: runs when user submits a prompt, before Droid processes it. Notification: runs when Droid sends notifications. Stop: runs when Droid finishes responding. SubagentStop: runs when sub-droid tasks complete. PreCompact: runs before Droid runs a compact operation. SessionStart: runs when Droid starts a new session or resumes an existing session. SessionEnd: runs when Droid session ends.",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["hooks"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"matcher": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Pattern for tool names. Supports exact strings, regex, or '*' for all tools. Optional for most events."
|
|
24
|
+
},
|
|
25
|
+
"hooks": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"description": "Array of commands to execute",
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": ["type", "command"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"type": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["command"],
|
|
36
|
+
"description": "Hook type (currently only 'command' is supported)"
|
|
37
|
+
},
|
|
38
|
+
"command": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Bash command to run. Supports $FACTORY_PROJECT_DIR variable."
|
|
41
|
+
},
|
|
42
|
+
"timeout": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"description": "Execution limit in seconds (defaults to 60)",
|
|
45
|
+
"default": 60,
|
|
46
|
+
"minimum": 1
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"description": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Optional description for plugin hooks"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"examples": [
|
|
63
|
+
{
|
|
64
|
+
"hooks": {
|
|
65
|
+
"PreToolUse": [
|
|
66
|
+
{
|
|
67
|
+
"matcher": "write",
|
|
68
|
+
"hooks": [
|
|
69
|
+
{
|
|
70
|
+
"type": "command",
|
|
71
|
+
"command": "prettier --write \"$FACTORY_PROJECT_DIR/src/**/*.ts\"",
|
|
72
|
+
"timeout": 30
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"PostToolUse": [
|
|
78
|
+
{
|
|
79
|
+
"matcher": "*",
|
|
80
|
+
"hooks": [
|
|
81
|
+
{
|
|
82
|
+
"type": "command",
|
|
83
|
+
"command": "git add .",
|
|
84
|
+
"timeout": 60
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"SessionStart": [
|
|
90
|
+
{
|
|
91
|
+
"matcher": "startup",
|
|
92
|
+
"hooks": [
|
|
93
|
+
{
|
|
94
|
+
"type": "command",
|
|
95
|
+
"command": "echo 'Session started at $(date)' >> $FACTORY_PROJECT_DIR/.factory/session.log"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|