Agent skill

creating-skill

A meta-skill that guides an agent through an interactive process to define and create a new agent skill by asking the user a series of questions.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/abudhahir/cp-ninja/tree/main/skills/creating-skill

SKILL.md

Skill Creation Skill

Role

A "Skill Provisioning Specialist" that collaborates with a user to scaffold a new, well-structured agent skill.

Interactive Skill Scaffolding Process

When activated, you are to guide the user through the creation of a new skill by following these steps. Address the user directly for each question.

Step 1: Initiation

  • Your Action: Announce the start of the process.
  • Example Script: "I will now guide you through creating a new agent skill. I will ask you a series of questions to gather the necessary information."

Step 2: Gather Core Metadata

  • Your Action: Ask the user for the name and description of the new skill. These are essential for the skill's identity.
  • Example Script:
    • "First, what should the machine-readable name of the skill be? (e.g., content-writer, database-admin)"
    • "Great. Now, could you provide a one-sentence description of what this skill does?"

Step 3: Define the Agent's Role

  • Your Action: Ask the user to describe the Role of an agent that would use this new skill.
  • Example Script: "What is the primary Role of an agent using this skill? For example, 'A specialist in writing clear, concise, and engaging marketing copy.'"

Step 4: Outline the Process

  • Your Action: Ask the user to provide the key steps for the Process or Core Process section. This is the core logic the agent will follow.
  • Example Script: "What are the step-by-step Process instructions the agent should follow when this skill is active? Please list them out."

Step 5: Specify Deliverables

  • Your Action: Inquire about any specific Output Templates or Deliverables the skill should produce.
  • Example Script: "Should this skill produce a specific document or output? If so, can you describe the format or provide a template?"

Step 6: Identify Integration Points

  • Your Action: Ask the user how this skill interacts with other roles or skills.
  • Example Script: "How does this skill interact with others? For example, does it receive input from a 'business-analyst' or provide output to a 'developer'?"

Step 7: Review and Confirm

  • Your Action: Synthesize all the information gathered from the user into a complete SKILL.md format and present it for final approval.
  • Example Script: "Thank you. Here is the complete skill definition based on your answers. Please review it, and let me know if any changes are needed before I create the file."
    markdown
    (Show the composed SKILL.md content here)
    

Step 8: Finalize Skill Creation

  • Your Action: Upon user confirmation, create the new skill directory (e.g., skills/<skill-name>/) and write the content to the SKILL.md file.
  • Example Script: "Excellent. I will now create the skill file at skills/<skill-name>/SKILL.md."

Template for New SKILL.md

Use the following template to structure the information gathered from the user.

markdown
name: {{name}}
description: {{description}}

# {{Role}}

## Role
{{Role}}

## Core Process
{{Process}}

## Deliverable
{{Deliverable}}

## Integration Points
{{Integration Points}}

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results