chore(skill): Own tttk-authoring in the repo

Move the skill to .agents/skills/tttk-authoring and point gen:skill-reference at it. Activate it by symlinking ~/.agents/skills/tttk-authoring to the in-repo copy.

Extend the reference drift guard to cover the skill copy now that it is versioned, and document activation in docs/development.md.
This commit is contained in:
2026-09-12 17:19:38 +08:00
parent 6d94a99b42
commit d8ccaecade
15 changed files with 870 additions and 16 deletions
+5 -5
View File
@@ -41,11 +41,11 @@ describe("known element catalog", () => {
expect(known).toEqual(registered);
});
test("docs/reference.md is up to date", () => {
const committed = readFileSync(
join(process.cwd(), "docs", "reference.md"),
"utf-8",
);
test.each([
["docs/reference.md"],
[join(".agents", "skills", "tttk-authoring", "reference.md")],
])("%s is up to date", (relativePath) => {
const committed = readFileSync(join(process.cwd(), relativePath), "utf-8");
expect(committed).toBe(renderReference());
});