writing-blogs
Repository layout (apps/console)
This skill targets the Console app at apps/console in appwrite/appwrite; paths are relative to it. Path mapping from the upstream appwrite/website skills:
| Artifact | Path |
| --- | --- |
| Blog post | src/content/blog/posts/<slug>.markdoc |
| Docs page | src/content/docs/{path}/index.markdoc |
| Changelog entry | src/content/changelog/entries/<YYYY-MM-DD>.markdoc |
| Cover image | public/images/blog/<slug>/cover.avif (min 1200px wide; run bun run generate:cover-manifest after adding) |
Also apply the unslop skill to all user-facing prose.
Blog Writing
Blog structure
Each blog post is a single file at src/content/blog/posts/<slug>.markdoc (e.g. src/content/blog/posts/my-post-slug.markdoc). Every file must start with this frontmatter:
---
layout: post
title: "Full title as a string"
description: One sentence summary of what the post covers.
date: YYYY-MM-DD
cover: /images/blog/<slug>/cover.avif
timeToRead: <number>
author: aditya-oberai
category: product
featured: false
unlisted: true
faqs:
- question: "A question a reader would actually ask."
answer: "A direct answer. Markdown links to docs and inline code blocks are allowed."
- question: "Another question."
answer: "Another answer."
---The filename (slug) must match the cover image path: e.g. avoid-backend-overengineering.md maps to /images/blog/avoid-backend-overengineering/cover/cover.avif.
Voice and tone
- Direct and opinionated. State positions clearly. Avoid hedging language like "it depends" without then explaining what it depends on.
- Developer-first. Write for engineers making real decisions. No fluff, no marketing speak.
- Practical over theoretical. Lead with the concrete problem, then the reasoning, then the solution.
- No unnecessary superlatives. Don't call things "amazing" or "powerful" — show why they matter.
Post structure pattern
- Hook — Open with the real problem or a common misconception. No preamble.
- Establish the cost — Why this problem matters in practice.
- Answer directly — Give a concise answer to the primary search query early, before expanding on the details.
- Break it down — Use useful H1/H2 sections and H3 subsections to cover each dimension clearly.
- Show examples — Include concrete examples that help the reader apply the guidance.
- Connect to Appwrite — Explain a relevant Appwrite use case without forcing one where it does not fit.
- Concrete guidance — What to actually do. Be specific.
- Close with a combined CTA and resources section — Merge "Moving forward" and "Resources" into one section. The heading must be specific to the post's topic (e.g. "Getting started with Appwrite Auth", not "Moving forward"). End with 2-4 relevant doc links found by reading the local docs in
src/content/docs/. Only link to pages directly relevant to the post. Do not include generic links to the homepage, Discord, or GitHub unless nothing more specific exists.
Formatting conventions
- Use
boldfor key terms and important callouts within paragraphs. - Use bullet lists for enumerating capabilities, trade-offs, or steps — not for general prose.
- Avoid nested lists unless strictly necessary.
- Use H1 (
#) for major sections, H2 (##) for subsections, and H3 (###) where a subsection needs further structure. - Link to official docs for referenced features: e.g.
Appwrite Sites. - Keep paragraphs short: 2-4 sentences as a rule.
- No em dashes. Do not use
—anywhere. Rewrite the sentence to avoid it using a period, comma, or restructured clause. - Section headings must be specific and declarative. Avoid vague closers like "Moving forward", "What this means", or "Where to go from here". Bad: "Moving forward". Good: "Getting started with Appwrite Storage".
SEO guidelines
- Title: Include the primary keyword naturally. Keep it 50-60 characters. Front-load the keyword when possible (e.g. "JWT Authentication with Appwrite" not "Using Appwrite to Do JWT Authentication").
- Description frontmatter: Write 1 sentence, 150-160 characters, that includes the primary keyword and clearly states what the reader will learn or get.
- Slug: Short, keyword-rich, hyphen-separated. Match the exact topic (e.g.
appwrite-jwt-auth, nothow-to-do-authentication-in-your-app-using-appwrite). - Headings: Use the primary keyword in at least one H1, H2, or H3. Headings should reflect real search queries developers type, not internal jargon.
- Search intent: Match the post type to intent. A "how to" post should answer a specific task. A comparison post should help the reader make a decision. Do not write a conceptual post when developers are searching for a tutorial.
- Internal links: Link contextually to relevant Appwrite docs, product pages, and related blog posts from within the body, not just the closing section.
- External links: Where relevant, cite credible external sources that support accuracy, trust, and E-E-A-T.
SEO checklist
Create the content
- [ ] The title is clear and includes the primary keyword naturally.
- [ ] The introduction is strong, establishes the problem, and uses the primary keyword naturally.
- [ ] An early direct answer section addresses the primary search query for AEO.
- [ ] Useful H2 and H3 headings organize the post and include the keyword where natural.
- [ ] Concrete examples make the guidance actionable.
- [ ] A relevant Appwrite use case connects the topic to a real developer workflow.
- [ ] Contextual internal l
