You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use shell expansion to inline docs skill references
The SKILL.md previously told agents to manually read reference files.
Now uses !`cat` directives to auto-expand them, ensuring references
are always loaded without relying on agent behavior.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: skills/docs/SKILL.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,25 @@ description: Generate, audit, or update project documentation to a professional
7
7
8
8
Generate and maintain documentation that meets or exceeds the standard set by the best open-source Rails/JS projects (Inertia Rails, Vite Ruby, Rails itself).
9
9
10
-
## Before You Start
10
+
## Reference: Quality Standard
11
11
12
-
1. Read `references/quality-standard.md` in this skill directory to understand the bar we are targeting.
13
-
2. Read `references/templates.md` for structural templates by doc type.
- Scan the repo for existing docs: `docs/`, `README.md`, `CHANGELOG.md`, `CONTRIBUTING.md`, inline code comments, Wiki, and any hosted doc site config (VitePress, Docusaurus, Jekyll, etc.)
20
27
- Identify what exists, what is outdated, and what is missing
21
-
- Compare against the quality checklist in `references/quality-standard.md`
28
+
- Compare against the Quality Standard reference above
22
29
23
30
### Step 2: Determine scope
24
31
@@ -119,7 +126,7 @@ When invoked as `/docs <target>`:
119
126
- If `<target>` is a file path: generate/update docs FOR that code file (inline comments, module-level docs, method docs)
120
127
- If `<target>` is a directory: generate/update docs for the entire module
121
128
- If `<target>` is a doc type keyword (e.g., "readme", "api", "quickstart", "migration", "troubleshooting", "llms.txt", "audit"): generate that specific doc type
122
-
- If `<target>` is "audit": run a full gap analysis against `references/quality-standard.md` and report findings
129
+
- If `<target>` is "audit": run a full gap analysis against the Quality Standard reference above and report findings
0 commit comments