@devobsessed/code-captain 0.1.0 → 0.2.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 +1 -1
- package/bin/install.js +48 -18
- package/claude-code/commands/cc-create-spec.md +627 -0
- package/copilot/README.md +27 -27
- package/copilot/{chatmodes/Code Captain.chatmode.md → agents/Code Captain.agent.md } +16 -18
- package/copilot/copilot-instructions.md +64 -0
- package/copilot/prompts/create-adr.prompt.md +18 -106
- package/copilot/prompts/create-spec.prompt.md +26 -113
- package/copilot/prompts/edit-spec.prompt.md +11 -180
- package/copilot/prompts/execute-task.prompt.md +7 -22
- package/copilot/prompts/explain-code.prompt.md +14 -139
- package/copilot/prompts/initialize.prompt.md +9 -12
- package/copilot/prompts/new-command.prompt.md +25 -213
- package/copilot/prompts/plan-product.prompt.md +15 -306
- package/copilot/prompts/research.prompt.md +12 -139
- package/copilot/prompts/status.prompt.md +37 -365
- package/copilot/prompts/swab.prompt.md +9 -135
- package/manifest.json +123 -107
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ _AI-first development with built-in agent system_
|
|
|
54
54
|
|
|
55
55
|
_Classic VS Code with Copilot Chat integration_
|
|
56
56
|
|
|
57
|
-
- Custom
|
|
57
|
+
- Custom agents and prompts
|
|
58
58
|
- `.github/` repository integration
|
|
59
59
|
- Team collaboration features
|
|
60
60
|
- **→ [Copilot Setup Guide](copilot/README.md)**
|
package/bin/install.js
CHANGED
|
@@ -37,9 +37,10 @@ class CodeCaptainInstaller {
|
|
|
37
37
|
},
|
|
38
38
|
copilot: {
|
|
39
39
|
name: "Copilot",
|
|
40
|
-
description:
|
|
40
|
+
description:
|
|
41
|
+
"VS Code or Visual Studio with GitHub Copilot",
|
|
41
42
|
details:
|
|
42
|
-
"Uses .github/
|
|
43
|
+
"Uses .github/copilot-instructions.md + .github/agents/ + .github/prompts/ + .code-captain/docs/",
|
|
43
44
|
},
|
|
44
45
|
claude: {
|
|
45
46
|
name: "Claude Code",
|
|
@@ -125,7 +126,11 @@ class CodeCaptainInstaller {
|
|
|
125
126
|
".cursor/rules/cc.mdc",
|
|
126
127
|
".cursor/rules/",
|
|
127
128
|
],
|
|
128
|
-
"Copilot Integration": [
|
|
129
|
+
"Copilot Integration": [
|
|
130
|
+
".github/copilot-instructions.md",
|
|
131
|
+
".github/agents/",
|
|
132
|
+
".github/prompts/",
|
|
133
|
+
],
|
|
129
134
|
"Claude Integration": [
|
|
130
135
|
".code-captain/claude/",
|
|
131
136
|
"claude-code/",
|
|
@@ -679,7 +684,12 @@ class CodeCaptainInstaller {
|
|
|
679
684
|
case "copilot":
|
|
680
685
|
return [
|
|
681
686
|
...baseChoices,
|
|
682
|
-
{
|
|
687
|
+
{
|
|
688
|
+
name: "Copilot Instructions (.github/copilot-instructions.md)",
|
|
689
|
+
value: "instructions",
|
|
690
|
+
checked: true,
|
|
691
|
+
},
|
|
692
|
+
{ name: "Copilot Agents", value: "agents", checked: true },
|
|
683
693
|
{ name: "Copilot Prompts", value: "prompts", checked: true },
|
|
684
694
|
];
|
|
685
695
|
|
|
@@ -897,12 +907,21 @@ class CodeCaptainInstaller {
|
|
|
897
907
|
break;
|
|
898
908
|
|
|
899
909
|
case "copilot":
|
|
900
|
-
//
|
|
901
|
-
if (includeAll || selectedComponents.includes("
|
|
910
|
+
// Instructions
|
|
911
|
+
if (includeAll || selectedComponents.includes("instructions")) {
|
|
912
|
+
files.push({
|
|
913
|
+
source: "copilot/copilot-instructions.md",
|
|
914
|
+
target: ".github/copilot-instructions.md",
|
|
915
|
+
component: "instructions",
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
// Agents
|
|
920
|
+
if (includeAll || selectedComponents.includes("agents")) {
|
|
902
921
|
files.push({
|
|
903
|
-
source: "copilot/
|
|
904
|
-
target: ".github/
|
|
905
|
-
component: "
|
|
922
|
+
source: "copilot/agents/Code Captain.agent.md",
|
|
923
|
+
target: ".github/agents/Code Captain.agent.md",
|
|
924
|
+
component: "agents",
|
|
906
925
|
});
|
|
907
926
|
}
|
|
908
927
|
|
|
@@ -1101,21 +1120,32 @@ class CodeCaptainInstaller {
|
|
|
1101
1120
|
case "copilot":
|
|
1102
1121
|
console.log(
|
|
1103
1122
|
chalk.blue("1.") +
|
|
1104
|
-
" Restart
|
|
1105
|
-
|
|
1123
|
+
" Restart your IDE to load the new files"
|
|
1124
|
+
);
|
|
1125
|
+
console.log(
|
|
1126
|
+
chalk.blue("2.") +
|
|
1127
|
+
" " +
|
|
1128
|
+
chalk.cyan(".github/copilot-instructions.md") +
|
|
1129
|
+
" is automatically included in every Copilot request"
|
|
1130
|
+
);
|
|
1131
|
+
console.log(
|
|
1132
|
+
chalk.bold.yellow("\n VS Code:")
|
|
1106
1133
|
);
|
|
1107
|
-
console.log(chalk.blue("2.") + " Open Copilot Chat in VS Code");
|
|
1108
1134
|
console.log(
|
|
1109
1135
|
chalk.blue("3.") +
|
|
1110
|
-
"
|
|
1111
|
-
chalk.cyan("
|
|
1112
|
-
"
|
|
1136
|
+
" Select the " +
|
|
1137
|
+
chalk.cyan("Code Captain") +
|
|
1138
|
+
" agent from the agent picker, or invoke prompts with " +
|
|
1139
|
+
chalk.cyan("/command-name")
|
|
1140
|
+
);
|
|
1141
|
+
console.log(
|
|
1142
|
+
chalk.bold.yellow("\n Visual Studio:")
|
|
1113
1143
|
);
|
|
1114
1144
|
console.log(
|
|
1115
1145
|
chalk.blue("4.") +
|
|
1116
|
-
"
|
|
1117
|
-
chalk.cyan("
|
|
1118
|
-
"
|
|
1146
|
+
" Invoke prompts with " +
|
|
1147
|
+
chalk.cyan("#command-name") +
|
|
1148
|
+
" in Copilot Chat (agents are not supported)"
|
|
1119
1149
|
);
|
|
1120
1150
|
break;
|
|
1121
1151
|
|