Updates template files in metasaver-marketplace as the source of truth before applying changes elsewhere. Use when standardizing configs across repos - updates template FIRST, then uses it for remediation. For config skills and domain skills with templates.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
AUDIT WORKFLOW SUPPORT - Called by
/auditcommand to ensure templates stay current before applying fixes.
Purpose: Update templates in metasaver-marketplace as the authoritative source, enabling downstream use in consumer repos
Trigger: After audit violations detected, before remediation options presented
Input:
eslint, prettier, vite-config)Output:
updated_template_path - Full path to updated templatetemplate_content - Content of template after updateaffected_repos - List of consumer repos that should re-auditIdentify template location:
plugins/metasaver-core/skills/config/{category}/{name}/plugins/metasaver-core/skills/domain/{name}/Validate template readiness:
templates/ subdirectory exists (or create it)Update template content:
templates/{name}.template.md or appropriate formatValidate template integrity:
Return results:
plugins/metasaver-core/skills/config/{category}/{skill-name}/
├── SKILL.md
└── templates/
├── {config-type}.template.md
├── {config-type}.example.json
└── ...
Example: skills/config/code-quality/eslint-config/templates/eslintrc.template.js
plugins/metasaver-core/skills/domain/{skill-name}/
├── SKILL.md
├── TEMPLATES.md
├── templates/
│ ├── {type}.template.ts
│ ├── {type}.template.md
│ └── ...
└── reference.md
Example: skills/domain/react-app-structure/templates/component.template.tsx
| Step | Action | Output |
|---|---|---|
| 1 | Locate template in metasaver-marketplace | Template path |
| 2 | Read current template and SKILL.md | Current content, skill structure |
| 3 | Apply updates to template file | Updated template content |
| 4 | Validate syntax and structure | Validation result (pass/fail) |
| 5 | Document change reason (optional) | Updated SKILL.md or changelog |
| 6 | Return results for use in remediation | Template path, content, affected repos |
// templates/eslintrc.template.js
module.exports = {
extends: ["@metasaver/eslint-config"],
parserOptions: {
ecmaVersion: 2021,
sourceType: "module",
},
rules: {
// Custom rules here
},
};
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2
}
{
"extends": "@metasaver/tsconfig/base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
Template-First Updates
No Hardcoding
Consumer Impact
Called by: /audit command (remediation-options phase)
Calls: None (reads/writes to marketplace templates)
Next step: Remediation options workflow with updated template available
Related skills:
remediation-options - Uses updated template for conform-to-template optionaudit-workflow - Orchestrates audit including template updatesInput:
template_type: "eslint"
new_content: {extends: "@metasaver/eslint-config", rules: {...}}
reason: "Add rules-of-hooks for React compliance"
Process:
1. Locate: plugins/metasaver-core/skills/config/code-quality/eslint-config/
2. Update: templates/eslintrc.template.js
3. Validate: Parse syntax, check extends path exists
4. Document: Add comment about rules-of-hooks in template
5. Return:
- template_path: ".../eslint-config/templates/eslintrc.template.js"
- template_content: Updated ESLint config
- affected_repos: ["repo1", "repo2", "repo3"]
- recommendation: "Re-audit ESLint in 3 consumer repos"
Output:
Updated template ready for use in remediation-options
(Option 1: Conform to template will now use this updated version)
Template not found:
Validation fails:
Affected repos unclear: