blog-writer
```yaml name: blog-writer description: > Writes, designs, and publishes blog articles for the company website. Handles the full lifecycle from writing through…
Detect user-facing features in recently merged PRs and open a PR in the docs repo adding the missing documentation.
$ npx -y skills add getnao/sylph --skill update-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/update-docsContext preview
The summary Claude sees to decide when to auto-load this skill.
Detect user-facing features in recently merged PRs and open a PR in the docs repo adding the missing documentation.
name: update-docs description: Detect user-facing features in recently merged PRs and open a PR in the docs repo adding the missing documentation.
When the user runs `/update-docs`, scan recently merged PRs for user-facing changes and open a documentation PR.
| Connector | Purpose | |-----------|---------| | GitHub | Read merged PRs, create docs PRs |
Both repos must be cloned locally:
State file: `agents/cmo/_state/docs_last_refresh.txt` (plain text, single ISO date).
---
1. Read `agents/cmo/_state/docs_last_refresh.txt` if it exists 2. If the file exists, use its date as `SINCE` 3. If it does NOT exist (first run), use `today - 15 days` as `SINCE` 4. Record `TODAY` as the date to write back at the end
---
gh pr list -R <product-repo> \ --state merged \ --search "merged:>=<SINCE>" \ --limit 100 \ --json number,title,url,mergedAt,body,author,files
Keep the full list - every PR appears in the final summary, even those that don't need docs.
---
For each PR, decide: **user-facing or not?**
**User-facing** (needs docs):
**NOT user-facing** (skip):
When unsure, read the PR body and changed files. If still ambiguous, err on **no docs** and note it in the summary.
---
Pull latest from the docs repo:
cd <docs-repo> && git checkout main && git pull
Before writing any new doc, search the repo for existing coverage (grep on keywords from the PR title/body). If a relevant page exists, **update it** instead of creating a new one.
---
For each user-facing PR that needs docs:
1. Identify the right section and subfolder 2. Either update an existing page or create a new one 3. Follow the style of neighboring pages - tone, frontmatter, headings, code blocks 4. If you create a new page, add it to the navigation/sitemap config 5. Keep docs factual and concise - no marketing voice, direct tone 6. Only document what actually shipped - read the PR diff if the description is thin. Never invent behavior.
---
cd <docs-repo> git checkout -b docs/refresh-<TODAY> git add <changed files> git commit -m "docs: refresh for PRs merged since <SINCE>" git push -u origin docs/refresh-<TODAY> gh pr create -R <docs-repo> \ --title "docs: refresh for PRs merged since <SINCE>" \ --body "<PR summary - see template below>"
Every PR from Step 2 must appear in the list, in merge order. Use these exact shapes:
- PR merged #123 <PR title> - no docs added - PR merged #124 <PR title> - added docs - <one-line description of what was documented and where>
No other bullet shapes. No section grouping. Keep it a flat list.
If zero PRs were user-facing, skip PR creation and just update the state file.
---
Write `TODAY` (ISO date) to `agents/cmo/_state/docs_last_refresh.txt`:
echo "<TODAY>" > agents/cmo/_state/docs_last_refresh.txt git add agents/cmo/_state/docs_last_refresh.txt git commit -m "chore(cmo): log docs refresh <TODAY>" git push
The next run picks up from this date.
---
Return to the user:
After the docs PR is reviewed and merged:
1. If the reviewer requests changes to doc structure, tone, or coverage scope, update the relevant step in this skill file 2. If a PR classification was wrong (documented something that didn't need docs, or missed something that did), refine the classification guide in Step 3 3. Update `_insights.md` with patterns: which PRs consistently need docs, which doc styles get approved without changes 4. If the PR summary format needs adjustment based on reviewer feedback, update the template in Step 6
The open-source company brain. Run your entire company with AI agents, skills, and a self-improving context.
Repo: getnao/sylph
```yaml name: blog-writer description: > Writes, designs, and publishes blog articles for the company website. Handles the full lifecycle from writing through…
Process for creating any branded visual asset (social graphics, one-pagers, banners, etc.).
The canonical reference for [your-company]'s brand identity. Load this before creating any branded content.
Runs the CEO's daily operating rhythm - inbox triage, project tracking, weekly planning, and briefing delivery.
Owns the content calendar, weekly planning, daily drafting, docs maintenance, and website review.
Build targeted outbound campaigns from ICP definition through personalized sequences.