73 lines
3.1 KiB
Python
73 lines
3.1 KiB
Python
"""Built-in Skills - Phase 9.4
|
|
|
|
This module contains bundled skills that are always available
|
|
without requiring external skill loaders.
|
|
"""
|
|
|
|
from typing import Any
|
|
|
|
|
|
# SkillMetadata-compatible structure for bundled skills
|
|
BUNDLED_SKILLS: list[dict[str, Any]] = [
|
|
{
|
|
"id": "code-analysis",
|
|
"name": "Code Analysis",
|
|
"description": "Analyze code structure, patterns, and quality. Helps understand codebase architecture, find issues, and suggest improvements.",
|
|
"version": "1.0.0",
|
|
"prompts": [
|
|
"Analyze the code structure and identify key components, their relationships, and responsibilities.",
|
|
"Review the code for potential issues like bugs, security vulnerabilities, or performance problems.",
|
|
"Explain how the code works and what it does in simple terms.",
|
|
],
|
|
"tools": ["grep", "read", "glob", "lsp_symbols", "lsp_find_references"],
|
|
},
|
|
{
|
|
"id": "git-helper",
|
|
"name": "Git Helper",
|
|
"description": "Assists with Git operations including commit, branch management, merge conflicts, and repository exploration.",
|
|
"version": "1.0.0",
|
|
"prompts": [
|
|
"Show me the current git status and any uncommitted changes.",
|
|
"Help me create a meaningful commit message for these changes.",
|
|
"Explain the git history and branch structure of this repository.",
|
|
],
|
|
"tools": ["bash"],
|
|
},
|
|
{
|
|
"id": "web-research",
|
|
"name": "Web Research",
|
|
"description": "Search the web for information, documentation, and resources. Helps find answers and learn about technologies.",
|
|
"version": "1.0.0",
|
|
"prompts": [
|
|
"Search the web for information about {topic} and summarize the key findings.",
|
|
"Find official documentation or reliable resources about {topic}.",
|
|
"Look up the latest news or developments in {topic}.",
|
|
],
|
|
"tools": ["search_brave_web_search", "websearch_web_search_exa", "webfetch"],
|
|
},
|
|
{
|
|
"id": "file-management",
|
|
"name": "File Management",
|
|
"description": "Helps with file operations like creating, editing, organizing, and managing project files and directories.",
|
|
"version": "1.0.0",
|
|
"prompts": [
|
|
"Create a new file at {path} with the following content: {content}",
|
|
"Organize the files in the project structure and suggest improvements.",
|
|
"Find all files related to {topic} or matching {pattern}.",
|
|
],
|
|
"tools": ["read", "write", "glob", "bash"],
|
|
},
|
|
{
|
|
"id": "task-planning",
|
|
"name": "Task Planning",
|
|
"description": "Helps break down complex tasks into smaller steps, create implementation plans, and track progress.",
|
|
"version": "1.0.0",
|
|
"prompts": [
|
|
"Break down this task into smaller, manageable steps: {task}",
|
|
"Create an implementation plan for building {feature} with clear phases.",
|
|
"Review the current progress and suggest next steps for completing {goal}.",
|
|
],
|
|
"tools": ["todowrite", "read", "write"],
|
|
},
|
|
]
|