From b665be220bce52875bec6a3e4fc2bedf402c90da Mon Sep 17 00:00:00 2001 From: Basparin Date: Mon, 13 Apr 2026 04:03:58 -0400 Subject: [PATCH] fix(skill-creator): do not hardcode author in template and docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SKILL.md template and the Frontmatter Fields table instructed every generated skill to set metadata.author to 'gentleman-programming', so skills created by any user ended up attributed to the wrong author. Replace the template value with a '{your-github-username}' placeholder and update the docs row to instruct the AI to infer the author from 'git config user.name' or ask the user — never hardcode. The skill-creator's own frontmatter author is intentionally kept. Closes #98 --- internal/assets/skills/skill-creator/SKILL.md | 2 +- testdata/golden/skills-claude-skill-creator.golden | 2 +- testdata/golden/skills-kiro-skill-creator.golden | 2 +- testdata/golden/skills-opencode-skill-creator.golden | 2 +- testdata/golden/skills-windsurf-skill-creator.golden | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/assets/skills/skill-creator/SKILL.md b/internal/assets/skills/skill-creator/SKILL.md index ca9d42fdc..182ec091b 100644 --- a/internal/assets/skills/skill-creator/SKILL.md +++ b/internal/assets/skills/skill-creator/SKILL.md @@ -58,7 +58,7 @@ name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: - author: gentleman-programming + author: "{your-github-username}" version: "1.0" --- ``` diff --git a/testdata/golden/skills-claude-skill-creator.golden b/testdata/golden/skills-claude-skill-creator.golden index ca9d42fdc..182ec091b 100644 --- a/testdata/golden/skills-claude-skill-creator.golden +++ b/testdata/golden/skills-claude-skill-creator.golden @@ -58,7 +58,7 @@ name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: - author: gentleman-programming + author: "{your-github-username}" version: "1.0" --- ``` diff --git a/testdata/golden/skills-kiro-skill-creator.golden b/testdata/golden/skills-kiro-skill-creator.golden index ca9d42fdc..182ec091b 100644 --- a/testdata/golden/skills-kiro-skill-creator.golden +++ b/testdata/golden/skills-kiro-skill-creator.golden @@ -58,7 +58,7 @@ name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: - author: gentleman-programming + author: "{your-github-username}" version: "1.0" --- ``` diff --git a/testdata/golden/skills-opencode-skill-creator.golden b/testdata/golden/skills-opencode-skill-creator.golden index ca9d42fdc..182ec091b 100644 --- a/testdata/golden/skills-opencode-skill-creator.golden +++ b/testdata/golden/skills-opencode-skill-creator.golden @@ -58,7 +58,7 @@ name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: - author: gentleman-programming + author: "{your-github-username}" version: "1.0" --- ``` diff --git a/testdata/golden/skills-windsurf-skill-creator.golden b/testdata/golden/skills-windsurf-skill-creator.golden index ca9d42fdc..182ec091b 100644 --- a/testdata/golden/skills-windsurf-skill-creator.golden +++ b/testdata/golden/skills-windsurf-skill-creator.golden @@ -58,7 +58,7 @@ name: {skill-name} description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}." license: Apache-2.0 metadata: - author: gentleman-programming + author: "{your-github-username}" version: "1.0" --- ```