Writing skills

From wso2/labs-agentic-engineer · View interactive version

Writing skills is an AI agent skill from the GitHub repository wso2/labs-agentic-engineer. Use before you change a file in skills/ or .agents/skills/, or an AGENTS.md file.

How to use this skill

Skill file

Each change to these files starts as a proposal. Write the proposal in a

Claude Doc. If the docs connector is not available, write it as an HTML

artifact. For a change of one or two lines, write the proposal in the chat.

Then make the change and do the verify loop. Record in the proposal what you

did. Do not commit until the user examines the proposal and the diff.

Proposal Format

The proposal has these four sections:

Verify Loop

  1. If the change is in skills/, run the playground before you edit the skill:
  1. Change the skill. Select the best solution for the problem.
  2. If you did step 1, run the playground again. Compare the result and the tool-call logs with the result of step 1. For a new skill, make sure that the agent loads the skill from its description at the correct time.
  3. Examine the change against each Skill Statement Rule. If the change does not follow a rule, change the skill and examine it again.
  4. Record each pass of the loop in the Changelog section of the proposal.

Skill Statement Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.