list_skills
Explore and filter development skills with detailed descriptions and IDs to enhance AI-powered workflows. Optional tag filtering for clean-code, testing, and more.
Instructions
List all available development skills with descriptions and IDs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional: filter by tags (clean-code, testing, etc.) |
Implementation Reference
- src/server.ts:223-251 (handler)Handler for the 'list_skills' tool. Retrieves prompts from the 'skills' category using promptManager, optionally filters by provided tags, formats them into a list with id, title, description, tags, and effectiveness, logs the count, and returns the JSON stringified list as text content.case "list_skills": const skillsPrompts = await this.promptManager.searchPromptsByCategory("skills"); let skillsList = skillsPrompts.map((skill) => ({ id: skill.id, title: skill.title, description: skill.description, tags: skill.tags, effectiveness: skill.effectiveness, })); if (args && Array.isArray(args.tags) && args.tags.length > 0) { const tags: string[] = args.tags; skillsList = skillsList.filter((item) => { return item.tags.some((item) => tags.includes(item)); }); } logger.info(`Listed ${skillsList.length} skills`); return { content: [ { type: "text", text: JSON.stringify(skillsList, null, 2), }, ], };