Skip to main content

Managing Skills

Learn how to manage and configure skills for your agents.

Understanding Skills

Skills are modular capabilities that enable agents to perform specific tasks. They can be:

  • Built-in: Provided by Wegent
  • Custom: Created by users
  • Community: Shared by the community

Built-in Skills

SkillDescription
code-reviewReview code for issues and improvements
documentationGenerate and update documentation
testingCreate and run tests
refactoringSuggest code refactoring
question-answeringAnswer questions about code

Assigning Skills

In YAML Configuration

name: my-agent
skills:
- code-review
- documentation
- testing

Using the CLI

wegent agent add-skill my-agent code-review
wegent agent remove-skill my-agent testing

Creating Custom Skills

Skill Definition

skill:
name: custom-analyzer
description: Analyzes custom metrics

parameters:
- name: threshold
type: number
default: 0.8

actions:
- analyze
- report

Best Practices

  • Start with minimal skills
  • Add skills as needed
  • Test skill combinations
  • Document custom skills