@minhpnq1807/contextos 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.5
|
|
4
|
+
|
|
5
|
+
- **Generated skill frontmatter:** Fixed `ctx doctor --fix` starter `SKILL.md` output so generated project skills include YAML frontmatter with `name` and `description`. This prevents invalid-skill warnings after generated skills are synced through skillshare.
|
|
6
|
+
|
|
3
7
|
## 0.6.4
|
|
4
8
|
|
|
5
9
|
- **Project context generator:** Added `ctx doctor --fix` and `ctx setup --generate-project-context` to explicitly scaffold starter project skills and a primary workflow when a repository has rules but is missing ContextOS-ready skills/workflows. Generation is repo-scoped, does not run from `npm install`, and does not overwrite existing files unless `--force` is passed to `ctx doctor --fix`.
|
package/package.json
CHANGED
|
@@ -254,6 +254,11 @@ function skill({ id, name, description, prompts, files, dependencies, negatives
|
|
|
254
254
|
|
|
255
255
|
function renderSkillMarkdown(skill) {
|
|
256
256
|
return [
|
|
257
|
+
"---",
|
|
258
|
+
`name: ${skill.id}`,
|
|
259
|
+
`description: ${skill.description}`,
|
|
260
|
+
"---",
|
|
261
|
+
"",
|
|
257
262
|
`# ${skill.name}`,
|
|
258
263
|
"",
|
|
259
264
|
skill.description,
|