Skip to content

feat: add pcm-startlist skill - #3

Merged
mpicciolli merged 1 commit into
mainfrom
add-pcm-startlist-skill
Aug 14, 2026
Merged

feat: add pcm-startlist skill#3
mpicciolli merged 1 commit into
mainfrom
add-pcm-startlist-skill

Conversation

@mpicciolli

@mpicciolli mpicciolli commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the pcm-startlist skill: a workflow for composing a Pro Cycling Manager race startlist and exporting it as the .xml file PCM imports.

The skill covers:

  • getting a .cdb database path (pcm_list_saves or asking the user)
  • resolving the race name to an IDrace via pcm_query_database
  • choosing participating teams (DYN_team) and riders per team (DYN_cyclist), using the charac_i_* ratings to match the race profile
  • delegating serialization to pcm_generate_startlist_xml rather than hand-writing XML
  • delivering the returned fileName / xml (the MCP server is read-only and doesn't write files)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new pcm-startlist agent skill to guide an agent through building a Pro Cycling Manager race startlist from a .cdb database and exporting it via pcm_generate_startlist_xml.

Changes:

  • Introduces the pcm-startlist skill with frontmatter metadata (name/description) and trigger phrases.
  • Documents a step-by-step workflow: locate database, resolve race/team IDs, select riders, call pcm_generate_startlist_xml, and deliver {fileName, xml}.
  • Includes example SQL queries and expected XML structure/ID mappings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +76 to +77
A team's full squad is the candidate pool — a startlist usually brings **7** of
them (the count is free; the example pack mixes 6 and 7). Get a team's roster:
Comment on lines +80 to +82
SELECT IDcyclist, gene_sz_firstname, gene_sz_lastname
FROM DYN_cyclist
WHERE fkIDteam = 34;
Adds a skill that walks through building a Pro Cycling Manager race
startlist: resolving the race, picking teams and riders from the .cdb
database via the read-only PCM MCP tools, then generating the import
XML with pcm_generate_startlist_xml.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@mpicciolli
mpicciolli merged commit 536ffb6 into main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants