cp-toolkit 2.2.17 → 3.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.
Files changed (171) hide show
  1. package/package.json +4 -3
  2. package/src/commands/add.js +68 -7
  3. package/src/commands/doctor.js +11 -6
  4. package/src/commands/init.js +27 -13
  5. package/templates/AGENTS.md +2 -1
  6. package/templates/ARCHITECTURE.md +9 -9
  7. package/templates/agents/{backend-specialist.md → backend-specialist.agent.md} +264 -264
  8. package/templates/agents/{code-archaeologist.md → code-archaeologist.agent.md} +2 -2
  9. package/templates/agents/{database-architect.md → database-architect.agent.md} +227 -227
  10. package/templates/agents/{debugger.md → debugger.agent.md} +226 -226
  11. package/templates/agents/{devops-engineer.md → devops-engineer.agent.md} +243 -243
  12. package/templates/agents/{documentation-writer.md → documentation-writer.agent.md} +105 -105
  13. package/templates/agents/{explorer-agent.md → explorer-agent.agent.md} +2 -2
  14. package/templates/agents/{frontend-specialist.md → frontend-specialist.agent.md} +557 -557
  15. package/templates/agents/{game-developer.md → game-developer.agent.md} +163 -163
  16. package/templates/agents/{mobile-developer.md → mobile-developer.agent.md} +378 -378
  17. package/templates/agents/{orchestrator.md → orchestrator.agent.md} +17 -16
  18. package/templates/agents/{penetration-tester.md → penetration-tester.agent.md} +189 -189
  19. package/templates/agents/{performance-optimizer.md → performance-optimizer.agent.md} +188 -188
  20. package/templates/agents/{product-manager.md → product-manager.agent.md} +2 -2
  21. package/templates/agents/{product-owner.md → product-owner.agent.md} +2 -2
  22. package/templates/agents/{project-planner.md → project-planner.agent.md} +13 -13
  23. package/templates/agents/{qa-automation-engineer.md → qa-automation-engineer.agent.md} +2 -2
  24. package/templates/agents/{security-auditor.md → security-auditor.agent.md} +171 -171
  25. package/templates/agents/{seo-specialist.md → seo-specialist.agent.md} +112 -112
  26. package/templates/agents/{test-engineer.md → test-engineer.agent.md} +159 -159
  27. package/templates/copilot-instructions.md +53 -73
  28. package/templates/instructions/github-actions.instructions.md +0 -1
  29. package/templates/rules/AI_RULES.md +273 -0
  30. package/templates/rules/GEMINI.md +2 -2
  31. package/templates/scripts/checklist.py +3 -3
  32. package/templates/scripts/mcp-server.js +12 -12
  33. package/templates/scripts/package-lock.json +1 -1
  34. package/templates/scripts/package.json +2 -2
  35. package/templates/scripts/session_manager.py +3 -3
  36. package/templates/scripts/verify_all.py +1 -1
  37. package/templates/skills/README.md +1 -1
  38. package/templates/skills/doc.md +6 -6
  39. package/templates/skills/{core/parallel-agents → parallel-agents}/SKILL.md +3 -3
  40. package/templates/workflows/orchestrate.md +1 -1
  41. package/templates/workflows/plan.md +1 -1
  42. /package/templates/skills/{optional/api-patterns → api-patterns}/SKILL.md +0 -0
  43. /package/templates/skills/{optional/api-patterns → api-patterns}/api-style.md +0 -0
  44. /package/templates/skills/{optional/api-patterns → api-patterns}/auth.md +0 -0
  45. /package/templates/skills/{optional/api-patterns → api-patterns}/documentation.md +0 -0
  46. /package/templates/skills/{optional/api-patterns → api-patterns}/graphql.md +0 -0
  47. /package/templates/skills/{optional/api-patterns → api-patterns}/rate-limiting.md +0 -0
  48. /package/templates/skills/{optional/api-patterns → api-patterns}/response.md +0 -0
  49. /package/templates/skills/{optional/api-patterns → api-patterns}/rest.md +0 -0
  50. /package/templates/skills/{optional/api-patterns → api-patterns}/scripts/api_validator.py +0 -0
  51. /package/templates/skills/{optional/api-patterns → api-patterns}/security-testing.md +0 -0
  52. /package/templates/skills/{optional/api-patterns → api-patterns}/trpc.md +0 -0
  53. /package/templates/skills/{optional/api-patterns → api-patterns}/versioning.md +0 -0
  54. /package/templates/skills/{optional/app-builder → app-builder}/SKILL.md +0 -0
  55. /package/templates/skills/{optional/app-builder → app-builder}/agent-coordination.md +0 -0
  56. /package/templates/skills/{optional/app-builder → app-builder}/feature-building.md +0 -0
  57. /package/templates/skills/{optional/app-builder → app-builder}/project-detection.md +0 -0
  58. /package/templates/skills/{optional/app-builder → app-builder}/scaffolding.md +0 -0
  59. /package/templates/skills/{optional/app-builder → app-builder}/tech-stack.md +0 -0
  60. /package/templates/skills/{optional/app-builder → app-builder}/templates/SKILL.md +0 -0
  61. /package/templates/skills/{optional/app-builder → app-builder}/templates/astro-static/TEMPLATE.md +0 -0
  62. /package/templates/skills/{optional/app-builder → app-builder}/templates/chrome-extension/TEMPLATE.md +0 -0
  63. /package/templates/skills/{optional/app-builder → app-builder}/templates/cli-tool/TEMPLATE.md +0 -0
  64. /package/templates/skills/{optional/app-builder → app-builder}/templates/electron-desktop/TEMPLATE.md +0 -0
  65. /package/templates/skills/{optional/app-builder → app-builder}/templates/express-api/TEMPLATE.md +0 -0
  66. /package/templates/skills/{optional/app-builder → app-builder}/templates/flutter-app/TEMPLATE.md +0 -0
  67. /package/templates/skills/{optional/app-builder → app-builder}/templates/monorepo-turborepo/TEMPLATE.md +0 -0
  68. /package/templates/skills/{optional/app-builder → app-builder}/templates/nextjs-fullstack/TEMPLATE.md +0 -0
  69. /package/templates/skills/{optional/app-builder → app-builder}/templates/nextjs-saas/TEMPLATE.md +0 -0
  70. /package/templates/skills/{optional/app-builder → app-builder}/templates/nextjs-static/TEMPLATE.md +0 -0
  71. /package/templates/skills/{optional/app-builder → app-builder}/templates/nuxt-app/TEMPLATE.md +0 -0
  72. /package/templates/skills/{optional/app-builder → app-builder}/templates/python-fastapi/TEMPLATE.md +0 -0
  73. /package/templates/skills/{optional/app-builder → app-builder}/templates/react-native-app/TEMPLATE.md +0 -0
  74. /package/templates/skills/{optional/architecture → architecture}/SKILL.md +0 -0
  75. /package/templates/skills/{optional/architecture → architecture}/context-discovery.md +0 -0
  76. /package/templates/skills/{optional/architecture → architecture}/examples.md +0 -0
  77. /package/templates/skills/{optional/architecture → architecture}/pattern-selection.md +0 -0
  78. /package/templates/skills/{optional/architecture → architecture}/patterns-reference.md +0 -0
  79. /package/templates/skills/{optional/architecture → architecture}/trade-off-analysis.md +0 -0
  80. /package/templates/skills/{optional/bash-linux → bash-linux}/SKILL.md +0 -0
  81. /package/templates/skills/{core/behavioral-modes → behavioral-modes}/SKILL.md +0 -0
  82. /package/templates/skills/{core/brainstorming → brainstorming}/SKILL.md +0 -0
  83. /package/templates/skills/{core/brainstorming → brainstorming}/dynamic-questioning.md +0 -0
  84. /package/templates/skills/{core/clean-code → clean-code}/SKILL.md +0 -0
  85. /package/templates/skills/{optional/code-review-checklist → code-review-checklist}/SKILL.md +0 -0
  86. /package/templates/skills/{optional/database-design → database-design}/SKILL.md +0 -0
  87. /package/templates/skills/{optional/database-design → database-design}/database-selection.md +0 -0
  88. /package/templates/skills/{optional/database-design → database-design}/indexing.md +0 -0
  89. /package/templates/skills/{optional/database-design → database-design}/migrations.md +0 -0
  90. /package/templates/skills/{optional/database-design → database-design}/optimization.md +0 -0
  91. /package/templates/skills/{optional/database-design → database-design}/orm-selection.md +0 -0
  92. /package/templates/skills/{optional/database-design → database-design}/schema-design.md +0 -0
  93. /package/templates/skills/{optional/database-design → database-design}/scripts/schema_validator.py +0 -0
  94. /package/templates/skills/{optional/deployment-procedures → deployment-procedures}/SKILL.md +0 -0
  95. /package/templates/skills/{optional/documentation-templates → documentation-templates}/SKILL.md +0 -0
  96. /package/templates/skills/{optional/frontend-design → frontend-design}/SKILL.md +0 -0
  97. /package/templates/skills/{optional/frontend-design → frontend-design}/animation-guide.md +0 -0
  98. /package/templates/skills/{optional/frontend-design → frontend-design}/color-system.md +0 -0
  99. /package/templates/skills/{optional/frontend-design → frontend-design}/decision-trees.md +0 -0
  100. /package/templates/skills/{optional/frontend-design → frontend-design}/motion-graphics.md +0 -0
  101. /package/templates/skills/{optional/frontend-design → frontend-design}/scripts/accessibility_checker.py +0 -0
  102. /package/templates/skills/{optional/frontend-design → frontend-design}/scripts/ux_audit.py +0 -0
  103. /package/templates/skills/{optional/frontend-design → frontend-design}/typography-system.md +0 -0
  104. /package/templates/skills/{optional/frontend-design → frontend-design}/ux-psychology.md +0 -0
  105. /package/templates/skills/{optional/frontend-design → frontend-design}/visual-effects.md +0 -0
  106. /package/templates/skills/{optional/game-development → game-development}/2d-games/SKILL.md +0 -0
  107. /package/templates/skills/{optional/game-development → game-development}/3d-games/SKILL.md +0 -0
  108. /package/templates/skills/{optional/game-development → game-development}/SKILL.md +0 -0
  109. /package/templates/skills/{optional/game-development → game-development}/game-art/SKILL.md +0 -0
  110. /package/templates/skills/{optional/game-development → game-development}/game-audio/SKILL.md +0 -0
  111. /package/templates/skills/{optional/game-development → game-development}/game-design/SKILL.md +0 -0
  112. /package/templates/skills/{optional/game-development → game-development}/mobile-games/SKILL.md +0 -0
  113. /package/templates/skills/{optional/game-development → game-development}/multiplayer/SKILL.md +0 -0
  114. /package/templates/skills/{optional/game-development → game-development}/pc-games/SKILL.md +0 -0
  115. /package/templates/skills/{optional/game-development → game-development}/vr-ar/SKILL.md +0 -0
  116. /package/templates/skills/{optional/game-development → game-development}/web-games/SKILL.md +0 -0
  117. /package/templates/skills/{optional/geo-fundamentals → geo-fundamentals}/SKILL.md +0 -0
  118. /package/templates/skills/{optional/geo-fundamentals → geo-fundamentals}/scripts/geo_checker.py +0 -0
  119. /package/templates/skills/{optional/i18n-localization → i18n-localization}/SKILL.md +0 -0
  120. /package/templates/skills/{optional/i18n-localization → i18n-localization}/scripts/i18n_checker.py +0 -0
  121. /package/templates/skills/{core/intelligent-routing → intelligent-routing}/SKILL.md +0 -0
  122. /package/templates/skills/{optional/lint-and-validate → lint-and-validate}/SKILL.md +0 -0
  123. /package/templates/skills/{optional/lint-and-validate → lint-and-validate}/scripts/lint_runner.py +0 -0
  124. /package/templates/skills/{optional/lint-and-validate → lint-and-validate}/scripts/type_coverage.py +0 -0
  125. /package/templates/skills/{core/mcp-builder → mcp-builder}/SKILL.md +0 -0
  126. /package/templates/skills/{optional/mobile-design → mobile-design}/SKILL.md +0 -0
  127. /package/templates/skills/{optional/mobile-design → mobile-design}/decision-trees.md +0 -0
  128. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-backend.md +0 -0
  129. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-color-system.md +0 -0
  130. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-debugging.md +0 -0
  131. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-design-thinking.md +0 -0
  132. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-navigation.md +0 -0
  133. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-performance.md +0 -0
  134. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-testing.md +0 -0
  135. /package/templates/skills/{optional/mobile-design → mobile-design}/mobile-typography.md +0 -0
  136. /package/templates/skills/{optional/mobile-design → mobile-design}/platform-android.md +0 -0
  137. /package/templates/skills/{optional/mobile-design → mobile-design}/platform-ios.md +0 -0
  138. /package/templates/skills/{optional/mobile-design → mobile-design}/scripts/mobile_audit.py +0 -0
  139. /package/templates/skills/{optional/mobile-design → mobile-design}/touch-psychology.md +0 -0
  140. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/1-async-eliminating-waterfalls.md +0 -0
  141. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/2-bundle-bundle-size-optimization.md +0 -0
  142. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/3-server-server-side-performance.md +0 -0
  143. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/4-client-client-side-data-fetching.md +0 -0
  144. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/5-rerender-re-render-optimization.md +0 -0
  145. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/6-rendering-rendering-performance.md +0 -0
  146. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/7-js-javascript-performance.md +0 -0
  147. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/8-advanced-advanced-patterns.md +0 -0
  148. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/SKILL.md +0 -0
  149. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/scripts/convert_rules.py +0 -0
  150. /package/templates/skills/{optional/nextjs-react-expert → nextjs-react-expert}/scripts/react_performance_checker.py +0 -0
  151. /package/templates/skills/{optional/nodejs-best-practices → nodejs-best-practices}/SKILL.md +0 -0
  152. /package/templates/skills/{optional/performance-profiling → performance-profiling}/SKILL.md +0 -0
  153. /package/templates/skills/{optional/performance-profiling → performance-profiling}/scripts/lighthouse_audit.py +0 -0
  154. /package/templates/skills/{core/plan-writing → plan-writing}/SKILL.md +0 -0
  155. /package/templates/skills/{optional/powershell-windows → powershell-windows}/SKILL.md +0 -0
  156. /package/templates/skills/{optional/python-patterns → python-patterns}/SKILL.md +0 -0
  157. /package/templates/skills/{optional/red-team-tactics → red-team-tactics}/SKILL.md +0 -0
  158. /package/templates/skills/{optional/seo-fundamentals → seo-fundamentals}/SKILL.md +0 -0
  159. /package/templates/skills/{optional/seo-fundamentals → seo-fundamentals}/scripts/seo_checker.py +0 -0
  160. /package/templates/skills/{optional/server-management → server-management}/SKILL.md +0 -0
  161. /package/templates/skills/{optional/systematic-debugging → systematic-debugging}/SKILL.md +0 -0
  162. /package/templates/skills/{optional/tailwind-patterns → tailwind-patterns}/SKILL.md +0 -0
  163. /package/templates/skills/{optional/tdd-workflow → tdd-workflow}/SKILL.md +0 -0
  164. /package/templates/skills/{optional/testing-patterns → testing-patterns}/SKILL.md +0 -0
  165. /package/templates/skills/{optional/testing-patterns → testing-patterns}/scripts/test_runner.py +0 -0
  166. /package/templates/skills/{optional/vulnerability-scanner → vulnerability-scanner}/SKILL.md +0 -0
  167. /package/templates/skills/{optional/vulnerability-scanner → vulnerability-scanner}/checklists.md +0 -0
  168. /package/templates/skills/{optional/vulnerability-scanner → vulnerability-scanner}/scripts/security_scan.py +0 -0
  169. /package/templates/skills/{optional/web-design-guidelines → web-design-guidelines}/SKILL.md +0 -0
  170. /package/templates/skills/{optional/webapp-testing → webapp-testing}/SKILL.md +0 -0
  171. /package/templates/skills/{optional/webapp-testing → webapp-testing}/scripts/playwright_runner.py +0 -0
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "cp-toolkit",
3
- "version": "2.2.17",
4
- "description": "Copilot Toolkit - AI Agent framework for GitHub Copilot, Claude, Gemini CLI, and other AI assistants",
3
+ "version": "3.0.1",
4
+ "description": "Copilot Toolkit - Native AI Agents & Skills for GitHub Copilot (v2026)",
5
5
  "keywords": [
6
6
  "ai-agents",
7
7
  "github-copilot",
8
8
  "copilot",
9
9
  "gemini-cli",
10
- "claude",
10
+ "agentic-workflow",
11
+ "mcp-server",
11
12
  "mcp",
12
13
  "model-context-protocol",
13
14
  "agent-toolkit"
@@ -13,8 +13,11 @@ const AGENT_TEMPLATES = {
13
13
  specialist: (name, description, triggers) => `---
14
14
  name: ${name}
15
15
  description: ${description}
16
- version: 1.0
17
- skills: clean-code
16
+ model: gpt-4o
17
+ capabilities:
18
+ - clean-code
19
+ handoffs:
20
+ - project-planner
18
21
  ---
19
22
 
20
23
  # ${name}
@@ -41,8 +44,12 @@ ${triggers.map(t => `- ${t} related tasks`).join('\n')}
41
44
  reviewer: (name, description, triggers) => `---
42
45
  name: ${name}
43
46
  description: ${description}
44
- version: 1.0
45
- skills: clean-code, qa-automation-engineer
47
+ model: gpt-4o
48
+ capabilities:
49
+ - clean-code
50
+ - qa-automation-engineer
51
+ handoffs:
52
+ - project-planner
46
53
  ---
47
54
 
48
55
  # ${name}
@@ -78,11 +85,31 @@ skills: clean-code, qa-automation-engineer
78
85
  `
79
86
  };
80
87
 
88
+ const SKILL_TEMPLATE = (name, description) => `---
89
+ name: ${name}
90
+ description: ${description}
91
+ version: 1.0.0
92
+ ---
93
+
94
+ # Skill: ${name}
95
+
96
+ > ${description}
97
+
98
+ ## Context & Rules
99
+ - [Rule 1]
100
+ - [Rule 2]
101
+
102
+ ## Code Snippets
103
+ \`\`\`javascript
104
+ // Example code for this skill
105
+ \`\`\`
106
+ `;
107
+
81
108
  export async function addCommand(type, name, options) {
82
109
  const targetDir = process.cwd();
83
110
 
84
111
  // Validate type
85
- const validTypes = ['agent', 'instruction'];
112
+ const validTypes = ['agent', 'instruction', 'skill'];
86
113
  if (!validTypes.includes(type)) {
87
114
  console.log(chalk.red(`❌ Unknown type: ${type}`));
88
115
  console.log(chalk.dim(` Valid types: ${validTypes.join(', ')}`));
@@ -103,6 +130,9 @@ export async function addCommand(type, name, options) {
103
130
  case 'agent':
104
131
  await addAgent(githubDir, name, options);
105
132
  break;
133
+ case 'skill':
134
+ await addSkill(githubDir, name, options);
135
+ break;
106
136
  case 'instruction':
107
137
  await addInstruction(githubDir, name, options);
108
138
  break;
@@ -110,7 +140,7 @@ export async function addCommand(type, name, options) {
110
140
  }
111
141
 
112
142
  async function addAgent(githubDir, name, options) {
113
- const agentFile = path.join(githubDir, 'agents', `${name}.md`);
143
+ const agentFile = path.join(githubDir, 'agents', `${name}.agent.md`);
114
144
 
115
145
  if (fs.existsSync(agentFile)) {
116
146
  console.log(chalk.yellow(`⚠️ Agent "${name}" already exists.`));
@@ -152,10 +182,41 @@ async function addAgent(githubDir, name, options) {
152
182
  await fs.ensureDir(path.dirname(agentFile));
153
183
  await fs.writeFile(agentFile, content);
154
184
 
155
- console.log(chalk.green(`✅ Created agent: .github/agents/${name}.md`));
185
+ console.log(chalk.green(`✅ Created agent: .github/agents/${name}.agent.md`));
156
186
  console.log(chalk.dim(` Invoke with @${name} in Copilot Chat`));
157
187
  }
158
188
 
189
+ async function addSkill(githubDir, name, options) {
190
+ const skillFile = path.join(githubDir, 'skills', name, 'SKILL.md');
191
+
192
+ if (fs.existsSync(skillFile)) {
193
+ console.log(chalk.yellow(`⚠️ Skill "${name}" already exists.`));
194
+ return;
195
+ }
196
+
197
+ const response = await prompts([
198
+ {
199
+ type: 'text',
200
+ name: 'description',
201
+ message: 'Description (used for semantic loading):',
202
+ initial: `${name} helper`
203
+ }
204
+ ]);
205
+
206
+ if (!response.description) {
207
+ console.log(chalk.yellow('Aborted.'));
208
+ return;
209
+ }
210
+
211
+ const content = SKILL_TEMPLATE(name, response.description);
212
+
213
+ await fs.ensureDir(path.dirname(skillFile));
214
+ await fs.writeFile(skillFile, content);
215
+
216
+ console.log(chalk.green(`✅ Created skill: .github/skills/${name}/SKILL.md`));
217
+ console.log(chalk.dim(` This skill will be loaded when you ask about "${response.description}"`));
218
+ }
219
+
159
220
  async function addInstruction(githubDir, name, options) {
160
221
  const instrFile = path.join(githubDir, 'instructions', `${name}.instructions.md`);
161
222
 
@@ -30,10 +30,15 @@ const CHECKS = [
30
30
  const agentsDir = path.join(dir, '.github', 'agents');
31
31
  if (!await fs.pathExists(agentsDir)) return false;
32
32
  const files = await fs.readdir(agentsDir);
33
- return files.some(f => f.endsWith('.md'));
33
+ return files.some(f => f.endsWith('.agent.md') || f.endsWith('.md'));
34
34
  },
35
35
  fix: 'Run: cp-kit add agent <name>'
36
36
  },
37
+ {
38
+ name: 'skills/ directory exists',
39
+ check: async (dir) => fs.pathExists(path.join(dir, '.github', 'skills')),
40
+ fix: 'Run: cp-kit init'
41
+ },
37
42
  {
38
43
  name: 'instructions/ directory exists',
39
44
  check: async (dir) => fs.pathExists(path.join(dir, '.github', 'instructions')),
@@ -77,22 +82,22 @@ const CHECKS = [
77
82
  fix: 'Add version and description frontmatter to instruction files'
78
83
  },
79
84
  {
80
- name: 'Agents have complete frontmatter (name, description, skills)',
85
+ name: 'Agents have complete frontmatter (name, description, capabilities)',
81
86
  check: async (dir) => {
82
87
  const agentsDir = path.join(dir, '.github', 'agents');
83
88
  if (!await fs.pathExists(agentsDir)) return true;
84
89
  const files = await fs.readdir(agentsDir);
85
- for (const file of files.filter(f => f.endsWith('.md'))) {
90
+ for (const file of files.filter(f => f.endsWith('.agent.md'))) {
86
91
  const content = await fs.readFile(path.join(agentsDir, file), 'utf-8');
87
92
  if (!content.startsWith('---')) return false;
88
93
  if (!content.includes('name:')) return false;
89
94
  if (!content.includes('description:')) return false;
90
- if (!content.includes('skills:')) return false;
91
- if (!content.includes('applyTo:')) return false;
95
+ // Capabilities is the new standard (was skills)
96
+ if (!content.includes('capabilities:') && !content.includes('tools:')) return false;
92
97
  }
93
98
  return true;
94
99
  },
95
- fix: 'Update agent files with full frontmatter (name, description, skills, applyTo)'
100
+ fix: 'Update agent files with full frontmatter (name, description, capabilities, model)'
96
101
  }
97
102
  ];
98
103
 
@@ -103,11 +103,14 @@ export async function initCommand(directory, options) {
103
103
  'database-design',
104
104
  'testing-patterns',
105
105
  'deployment-procedures',
106
- 'architecture'
106
+ 'architecture',
107
+ 'brainstorming',
108
+ 'clean-code',
109
+ 'plan-writing'
107
110
  ];
108
111
 
109
112
  for (const skill of essentialSkills) {
110
- const skillSourceDir = path.join(templatesDir, 'skills', 'optional', skill);
113
+ const skillSourceDir = path.join(templatesDir, 'skills', skill);
111
114
  if (fs.existsSync(skillSourceDir)) {
112
115
  const skillTargetDir = path.join(skillsTargetDir, skill);
113
116
  await fs.ensureDir(skillTargetDir);
@@ -127,10 +130,29 @@ export async function initCommand(directory, options) {
127
130
  const modelsTemplatePath = path.join(templatesDir, 'cp-kit-models.yaml');
128
131
  await fs.copy(modelsTemplatePath, modelsPath);
129
132
 
130
- // 7. Setup .vscode/mcp.json
131
- spinner.text = 'Configuring MCP Server...';
133
+ // 7. Setup .vscode/settings.json
134
+ spinner.text = 'Configuring VS Code settings...';
132
135
  const vscodeDir = path.join(targetDir, '.vscode');
133
136
  await fs.ensureDir(vscodeDir);
137
+
138
+ const settingsPath = path.join(vscodeDir, 'settings.json');
139
+ let settings = {};
140
+ if (fs.existsSync(settingsPath)) {
141
+ try {
142
+ settings = JSON.parse(await fs.readFile(settingsPath, 'utf8'));
143
+ } catch (e) {
144
+ // ignore error
145
+ }
146
+ }
147
+
148
+ settings['chat.agent.skills.enabled'] = true;
149
+ // Suggest other useful settings for 2026
150
+ settings['github.copilot.chat.welcomeMessage'] = "always";
151
+
152
+ await fs.writeFile(settingsPath, JSON.stringify(settings, null, 2));
153
+
154
+ // 8. Setup .vscode/mcp.json
155
+ spinner.text = 'Configuring MCP Server...';
134
156
 
135
157
  const mcpConfig = {
136
158
  "mcpServers": {
@@ -152,14 +174,6 @@ export async function initCommand(directory, options) {
152
174
  ],
153
175
  "disabled": false,
154
176
  "autoApprove": []
155
- },
156
- "antigravity": {
157
- "command": "node",
158
- "args": [
159
- "${workspaceFolder}/.github/scripts/mcp-server.js"
160
- ],
161
- "disabled": false,
162
- "autoApprove": []
163
177
  }
164
178
  }
165
179
  };
@@ -169,7 +183,7 @@ export async function initCommand(directory, options) {
169
183
  JSON.stringify(mcpConfig, null, 2)
170
184
  );
171
185
 
172
- // 8. Copy workflows to .github/workflows-copilot/ (optional reference)
186
+ // 9. Copy workflows to .github/workflows-copilot/ (optional reference)
173
187
  if (config.installEverything) {
174
188
  spinner.text = 'Copying workflows...';
175
189
  const workflowsSourceDir = path.join(templatesDir, 'workflows');
@@ -1,6 +1,7 @@
1
1
  # Available Agents
2
2
 
3
- This project is equipped with specialized AI agents to assist with development. Invoke them using `@workspace` in Copilot Chat or by their specific names.
3
+ This project is equipped with specialized AI Agent Personas to assist with development.
4
+ To activate an agent, simply mention their name (e.g., **@Orchestrator**) in your Copilot Chat prompt. The System Prompt will load their specific rules and capabilities.
4
5
 
5
6
  ## Core Agents
6
7
 
@@ -1,4 +1,4 @@
1
- # Antigravity Kit Architecture
1
+ # Copilot Kit Architecture
2
2
 
3
3
  > Comprehensive AI Agent Capability Expansion Toolkit
4
4
  >
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## 📋 Overview
10
10
 
11
- Antigravity Kit is a modular system consisting of:
11
+ Copilot Kit is a modular system consisting of:
12
12
 
13
13
  - **20 Specialist Agents** - Role-based AI personas
14
14
  - **36 Skills** - Domain-specific knowledge modules (7 core + 29 optional)
@@ -50,7 +50,7 @@ applyTo: "**/*.ext" # Glob pattern for Copilot context
50
50
  ---
51
51
  ```
52
52
 
53
- ### RULES (`/rules/GEMINI.md`)
53
+ ### RULES (`/rules/AI_RULES.md`)
54
54
  ```yaml
55
55
  ---
56
56
  trigger: always_on # Activation trigger
@@ -62,14 +62,14 @@ trigger: always_on # Activation trigger
62
62
  ## 🏗️ Directory Structure
63
63
 
64
64
  ```plaintext
65
- .agent/
65
+ .github/
66
66
  ├── ARCHITECTURE.md # This file
67
67
  ├── agents/ # 20 Specialist Agents
68
68
  ├── skills/
69
69
  │ ├── core/ # 7 Core Skills (always loaded)
70
70
  │ └── optional/ # 29 Optional Skills (on demand)
71
- ├── workflows/ # 11 Slash Commands
72
- ├── rules/ # Global Rules (GEMINI.md)
71
+ ├── copilot-workflows/ # 11 Slash Commands
72
+ ├── rules/ # Global Rules (AI_RULES.md)
73
73
  └── scripts/
74
74
  ├── mcp-server.js # MCP Server for GitHub Copilot
75
75
  ├── checklist.py # Quick validation
@@ -358,7 +358,7 @@ For details, see [scripts/README.md](scripts/README.md)
358
358
  | AI Assistant | Integration Method | Status |
359
359
  | ------------ | ------------------ | ------ |
360
360
  | **GitHub Copilot** | AGENTS.md + .github/copilot-instructions.md + MCP | ✅ Full |
361
- | **Gemini CLI** | .agent/rules/GEMINI.md | ✅ Full |
361
+ | **Copilot CLI** | .github/rules/AI_RULES.md | ✅ Full |
362
362
  | **Claude** | AGENTS.md + MCP | ✅ Full |
363
363
  | **Cursor** | AGENTS.md | ✅ Full |
364
364
  | **OpenAI Codex** | AGENTS.md | ✅ Full |
@@ -373,8 +373,8 @@ The toolkit includes a custom MCP server that exposes:
373
373
  | **Tools** | `list_skills`, `load_skill` | Skill discovery and loading |
374
374
  | **Tools** | `list_workflows`, `execute_workflow` | Workflow execution |
375
375
  | **Tools** | `route_request` | Automatic agent routing |
376
- | **Resources** | `antigravity://architecture` | This documentation |
377
- | **Resources** | `antigravity://rules` | Base rules (GEMINI.md) |
376
+ | **Resources** | `copilot://architecture` | This documentation |
377
+ | **Resources** | `copilot://rules` | Base rules (AI_RULES.md) |
378
378
  | **Prompts** | `/{workflow}` | Slash commands as prompts |
379
379
 
380
380
  ### Configuration