coreex-docs-sync

Refreshes CoreEx AI workflow assets to the version matching the project's CoreEx NuGet reference.

28|8|Updated Feb 21, 2022
One-click install
npx skills add https://github.com/Avanade/CoreEx --skill coreex-docs-sync-avanade
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: coreex-docs-sync
Source: https://github.com/Avanade/CoreEx/tree/main/.github/skills/coreex-docs-sync
Command: npx skills add https://github.com/Avanade/CoreEx --skill coreex-docs-sync-avanade

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a project bumps its CoreEx NuGet package version, the AI workflow assets (instructions, skills, prompts, the coreex-expert agent, and the docs cache) can drift out of sync with the code, causing AI guidance to describe the wrong release. This Skill realigns the entire bundle to the exact matching CoreEx.Template release. ## Core Features & Use Cases - Version-pinned refresh: Detects the referenced CoreEx version from Directory.Packages.props, .csproj, or Directory.Build.props, then installs CoreEx.Template at that exact version and re-runs dotnet new coreex-ai --force. - Safe dry-run preview: Runs dotnet new coreex-ai --dry-run first to show the create/overwrite file list before applying any changes. - Orphan detection: Flags leftover coreex--prefixed skill folders from prior versions that the current template no longer emits, so they can be reviewed and removed manually. - Use Case: After upgrading CoreEx from 4.0 to 4.1 in a consumer project, run this Skill to regenerate all instructions, skills, prompts, and the .github/docs/coreex/ cache so the coreex-expert agent's guidance matches the new release. ## Quick Start Ask the AI to run the coreex-docs-sync skill to check whether the installed CoreEx AI asset bundle matches the project's referenced CoreEx NuGet version and refresh it if needed.

Frequently Asked Questions about coreex-docs-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update CoreEx AI instructions and skills after a NuGet upgrade?▼

Run the coreex-docs-sync skill after bumping the CoreEx NuGet version. It detects the new referenced version, installs the matching CoreEx.Template release, and re-runs dotnet new coreex-ai --force to regenerate the entire asset bundle.

How do I sync CoreEx docs in Claude Code or GitHub Copilot?▼

In Claude Code, invoke /coreex-docs-sync with no arguments. In GitHub Copilot Chat, reference the SKILL.md file and ask to sync the CoreEx docs. Both paths trigger the same version-pinned template refresh.

Can I fetch unreleased CoreEx docs from the GitHub main branch?▼

No, this skill deliberately has no live-fetch path. It only installs released CoreEx.Template versions so that instructions, skills, and the docs cache always describe the exact same release as the referenced NuGet package.

Why is my new CoreEx skill not showing up after a refresh?▼

Most AI clients load their skill catalog once at startup, so a newly added or renamed skill folder is not visible until the client restarts. Fully restart the AI client application, not just a new session or tab.

When should I not run the CoreEx docs sync?▼

Do not run it inside the CoreEx framework repository itself, since docs already exist locally at samples/docs/ and src/*/AGENTS.md with no NuGet version to pin. Also avoid it when you only need one specific doc file.

Does dotnet new coreex-ai --force delete my other files?▼

No, --force only overwrites files the current template version emits and leaves unrelated repo content untouched. However, it does not remove files from older template versions, so orphaned skill folders must be reviewed and deleted manually.