prr-kit 1.0.0 → 1.1.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/README.md +235 -226
- package/package.json +60 -60
- package/src/prr/workflows/2-analyze/describe-pr/templates/pr-description.template.md +51 -51
- package/src/prr/workflows/3-review/architecture-review/workflow.yaml +18 -18
- package/src/prr/workflows/3-review/general-review/workflow.yaml +18 -18
- package/src/prr/workflows/3-review/performance-review/workflow.yaml +18 -18
- package/src/prr/workflows/3-review/security-review/workflow.yaml +19 -19
- package/src/prr/workflows/4-improve/improve-code/workflow.yaml +18 -18
- package/src/prr/workflows/6-report/generate-report/templates/review-report.template.md +78 -78
- package/tools/cli/installers/lib/core/installer.js +162 -162
- package/tools/cli/installers/lib/ide/_config-driven.js +70 -0
- package/tools/cli/installers/lib/ide/codex.js +128 -0
- package/tools/cli/installers/lib/ide/github-copilot.js +262 -0
- package/tools/cli/installers/lib/ide/kilo.js +132 -0
- package/tools/cli/installers/lib/ide/manager.js +37 -1
- package/tools/cli/installers/lib/ide/platform-codes.yaml +104 -4
- package/tools/cli/installers/lib/ide/templates/combined/antigravity-agent.md +15 -0
- package/tools/cli/installers/lib/ide/templates/combined/antigravity-workflow.md +8 -0
- package/tools/cli/installers/lib/ide/templates/combined/gemini-agent.md +16 -0
- package/tools/cli/installers/lib/ide/templates/combined/gemini-workflow.md +7 -0
- package/tools/cli/installers/lib/ide/templates/combined/kiro-agent.md +16 -0
- package/tools/cli/installers/lib/ide/templates/combined/kiro-workflow.md +9 -0
- package/tools/cli/installers/lib/ide/templates/combined/opencode-agent.md +15 -0
- package/tools/cli/installers/lib/ide/templates/combined/opencode-workflow.md +6 -0
- package/tools/cli/installers/lib/ide/templates/combined/rovodev-agent.md +10 -0
- package/tools/cli/installers/lib/ide/templates/combined/rovodev-workflow.md +9 -0
- package/tools/cli/installers/lib/ide/templates/combined/trae-agent.md +11 -0
- package/tools/cli/installers/lib/ide/templates/combined/trae-workflow.md +9 -0
- package/tools/cli/prr-cli.js +36 -36
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: '{{name}}'
|
|
3
|
+
description: '{{description}}'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
|
7
|
+
|
|
8
|
+
<agent-activation CRITICAL="TRUE">
|
|
9
|
+
1. LOAD the FULL agent file from {project-root}/{{prrFolderName}}/{{path}}
|
|
10
|
+
2. READ its entire contents - this contains the complete agent persona, menu, and instructions
|
|
11
|
+
3. FOLLOW every step in the <activation> section precisely
|
|
12
|
+
4. DISPLAY the welcome/greeting as instructed
|
|
13
|
+
5. PRESENT the numbered menu
|
|
14
|
+
6. WAIT for user input before proceeding
|
|
15
|
+
</agent-activation>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: '{{name}}'
|
|
3
|
+
description: '{{description}}'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
|
|
7
|
+
|
|
8
|
+
Read the entire agent file at: {project-root}/{{prrFolderName}}/{{path}}
|
|
9
|
+
|
|
10
|
+
Follow all instructions in the agent file exactly as written.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# {{name}}
|
|
2
|
+
|
|
3
|
+
{{description}}
|
|
4
|
+
|
|
5
|
+
## Instructions
|
|
6
|
+
|
|
7
|
+
You must fully embody this agent's persona and follow all activation instructions exactly as specified.
|
|
8
|
+
|
|
9
|
+
Read the entire agent file at: {project-root}/{{prrFolderName}}/{{path}}
|
|
10
|
+
|
|
11
|
+
Follow all instructions in the agent file exactly as written.
|
package/tools/cli/prr-cli.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* PR Review CLI — Main entry point
|
|
4
|
-
* Usage: node tools/cli/prr-cli.js <command> [options]
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
const { program } = require('commander');
|
|
8
|
-
const path = require('node:path');
|
|
9
|
-
const fs = require('node:fs');
|
|
10
|
-
|
|
11
|
-
const packageJson = require('../../package.json');
|
|
12
|
-
|
|
13
|
-
// Dynamically load all command modules from commands/
|
|
14
|
-
const commandsPath = path.join(__dirname, 'commands');
|
|
15
|
-
const commandFiles = fs.readdirSync(commandsPath).filter((f) => f.endsWith('.js'));
|
|
16
|
-
|
|
17
|
-
for (const file of commandFiles) {
|
|
18
|
-
const cmd = require(path.join(commandsPath, file));
|
|
19
|
-
|
|
20
|
-
const command = program
|
|
21
|
-
.command(cmd.command)
|
|
22
|
-
.description(cmd.description);
|
|
23
|
-
|
|
24
|
-
for (const option of cmd.options || []) {
|
|
25
|
-
command.option(...option);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
command.action(cmd.action);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
program
|
|
32
|
-
.name('pr-review')
|
|
33
|
-
.version(packageJson.version)
|
|
34
|
-
.description('PR Review
|
|
35
|
-
|
|
36
|
-
program.parse(process.argv);
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* PR Review CLI — Main entry point
|
|
4
|
+
* Usage: node tools/cli/prr-cli.js <command> [options]
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const { program } = require('commander');
|
|
8
|
+
const path = require('node:path');
|
|
9
|
+
const fs = require('node:fs');
|
|
10
|
+
|
|
11
|
+
const packageJson = require('../../package.json');
|
|
12
|
+
|
|
13
|
+
// Dynamically load all command modules from commands/
|
|
14
|
+
const commandsPath = path.join(__dirname, 'commands');
|
|
15
|
+
const commandFiles = fs.readdirSync(commandsPath).filter((f) => f.endsWith('.js'));
|
|
16
|
+
|
|
17
|
+
for (const file of commandFiles) {
|
|
18
|
+
const cmd = require(path.join(commandsPath, file));
|
|
19
|
+
|
|
20
|
+
const command = program
|
|
21
|
+
.command(cmd.command)
|
|
22
|
+
.description(cmd.description);
|
|
23
|
+
|
|
24
|
+
for (const option of cmd.options || []) {
|
|
25
|
+
command.option(...option);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
command.action(cmd.action);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
program
|
|
32
|
+
.name('pr-review')
|
|
33
|
+
.version(packageJson.version)
|
|
34
|
+
.description('PR Review Kit — AI-driven code review agent system');
|
|
35
|
+
|
|
36
|
+
program.parse(process.argv);
|