- Hugo (extended edition)
- Git
Install Hugo on macOS:
brew install hugoClone the repo with submodules:
git clone --recurse-submodules git@github.com:focusconsulting/focus-ai-playbooks.git
cd focus-ai-playbooksStart the dev server:
hugo serverThe site will be available at http://localhost:1313/. Changes to content files reload automatically.
If you prefer not to install Hugo locally:
docker compose upThe site will be available at http://localhost:8080/.
Content goes in one of three top-level sections:
| Section | Directory | Purpose |
|---|---|---|
| Playbooks | content/playbooks/ |
Step-by-step workflow guides |
| Tools & Utilities | content/tools-and-utilities/ |
Tool reference guides |
| Best Practices | content/best-practices/ |
Standards and conventions |
Every Markdown file needs YAML front matter at the top:
---
title: "Your Page Title"
weight: 1
tags: ["tag1", "tag2"]
categories: ["Category Name"]
---title— displayed in navigation and page headerweight— controls sort order in the sidebar (lower = higher)tags— used for cross-cutting categorization (see existing tags before creating new ones)categories— the broad category this content belongs to
# Create a new playbook
hugo new content playbooks/my-new-playbook.md
# Create a new sub-section (directory with its own index)
mkdir -p content/playbooks/my-section
cat > content/playbooks/my-section/_index.md << 'EOF'
---
title: "My Section"
weight: 1
bookCollapseSection: true
---
# My Section
Description of this section.
EOFUse standard Markdown relative links:
See the [Prompt Engineering guide](../ai-engineering/prompt-engineering.md) for details.Or absolute paths from the content root:
Check the [Code Review best practices](/best-practices/code-review/).Use lowercase, hyphenated tags. Check existing tags at /tags/ before creating new ones to avoid duplicates.
Common tags: ai, llm, tools, engineering, delivery, quality
Pushing to main automatically triggers a GitHub Actions build and deploys to GitHub Pages. No manual deployment steps needed.