Skip to content

Improve SKILL.md copy MSBuild target#240

Merged
kzu merged 1 commit into
mainfrom
feat/improve-skill-copy-targets
May 14, 2026
Merged

Improve SKILL.md copy MSBuild target#240
kzu merged 1 commit into
mainfrom
feat/improve-skill-copy-targets

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented May 14, 2026

Aligns the \CopyCloudActorsSkill\ MSBuild target with the pattern used in Devlooped.Extensions.AI:

  • Earlier execution: \BeforeTargets="PrepareForBuild"\ instead of \AfterTargets="Build"\ — the skill file is always copied, even when the build fails
  • AGENTS.md fallback: new third fallback for repo root detection — walks up from the project directory to find the nearest \AGENTS.md, using its containing directory as the repo root
  • MakeDir: explicitly creates the destination directory before copying, preventing silent failures
  • Updated path: destination changed from .github/skills/cloudactors/\ to .agents/skills/cloudactors/\ to match the current convention

- Use BeforeTargets="PrepareForBuild" instead of AfterTargets="Build"
- Add AGENTS.md-based repo root fallback
- Add MakeDir step before Copy to ensure destination exists
- Update destination to .agents/skills/cloudactors/
@kzu kzu enabled auto-merge (rebase) May 14, 2026 17:16
@kzu kzu changed the title feat: improve SKILL.md copy MSBuild target Improve SKILL.md copy MSBuild target May 14, 2026
@kzu
Copy link
Copy Markdown
Member Author

kzu commented May 14, 2026

68 passed 68 passed
68 passed 68 passed
68 passed 68 passed

🧪 Details on macOS Unix 15.7.4
🧪 Details on Ubuntu 24.04.4 LTS
🧪 Details on Microsoft Windows 10.0.26100

from retest v1.1.0 on .NET 10.0.8 with 💜 by @devlooped

@kzu kzu merged commit 4ef0355 into main May 14, 2026
6 checks passed
@kzu kzu deleted the feat/improve-skill-copy-targets branch May 14, 2026 17:21
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.

1 participant