Skip to content

Commit ccb9218

Browse files
committed
updaet skills
1 parent 1d5436f commit ccb9218

File tree

8 files changed

+25
-44
lines changed

8 files changed

+25
-44
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
site_url = os.environ["SITE_URL"].rstrip("/")
123123
github_raw = "https://raw.githubusercontent.com/managedcode/MCAF/main"
124124
github_blob = "https://github.com/managedcode/MCAF/blob/main"
125+
dotnet_catalog_url = "https://skills.managed-code.com/"
125126
126127
def parse_frontmatter(skill_md: Path) -> dict[str, str]:
127128
text = skill_md.read_text(encoding="utf-8")
@@ -173,6 +174,10 @@ jobs:
173174
}
174175
)
175176
177+
public_skills = [
178+
skill for skill in skills if not skill["name"].startswith("mcaf-dotnet")
179+
]
180+
176181
templates_page = repo / "github-pages" / "templates.md"
177182
templates_page.write_text(
178183
"\n".join(
@@ -225,9 +230,11 @@ jobs:
225230
"",
226231
f"Use these skill folders with the [tutorial]({site_url}/tutorial.html).",
227232
"",
233+
f"MCAF lists only the skills bundled in this repository. `.NET` skills live in the dedicated [Managed Code Skills catalog]({dotnet_catalog_url}).",
234+
"",
228235
"<div class=\"templates-list\">",
229236
]
230-
for skill in skills:
237+
for skill in public_skills:
231238
skills_page_lines.extend(
232239
[
233240
"<div class=\"template-item\">",
@@ -247,42 +254,16 @@ jobs:
247254
encoding="utf-8",
248255
)
249256
250-
dotnet_optional_exclude = {
251-
"mcaf-dotnet-features",
252-
"mcaf-dotnet-quality-ci",
253-
"mcaf-dotnet-complexity",
254-
"mcaf-dotnet-xunit",
255-
"mcaf-dotnet-tunit",
256-
"mcaf-dotnet-mstest",
257-
}
258-
dotnet_optional = sorted(
259-
skill["name"]
260-
for skill in skills
261-
if skill["name"].startswith("mcaf-dotnet-")
262-
and skill["name"] not in dotnet_optional_exclude
263-
)
264-
dotnet_optional_lines = (
265-
[f"- `{skill_name}`" for skill_name in dotnet_optional]
266-
if dotnet_optional
267-
else ["- _No optional .NET skills found._"]
268-
)
269-
270257
all_skills_lines = [
271258
(
272259
f"- `{skill['name']}` — "
273260
f"[Folder]({skill['folder_url']}), "
274261
f"[Raw SKILL]({skill['skill_md_url']})"
275262
)
276-
for skill in skills
263+
for skill in public_skills
277264
]
278265
279266
tutorial_body = (repo / "TUTORIAL.md").read_text(encoding="utf-8")
280-
tutorial_body = replace_marker_block(
281-
tutorial_body,
282-
"<!-- MCAF:DOTNET-OPTIONAL-SKILLS-BEGIN -->",
283-
"<!-- MCAF:DOTNET-OPTIONAL-SKILLS-END -->",
284-
dotnet_optional_lines,
285-
)
286267
tutorial_body = replace_marker_block(
287268
tutorial_body,
288269
"<!-- MCAF:ALL-SKILLS-BEGIN -->",

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ The public skill catalog lives on the Skills page:
112112
- [https://mcaf.managed-code.com/skills](https://mcaf.managed-code.com/skills)
113113

114114
Platform-specific bundles can stay small and still be explicit.
115-
The `.NET` skill bundle is maintained outside this repository at [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills).
116-
Install the `.NET` skills you need from that repository, then document the exact `dotnet build`, `dotnet test`, `dotnet format`, `analyze`, and coverage commands in the consuming repo’s `AGENTS.md`.
115+
`.NET` skills are maintained outside this repository in the [Managed Code Skills catalog](https://skills.managed-code.com/).
116+
Install the `.NET` skills you need from that catalog, then document the exact `dotnet build`, `dotnet test`, `dotnet format`, `analyze`, and coverage commands in the consuming repo’s `AGENTS.md`.
117117
For `.NET` code changes, the task is not done when tests are green if the repo also configured formatters, analyzers, coverage, architecture tests, or security gates.
118-
Agents should run the repo-defined post-change quality pass before completion, and any external `mcaf-dotnet*` tool skill should still include a `Bootstrap When Missing` section so agents can detect, install, verify, and first-run the tool without guessing.
118+
Agents should run the repo-defined post-change quality pass before completion, and any external `.NET` helper should still include a `Bootstrap When Missing` section so agents can detect, install, verify, and first-run the tool without guessing.
119119

120120
### 2.5 Context Rules
121121

TUTORIAL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Rules:
2929
- install only current skills with prefix mcaf-
3030
- keep AGENTS.md in the repository root
3131
- if this is a multi-project solution, create or update local AGENTS.md files per project
32-
- if this is a .NET repo, fetch the needed `mcaf-dotnet*` skills from https://github.com/managedcode/dotnet-skills
32+
- if this is a .NET repo, fetch the needed skills from https://skills.managed-code.com/
3333
```
3434

3535
---
@@ -102,10 +102,10 @@ For each selected skill:
102102

103103
This keeps install deterministic without requiring manifests or archives.
104104

105-
### 4.0 Recommended .NET Bundle
105+
### 4.0 For .NET Repositories
106106

107107
This repository no longer bundles `.NET` skills under `skills/`.
108-
Fetch the `.NET` skill bundle from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills).
108+
Fetch the required `.NET` skills from the [Managed Code Skills catalog](https://skills.managed-code.com/).
109109

110110
For `.NET` repositories, keep these repo-native artifacts explicit in `AGENTS.md`:
111111

@@ -118,8 +118,8 @@ For `.NET` repositories, keep these repo-native artifacts explicit in `AGENTS.md
118118

119119
The intended `.NET` flow stays the same even though the bundle is external:
120120

121-
- install the matching `mcaf-dotnet*` skills from the external repository
122-
- use the orchestration and test-framework skills that fit the repo
121+
- install the required skills from the external catalog
122+
- use the skills that fit the repo workflow and test framework
123123
- after code changes, run the repo-defined quality pass: format, build, analyze, tests, coverage, and any configured extra gates
124124

125125
### 4.1 Current Skill Catalog (Generated)

docs/templates/AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Do not paste the whole framework catalog here.
9292
- `<skill-name>` — when agents should use it
9393
- `<skill-name>` — when agents should use it
9494

95-
If the stack is `.NET`, install the needed `.NET` skills from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills).
95+
If the stack is `.NET`, install the needed `.NET` skills from the [Managed Code Skills catalog](https://skills.managed-code.com/).
9696
The usual baseline often includes:
9797

9898
- `mcaf-dotnet`
@@ -107,7 +107,7 @@ The usual baseline often includes:
107107

108108
If the stack is `.NET`, document skill-management rules explicitly:
109109

110-
- `.NET` skills are sourced from `https://github.com/managedcode/dotnet-skills`.
110+
- `.NET` skills are sourced from `https://skills.managed-code.com/`.
111111
- `mcaf-dotnet` is the entry skill and routes to specialized `.NET` skills.
112112
- Keep exactly one framework skill: `mcaf-dotnet-xunit` or `mcaf-dotnet-tunit` or `mcaf-dotnet-mstest`.
113113
- Add tool-specific `.NET` skills only when the repository actually uses those tools in CI or local verification.

skills/mcaf-ci-cd/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ For setup-only requests with no execution, return `status: configured` and exact
101101
## Load References
102102

103103
- read `references/ci-cd.md` first
104-
- for .NET quality gates, use the external `mcaf-dotnet-quality-ci` skill from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills)
104+
- for .NET quality gates, use the external `mcaf-dotnet-quality-ci` skill from the [Managed Code Skills catalog](https://skills.managed-code.com/)
105105

106106
## Example Requests
107107

skills/mcaf-solution-governance/references/dotnet-agents-pattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# .NET AGENTS Pattern
22

33
Use this reference when the solution stack is .NET and the root or local `AGENTS.md` needs concrete command and tooling guidance.
4-
The `.NET` skill bundle itself lives in [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills), not in this repository.
4+
The `.NET` skill bundle itself lives in the [Managed Code Skills catalog](https://skills.managed-code.com/), not in this repository.
55

66
## Root AGENTS.md Expectations
77

skills/mcaf-solution-governance/references/project-agents-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For .NET projects also document:
4141
- `...`
4242
- `...`
4343

44-
For .NET projects, install the needed `.NET` skills from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills).
44+
For .NET projects, install the needed `.NET` skills from the [Managed Code Skills catalog](https://skills.managed-code.com/).
4545
The local skill list usually includes:
4646

4747
- `mcaf-testing`

skills/mcaf-testing/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compatibility: "Requires the repository’s build and test tooling; uses command
4343
- new or changed tests
4444
- related suite
4545
- broader regressions
46-
4. When the stack is .NET, use the external `.NET` skills from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills), use `mcaf-dotnet` as the orchestration skill when the task spans code, tests, and verification, and route framework mechanics through exactly one matching skill:
46+
4. When the stack is .NET, use the external `.NET` skills from the [Managed Code Skills catalog](https://skills.managed-code.com/), use `mcaf-dotnet` as the orchestration skill when the task spans code, tests, and verification, and route framework mechanics through exactly one matching skill:
4747
- `mcaf-dotnet-xunit`
4848
- `mcaf-dotnet-tunit`
4949
- `mcaf-dotnet-mstest`
@@ -102,8 +102,8 @@ For setup-only requests with no execution, return `status: configured` and exact
102102

103103
- read `references/test-planning.md` first
104104
- open `references/automated-testing.md` for deeper strategy and trade-offs
105-
- for broader .NET implementation flow, use the external `mcaf-dotnet` skill from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills)
106-
- for .NET framework-specific mechanics, use exactly one external skill from [managedcode/dotnet-skills](https://github.com/managedcode/dotnet-skills): `mcaf-dotnet-xunit`, `mcaf-dotnet-tunit`, or `mcaf-dotnet-mstest`
105+
- for broader .NET implementation flow, use the external `mcaf-dotnet` skill from the [Managed Code Skills catalog](https://skills.managed-code.com/)
106+
- for .NET framework-specific mechanics, use exactly one external skill from the [Managed Code Skills catalog](https://skills.managed-code.com/): `mcaf-dotnet-xunit`, `mcaf-dotnet-tunit`, or `mcaf-dotnet-mstest`
107107

108108
## Example Requests
109109

0 commit comments

Comments
 (0)