Bundle report templates and integrate validation and rendering

This commit is contained in:
gitea committed 2026-10-12 11:38:19 +08:00
1 parent c4df5ad325
commit f726c22445
19 files changed
+588 -77

No files matched your search

+9
View File
@@ -27,6 +27,15 @@ const files = walk(skillRoot).map((fullPath) => ({
kind: textExtensions.has(extname(fullPath).toLowerCase()) ? "text" : "asset"
}));
// The skill's report reference is owned by the repository too; install it without maintaining a second copy.
const reportReadme = resolve(root, "report-templates", "README.md");
files.push({
fullPath: reportReadme,
relativePath: "report-templates/README.md",
importPath: relative(resolve(root, "src", "core"), reportReadme).split("\\").join("/"),
kind: "text"
});
const lines = [
"// Generated by scripts/generate-embedded-skill.mjs. Do not edit manually.",
""