mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
feat: define skill placement and provenance policy (#748)
This commit is contained in:
parent
09efd68228
commit
4df960c9d5
6 changed files with 148 additions and 6 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env node
|
||||
/**
|
||||
* Validate skill directories have SKILL.md with required structure
|
||||
* Validate curated skill directories (skills/ in repo).
|
||||
* Scope: curated only. Learned/imported/evolved roots are out of scope.
|
||||
* If skills/ does not exist, exit 0 (no curated skills to validate).
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
|
|
@ -10,7 +12,7 @@ const SKILLS_DIR = path.join(__dirname, '../../skills');
|
|||
|
||||
function validateSkills() {
|
||||
if (!fs.existsSync(SKILLS_DIR)) {
|
||||
console.log('No skills directory found, skipping validation');
|
||||
console.log('No curated skills directory (skills/), skipping');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue