Skip to content

Repository files navigation

cs-skill-creator

A Copilot/agent skill that guides users through creating production-quality Dataverse business skills from natural-language descriptions of business processes.

What it does

This skill acts as a skill-authoring assistant. It interviews the user about a business process, generates a complete skill definition (name, description, and full instruction body), checks for duplicates in the environment, and saves the new skill to the Dataverse skill table via the Dataverse MCP server.

Prerequisites

  • Dataverse intelligence enabled in Power Platform admin center (Settings > Product > Features)
  • Dataverse MCP server preview configured in a Managed Environment
  • Agent access to MCP tools: create_record, list_records, update_record, read_query
  • Write permissions on the Business Skills (skill) table

Workflow

  1. Understand — Gathers purpose, trigger conditions, audience, data sources, process steps, business rules, and edge cases through structured interviews
  2. Check duplicates — Queries existing skills to prevent name collisions and trigger phrase overlap
  3. Generate — Produces a kebab-case name, a trigger-phrase-rich description, and a complete instruction body meeting the production-quality benchmark
  4. Review — Presents the draft to the user for confirmation or revision
  5. Save — Creates (or updates) the skill record in Dataverse with full error handling
  6. Advise — Provides testing, sharing, and deployment guidance

Production-quality benchmark

Every skill this assistant creates must include:

Section Requirement
Overview One-paragraph business problem statement
Prerequisites All tables, tools, and permissions; full schema for custom tables
Instructions Numbered steps with inline tool calls, SQL queries, and business rules
Output Format Exact formatted block the agent presents to the user
Dataverse Tables Used Table name + purpose for every table touched
Key Fields Reference Every field with type and integer codes for all choice/option-set values
Examples At least 3 (2 happy-path, 1 edge case) with realistic data
Troubleshooting Symptom / cause / resolution table
Completion Checklist Assertions the agent verifies before reporting success

Usage

Load SKILL.md as a skill in any agent that supports skill files (Copilot Studio, VS Code Copilot, Claude Code, etc.), then connect the agent to the Dataverse MCP server. Trigger it with phrases like:

  • "Create a new skill"
  • "I want to build a skill for [process]"
  • "Help me define a skill"
  • "I have a process I want to turn into a skill"
  • "Make a skill for my team"

Files

File Description
SKILL.md The full skill definition consumed by agents
skillsAgents_1_0_0_1_unmanaged.zip Power Platform unmanaged solution — contains a Copilot Studio agent pre-loaded with the skill-creator instructions and the Dataverse MCP server connection. Import this into your environment to customize or extend the agent.
skillsAgents_1_0_0_2_managed.zip Power Platform managed solution — same agent and Dataverse MCP server connection, packaged for production deployment. Import this for a locked, upgrade-safe installation.
README.md This file

Importing the solution

  1. Go to Power Apps and select your target environment.
  2. Navigate to Solutions > Import solution.
  3. Upload skillsAgents_1_0_0_2_managed.zip (production) or skillsAgents_1_0_0_1_unmanaged.zip (development/customization).
  4. Follow the import wizard and confirm the Dataverse MCP server connection is active.
  5. Open the imported Copilot Studio agent and publish it.

License

MIT

About

Repo for the Dataverse business skill creator skill. Includes a the SKILL.md file and the solutions including the business skill and a Copilot Studio agent.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors