initialize-project-standard
Analyze user-specified projects to generate global project rules for Copilot and Cursor, optimizing development workflows on the feuse-mcp server.
Instructions
针对用户指定项目进行分析,生成Copilot 和 cursor对应的全局项目规则
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/services/utility/index.ts:245-259 (handler)The `initProjectStandard` method defines and registers the handler for the 'initialize-project-standard' MCP tool. The handler's `execute` function constructs an XML prompt using imported `initProjectStandardPrompt` and `copilotInstructionsPrompt` templates to generate global project rules for Copilot and Cursor.private initProjectStandard(): void { this.server.addTool({ name: 'initialize-project-standard', description: '针对用户指定项目进行分析,生成Copilot 和 cursor对应的全局项目规则', execute: async () => { const prompt: string = ` <xml> <prompt>${initProjectStandardPrompt}</prompt> <template>${copilotInstructionsPrompt}</template> </xml> ` return prompt }, }) }
- src/services/utility/index.ts:30-36 (registration)The `registerTools` method calls `initProjectStandard()` among others to register utility tools on the MCP server.public registerTools(): void { this.apiAutomation() this.initProjectStandard() this.extractColorVars() this.extractSVGAssets() this.dowdloadSVGAssets() }
- src/services/utility/index.ts:9-9 (helper)Imports the prompt template used in the tool handler from './prompt/initialize-project-standard.xml'.import initProjectStandardPrompt from './prompt/initialize-project-standard.xml'
- src/services/utility/index.ts:10-10 (helper)Imports the copilot instructions template used in the tool handler.import copilotInstructionsPrompt from './prompt/copilot-instructions.md'