onequery-blog-images
Skill17 starsChanged 7 months agoApache-2.0View on GitHub
Generate or replace OneQuery blog thumbnail images and article diagram images for apps/landing. Use when Codex needs to create blog list thumbnails, social share thumbnails, in-article architecture diagrams, update blog imageSrc references, follow the OneQuery diagram design system, or use the bundled assets/diagram-design-system.png visual reference.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- agentic-legibilitySkill
- babysit-prSkill
- better-result-adoptSkill
- code-breaking-changesSkill
- code-review-change-sizeSkill
- code-reviewSkill
- code-review-testingSkill
- drizzle-migration-conflict-resolutionSkill
- gh-pr-writingSkill
- knip-deadcodeSkill
- onequery-bugSkill
- onequery-pr-bodySkill
- protobufSkill
- react-no-use-effectSkill
- tanstack-query-best-practicesSkill
- tanstack-router-best-practicesSkill
- xstateSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Create OneQuery blog thumbnails and article diagrams that match the existing landing-site image system.
- Very specific: line 18
Read references/onequery-blog-image-system.md before generating.
- Very specific: line 19
Use the built-in image_gen flow from the imagegen skill for generation.
- Distinctive: line 22
Update the consuming post:
- Very specific: line 29
Do not leave project-referenced images only under $CODEX_HOME/generated_images.
- Distinctive: line 30
Do not overwrite existing image assets unless the user asked to replace them.
- Distinctive: line 31
Keep thumbnail diagrams simple and centered with at least 1/5 canvas width empty on every edge.
- Distinctive: line 32
Avoid readable text in thumbnails.
- Very specific: line 34
Use assets/diagram-design-system.png as the visual reference.
- Very specific: line 35
Do not use the filled app icon or OneQuery wordmark inside generated diagrams.
- Very specific: line 41
Keep paths under apps/landing/public/images/blog/.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OneQuery Blog Images
Create OneQuery blog thumbnails and article diagrams that match the existing landing-site image system.
Core Workflow
- Inspect the target post under
apps/landing/src/landing/blog/posts/and the current image references. - Read
references/onequery-blog-image-system.mdbefore generating. - Use the built-in
image_genflow from theimagegenskill for generation. - Inspect the generated image with
view_imagebefore copying it into the repo. - Copy the selected generated image from
$CODEX_HOME/generated_images/...intoapps/landing/public/images/blog/. - Update the consuming post:
- Thumbnail/social image: set
imageSrcto/images/blog/<file>.png. - Section diagram: add
imageSrc,imageAlt,imagePlacement,images, orinlineImageson the relevant section.
- Thumbnail/social image: set
- Validate references with
rg, verify dimensions withfile, and runbunx turbo typecheck --json --filter @onequery/landingafter TypeScript changes.
Hard Rules
- Do not leave project-referenced images only under
$CODEX_HOME/generated_images. - Do not overwrite existing image assets unless the user asked to replace them.
- Keep thumbnail diagrams simple and centered with at least 1/5 canvas width empty on every edge.
- Avoid readable text in thumbnails. Use icons, arrows, dots, tiles, and abstract diagram components instead.
- For article diagrams, allow short uppercase module labels only when they improve clarity.
- Use
assets/diagram-design-system.pngas the visual reference. Do not use the olddiagram-system-reference.pngname. - Do not use the filled app icon or OneQuery wordmark inside generated diagrams. Use the simplified line seal icon style when OneQuery is a diagram node.
Naming
- Thumbnail/social share image:
<post-slug>-icon.png. - In-article diagram:
<post-slug>-<diagram-topic>.png. - Keep paths under
apps/landing/public/images/blog/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

