Skip to content

docs(tdd): use backticked filename instead of @-prefix#1575

Open
gaurav0107 wants to merge 1 commit into
obra:mainfrom
gaurav0107:fix/1529-resolve-at-prefix-skill-refs
Open

docs(tdd): use backticked filename instead of @-prefix#1575
gaurav0107 wants to merge 1 commit into
obra:mainfrom
gaurav0107:fix/1529-resolve-at-prefix-skill-refs

Conversation

@gaurav0107
Copy link
Copy Markdown

@gaurav0107 gaurav0107 commented May 18, 2026

Fixes #1529.

Line 359 of skills/test-driven-development/SKILL.md references @testing-anti-patterns.md. Nothing in this repo strips the @ — there's no preamble convention for it, no skill loader that resolves it, and no other @-prefixed file reference in this SKILL.md. Every other internal file pointer here is either a bare filename or a backticked path, so the @ reads as a mistake.

The actual file lives next to the SKILL at skills/test-driven-development/testing-anti-patterns.md.

This PR replaces the @-prefixed token with a backticked filename, matching the citation style used everywhere else in the same file:

- When adding mocks or test utilities, read @testing-anti-patterns.md to avoid common pitfalls:
+ When adding mocks or test utilities, read `testing-anti-patterns.md` to avoid common pitfalls:

One line, one file. No behavior change — the surrounding section about mocks and test utilities is unchanged.

I checked the rest of the repo for the same pattern with grep -nE '@[a-zA-Z0-9_-]+\.md' and found exactly one other instance: skills/writing-skills/SKILL.md line 556 (See @testing-skills-with-subagents.md). I left that one alone — issue #1529 only names the TDD file, and writing-skills/SKILL.md is the kind of carefully-tuned content that probably wants its own discussion. Happy to file a follow-up if you want it fixed too.

…icked filename

The reference `@testing-anti-patterns.md` on line 359 of
skills/test-driven-development/SKILL.md uses an `@` prefix that no
markdown processor or skill loader resolves. The intended target file
lives at skills/test-driven-development/testing-anti-patterns.md (the
sibling that the surrounding section is pointing readers at).

Replace the `@`-prefixed token with a plain backticked filename so the
path is unambiguous and matches the citation style already used
throughout this SKILL.md.

Fixes obra#1529.
@gaurav0107 gaurav0107 changed the title docs(test-driven-development): replace @-prefix with backticked filename (fixes #1529) docs(tdd): use backticked filename instead of @-prefix May 18, 2026
@gaurav0107 gaurav0107 marked this pull request as ready for review May 18, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test-driven-development: @testing-anti-patterns.md reference uses @ prefix that doesnt resolve

1 participant