Live site: devteds.github.io/devpages
A Git-backed developer knowledge publishing system powered by Claude Code.
DevPages helps you create, preview, and publish beautiful standalone HTML guide artifacts to GitHub Pages. Each guide is a single self-contained HTML file — no build tools, no frameworks, no dependencies.
- Open this repo in Claude Code
- Run
/newguideto create a guide interactively - Preview it in your browser
- Run
/publishto push it live to GitHub Pages
| Command | Description |
|---|---|
/newguide |
Create a new guide from scratch |
/publish [slug] |
Publish a guide to GitHub Pages |
/updateguide [slug] |
Update an existing guide |
/listguides |
List all guides with status |
/previewguide [slug] |
Open a guide in your browser |
├── CLAUDE.md — Instructions for Claude Code
├── index.html — Auto-generated hub page
├── guides/ — One folder per guide
│ └── [slug]/
│ ├── index.html — The guide (standalone HTML)
│ └── meta.json — Guide metadata
├── scripts/
│ └── build-index.js — Regenerates index.html
├── .claude/
│ ├── docs/
│ │ ├── STYLE_GUIDE.md — Visual design system
│ │ └── COMPONENTS.md — Reusable HTML/CSS patterns
│ └── skills/ — Slash command workflows
│ ├── newguide/
│ ├── publish/
│ ├── updateguide/
│ ├── listguides/
│ └── previewguide/
└── .github/workflows/
└── pages.yml — GitHub Pages deployment
- Clone this repo
- Enable GitHub Pages: Settings → Pages → Deploy from branch →
main// (root) - Set up your author identity (see below)
- Open in Claude Code and run
/newguide
Guides are attributed to the author. Create a .author.json file in the project root:
cp .author.example.json .author.jsonThen edit it with your details:
{
"name": "Your Name",
"url": "https://linkedin.com/in/yourhandle",
"email": "you@example.com"
}name— required — your display nameurl— optional — link attached to your name (LinkedIn, website, etc.)email— optional — not displayed publicly, stored in meta.json only
If .author.json is not present, the author defaults to your git config user.name.
Note:
.author.jsonis gitignored — each contributor maintains their own.
- Node.js >= 16 (for build-index.js)
- Git with push access to this repo
- Claude Code CLI
Contributions are welcome! To get started:
- Fork this repo
- Clone your fork and set up your
.author.json(see above) - Create a branch for your guide:
git checkout -b guide/your-topic - Run
/newguidein Claude Code to create your guide - Preview it locally, then open a PR against
main
- One guide per PR
- Follow the existing style guide (
.claude/docs/STYLE_GUIDE.md) - Keep guides self-contained — no external file dependencies
- Include accurate, up-to-date commands and shortcuts
- Test that the HTML renders correctly via
file://before submitting
This project is licensed under the MIT License.
© 2026 Devteds. All rights reserved.