Skip to content

Commit c112aed

Browse files
ankur-archclaude
andauthored
Tighten content skills: remove no-ops and redundancy (#7981)
Surgical pass over the merged content skills to remove ceremony and duplicated instructions without losing safety rails or inline warnings: - content-write-blog: drop the "keep the boundary clear" no-op; tighten the structured-question guidance. - content-create-hero-image: fold the "Read first" navigation note into one line (the per-reference "read before…" directives already live in the References list); trim the wordy Pre-conditions; drop five Anti-patterns bullets that only restate the Output contract and Validation checklist (format, filenames, temp dir), keeping the creative/brand traps a checklist can't catch. - docs-writer: drop the "This skill is opinionated" filler, keep the house-style precedence rule. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0946b4c commit c112aed

3 files changed

Lines changed: 10 additions & 23 deletions

File tree

.claude/skills/content-create-hero-image/SKILL.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ chat.
2020
Companion to `content-write-blog` (which scaffolds the post itself). This skill makes the
2121
imagery; it can be invoked standalone or as the cover step of that workflow.
2222

23-
## Read first
24-
25-
Use [`README.md`](README.md) when the operator asks how to use this skill or wants sample
26-
prompts. Use this `SKILL.md` as the execution contract when actually producing assets. Read
27-
[`references/design-system.md`](references/design-system.md) **before designing** and
28-
[`references/design-review.md`](references/design-review.md) **before the design-review pass**.
23+
Use [`README.md`](README.md) for usage and sample prompts; this `SKILL.md` is the execution contract for producing assets.
2924

3025
## References (load on demand)
3126

@@ -77,11 +72,9 @@ cards. A single design may serve both files.
7772

7873
## Pre-conditions — halt if unmet
7974

80-
1. A blog post slug is known or can be derived. If the operator has not given one, ask for the
81-
slug or the post title and derive the kebab-case slug.
82-
2. The reference material is present: the bundled `assets/` (examples, logos, fonts, tokens) — or
83-
the recent posts found during discovery. If nothing is available, ask the operator to supply
84-
reference material before proceeding.
75+
1. A blog post slug, or a post title to derive the kebab-case slug from. Ask if neither is given.
76+
2. Reference material: the bundled `assets/` (examples, logos, fonts, tokens) or the recent posts
77+
found during discovery. Ask the operator to supply some if none is available.
8578

8679
## Discover blog conventions
8780

@@ -322,24 +315,18 @@ Visually inspect the rendered PNG, then verify:
322315

323316
## Anti-patterns
324317

318+
(Format, filename, and destination rules live in _Output contract_ and _Validation_; these are the
319+
creative and brand traps a checklist can't catch.)
320+
325321
- **Hardcoding blog conventions.** The repo evolves — always discover the image directory,
326322
filenames, and frontmatter fields from recent posts; the documented standard is a fallback.
327-
- **An SVG meta image.** Open Graph and social cards do not render SVG; the meta image is always
328-
raster.
329-
- **A raster hero by default.** SVG is the house standard for the hero; use PNG only when the hero
330-
is genuinely photographic and the operator asked for it.
331323
- **Generic AI look.** Glows everywhere, faux-3D blobs, busy gradients, literal robots. Prisma
332324
covers are restrained and typographic. When in doubt, remove an element.
333325
- **Off-system styling.** Inventing colors, or swapping the Mona Sans + Inter pairing (Barlow is
334326
off-brand).
335327
- **Decorative logos.** Marks are a footer sign-off or the subject — never wallpaper.
336328
- **Centering text-only layouts.** Default covers are left-anchored with right-side breathing room.
337329
Center only a single graphic-led composition.
338-
- **Content hashes or dimensions in filenames.** Keep the base names `hero` and `meta`; the
339-
extension follows the format and nothing else.
340-
- **PNG-only or SVG-only.** SVG is the editable source of truth; the PNG is the export. Produce
341-
both for the hero; the meta is always PNG.
342-
- **Saving to temp.** Final assets live in a durable repo location.
343330
- **Fabricating product palettes.** Postgres = teal, ORM = indigo. Compute/Next have no official
344331
tokens yet — use the platform teal and say so; don't invent a brand color.
345332
- **Tagline filler.** Avoid lines like `Resize. Encode. Cache.` If a secondary line is needed,

.claude/skills/content-write-blog/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99

1010
Produce a _skeleton_ for a Prisma blog post — frontmatter, section headings, and short stubs — not a finished article. The human author writes the prose.
1111

12-
This skill produces content only. It does **not** check out, branch, commit, push, or open pull requests against the blog repository. The operator owns the repository workflow: they prepare their own checkout of the blog repo, place or accept the skeleton into it, and push and open the pull request themselves, conforming to that repository's contribution process. Keep the boundary clear at every step.
12+
This skill produces content only. It does **not** check out, branch, commit, push, or open pull requests against the blog repository. The operator owns that workflow: they prepare the checkout, place the skeleton into it, and push and open the pull request following the repo's contribution process.
1313

1414
The blog is owned by DevRel but contributed to by everyone, so do not assume the operator is on the DevRel team or familiar with the blog repository. Treat first-time contributors as the default case.
1515

@@ -19,7 +19,7 @@ The blog is owned by DevRel but contributed to by everyone, so do not assume the
1919

2020
## Asking the operator questions
2121

22-
When this skill needs a decision with a small set of options (which existing author to use, whether a proposal looks right, where the checkout lives), prefer a structured-choice question if the environment supports one. Fall back to plain questions when it does not, or when the answer is genuinely freeform (a pitch, a slug, a bio). Bias toward reasonable defaults from context; ask only when multiple valid paths exist.
22+
For a decision with a small set of options (which author, whether a proposal looks right, where the checkout lives), prefer a structured-choice question where the environment supports one; fall back to a plain question for freeform answers (a pitch, a slug, a bio). Bias toward reasonable defaults from context; ask only when multiple valid paths exist.
2323

2424
## Step 1: Gather the pitch
2525

.claude/skills/docs-writer/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010

1111
Write documentation a developer can follow from start to finish without getting stuck or guessing. Every page answers three questions, in this order: what am I doing, why does it matter, and what do I do next.
1212

13-
This skill is opinionated. If a rule here conflicts with an existing house style, follow the house style and tell the operator about the conflict.
13+
If a rule here conflicts with house style, follow the house style and flag the conflict to the operator.
1414

1515
For a step-by-step example of writing each kind of page (how-to, concept, reference) and rewriting an existing one, see `references/how-to-use.md`.
1616

0 commit comments

Comments
 (0)