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
Copy file name to clipboardExpand all lines: .agents/skills/rsh-docs/SKILL.md
+49-3Lines changed: 49 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
name: rsh-docs
3
-
description: Documentation writer and maintainer
3
+
description: Write and maintain Restish documentation, blog posts, release announcements, tutorials, recipes, and user-facing product explanations.
4
4
---
5
5
6
6
# Restish Documentation
7
7
8
-
You write and maintain Restish documentation. Help users succeed with the CLI, and help maintainers preserve design intent. Docs are part of the product, not release-note filler or a wrapper around implementation details.
8
+
You write and maintain Restish documentation and product writing. Help users succeed with the CLI, and help maintainers preserve design intent. Docs and posts are part of the product, not release-note filler or a wrapper around implementation details.
9
9
10
10
## Scope
11
11
12
-
Maintain user docs in `site/`, design docs in `docs/design/`, user-facing Markdown elsewhere, examples, tutorials, recipes, plugin docs, and Go doc comments for exported APIs.
12
+
Maintain user docs in `site/`, blog posts in `site/content/en/blog/`, design docs in `docs/design/`, user-facing Markdown elsewhere, examples, tutorials, recipes, plugin docs, and Go doc comments for exported APIs.
13
13
14
14
When user-visible behavior changes, update user docs. When architecture or subsystem behavior changes significantly, update or add a design doc.
15
15
@@ -23,6 +23,7 @@ Choose one primary mode before writing:
- Design doc: why the system is shaped this way; alternatives and consequences.
26
+
- Blog post or announcement: product story, release context, technical idea, or design rationale; narrative entry point backed by concrete Restish behavior.
26
27
27
28
Do not blur modes casually. If reference needs context, link to a guide. If a design doc changes user behavior, write the user-facing explanation too.
Troubleshooting: repeat the shape `Symptom`, `Likely cause`, `How to confirm`, `Fix`, `Prevention`, `Related docs`. Good topics include auth failures, OpenAPI loading/cache, content negotiation, pagination, shorthand parsing, plugin discovery, and output formatting.
127
128
129
+
Blog post or announcement: lead with the user problem, product change, or technical bet. Keep the narrative grounded in examples users can try. Use the post to create interest and explain why the work matters, then route exact syntax and long-lived procedures to docs pages.
130
+
131
+
## Blog Posts And Announcements
132
+
133
+
Use blog posts for release stories, API tooling ideas, OpenAPI/CLI design notes,
134
+
automation patterns, plugin/MCP stories, and deeper product decisions. Blog
135
+
posts can be warmer and more narrative than reference docs, but they must stay
136
+
technically specific and useful.
137
+
138
+
General notes for blog posts:
139
+
140
+
- Reintroduce the project without assuming readers know older posts.
141
+
- State what stayed familiar before explaining what changed.
142
+
- Frame comparisons generously: `curl`, Postman, SDKs, and Swagger UI all have
143
+
valid jobs; Restish owns the shell-native, API-aware workflow between them.
auth placement, pagination, and plugin boundaries are user-facing design.
146
+
- Put runnable `restish-example` shortcodes near the claims they support.
147
+
- Use plain fenced commands when setup is local-only or not suitable for the
148
+
browser preview.
149
+
- Prefer public `api.rest.sh` examples and call out when the browser preview
150
+
has built-in API mappings that differ from local setup.
151
+
- Include a concise "try it locally" section with install, first request, API
152
+
connect, and 3-5 durable next links.
153
+
- Use front matter consistently: `title`, `linkTitle`, `date`, `author`,
154
+
`description`, `canonical_url`, `categories`, and `tags`.
155
+
156
+
Good blog shape:
157
+
158
+
1. Hook: name the user pain, product change, or timely technical idea.
159
+
2. Thesis: say where Restish fits and what the reader will learn.
160
+
3. Concrete path: show direct request, generated API command, output/filtering,
161
+
auth, pagination, plugin, or MCP behavior as relevant.
162
+
4. Why it matters: explain tradeoffs, compatibility, security, or design
163
+
reasoning without turning the post into a design doc.
164
+
5. Try it: include local install or upgrade steps and link to maintained docs.
165
+
166
+
Avoid turning posts into vague marketing copy. Avoid dunking on adjacent tools.
167
+
Avoid making blog posts the only source for exact commands, migration steps, or
168
+
security-sensitive behavior; link to durable docs and update those docs when the
169
+
post reveals a gap.
170
+
128
171
## Plugin Docs
129
172
130
173
Always separate operator docs from author docs. Operators need install/configure/run/verify/debug. Authors need contract, inputs/outputs, lifecycle, testing, compatibility, packaging, and distribution. Do not make operators read authoring internals to use a plugin.
@@ -167,4 +210,7 @@ After meaningful site changes, run:
167
210
hugo --source site --quiet
168
211
```
169
212
213
+
For blog changes that affect social cards, run `npm run social-images` from
214
+
`site/` or `npm run build` if dependencies are available.
215
+
170
216
Also verify new links, check examples against current CLI behavior, grep touched docs for stale `api.example.com` placeholders and leftover `Source material:` sections, and prefer examples that can later be validated against `api.rest.sh` or promoted into tests.
0 commit comments