Security Zero to Hero - Project Instructions¶
Overview¶
Security Zero to Hero (https://security.noblerworks.com/, GitHub PatrickWiloak/security-zero-to-hero) is a free security learning resource: a plain-English path from zero to security engineer (learn/security-from-scratch.md), concept pages, compliance guides, a zero trust build, and study guides for security certifications from CompTIA, ISC2, ISACA, Offensive Security, Cloud Security Alliance, AWS, Azure, GCP, IBM, Kubernetes/CNCF, HashiCorp, GitHub and Palo Alto Networks. Cert and provider counts live in docs/certs.json (totals), not here - don't type them into this file. Certifications are one pillar; the site also serves learners with no exam date.
History: split on 2026-10-21 from cloud-data-ai-security-zero-to-hero ("Cloud, Data, AI & Security") into four sibling sites. Cloud, data and AI content belongs in cloud-zero-to-hero, data-zero-to-hero and ai-zero-to-hero; link to them with absolute URLs (cloud., data., ai.noblerworks.com) rather than adding that content here.
Structure¶
security-zero-to-hero/
βββ exams/ # Cert-specific study guides (the certify pillar)
βββ learn/ # Plain-English learning content (the learn pillar)
β βββ concepts/ # Bite-size security topic pages (5-10 min)
β βββ security-from-scratch.md # the path from zero to security engineer
β βββ glossary.md
β βββ youtube.md
βββ resources/ # Compliance guides, comparisons, roadmap, projects, practice questions
βββ topics/ # Cross-pillar topic indexes (security, IAM)
βββ assets/diagrams/ # PNG diagrams (draw.io exports), organized by topic
βββ docs/ # Repo-level docs (ARCHITECTURE.md, certs.json, freshness.md, tag-taxonomy.md)
βββ .github/site/ # Site chrome: extra.css (staged to assets/site/), home.md (landing page), indexnow-key.txt
βββ mkdocs.yml # Site config; nav is generated, not written here
βββ README.md # Top-level overview
βββ STUDY-HUB.md # Navigation hub
βββ CONTRIBUTING.md # How to contribute
Purpose / Usage¶
- Study notes and exam prep for security certifications (cert pillar)
- Plain-English security learning for non-cert students (learn pillar)
- Reference: compliance frameworks, security and identity service comparisons, roadmap, interview prep
- Markdown-based knowledge base;
STUDY-HUB.mdis the navigation hub. - Also published as a website: https://security.noblerworks.com/, built by
.github/workflows/docs-site.ymlon push tomain. The site is generated from the markdown as-is - never restructure content or add frontmatter to satisfy the site build. Site-only fixes go in.github/scripts/build-site.py, which transforms a staged copy in.site-src/and never touches the repo's markdown. Theme colour lives in.github/site/extra.css(near-black plus the amber accent#d97706, Security's colour in the Zero to Hero family; layout ported from gitGood.dev;mkdocs.ymlsetsprimary: customso Material's palettes are bypassed). Light-mode text uses--nw-accent-text#b45309(5.0:1 on white). - Site URL is read from
mkdocs.ymlsite_urlbynotify-indexnow.py,check-repo-metadata.pyand the robots.txt step inbuild-site.py. Change it there only. The IndexNow key in.github/site/indexnow-key.txtis this site's own; never copy a sibling's. - Zero to Hero family bar: the
announceblock in.github/site-overrides/main.htmland the CSS block at the end of.github/site/extra.cssare identical across all four sibling repos. Edit all four together, never one. - The site's home page is
.github/site/home.md, notREADME.md. A repo front page (banner, badges, repo structure, "star this repo") and a website landing page want different things, so the build rendershome.mdover the stagedREADME.md. Editing the README does not change the site's front door - except for the "What's new" bullets, which are extracted from it. Every number on that page is a{{token}}filled fromcerts.jsonandcheck-readme-counts.py; never type a figure into it. See docs/ARCHITECTURE.md. - Organized by purpose (learn / certify / reference) and within each, by provider.
- Each cert dir has:
README.md,fact-sheet.md,notes/,practice-plan.md,scenarios.md,strategy.md.
House style / conventions¶
House style¶
- No em dashes (-). Use regular dashes (-) only.
- Plain English, short sentences. Avoid emoji in body text (section markers OK).
- Cite vendor docs, don't paraphrase. Use the
**[π Title](URL)** - descriptionlink format. - No verbatim vendor exam questions.
Visual content standards¶
- Mermaid fenced code blocks are the default. Write the diagram inline in the page that uses it. GitHub renders Mermaid natively, it stays editable in the markdown, and it diffs as text in review.
- Prefer
flowchart TB/flowchart LRover the oldergraphsyntax. Usesubgraphfor grouped components. Don't hard-code colours; the diagram has to read in both light and dark themes. - Mermaid has no alt text, so give each diagram a caption or a sentence of prose saying what it shows.
- PNG is the exception, for diagrams too dense to read inline. Save to
assets/diagrams/<topic>/<slug>.png(topic subdirs created lazily) and embed with descriptive alt text: - See docs/ARCHITECTURE.md for the full convention.
Frontmatter convention (new and refreshed pages)¶
---
last-updated: YYYY-MM-DD
applies-to: AWS console as of 2026-Q2 # optional
difficulty: beginner | intermediate | advanced # optional
reading-time: 10 min # optional
---
Automation¶
.github/workflows/- link-check (lychee, weekly + on PR), markdown-lint (markdownlint-cli2), structure-validate (custom scripts), docs-site (MkDocs build + Pages deploy; the build runs--strictas a blocking PR gate)..github/scripts/validate-cert-structure.sh- confirm every cert dir has a README; warn on missing fact-sheet, practice-plan, scenarios, strategy..github/scripts/build-freshness-ledger.sh- regeneratedocs/freshness.mdfromlast-updatedfrontmatter. Run after meaningful content updates..github/scripts/build-site.py- stage and build the site.--servefor live preview,--strictto fail on any broken link or anchor.- See docs/freshness.md for the per-cert verification ledger.
Counts are checked, not remembered¶
Every number advertised in README.md and STUDY-HUB.md is verified by CI. Cert and provider counts come from docs/certs.json via build-certs-index.py --check. The per-provider tables in both files are generated from that index by build-provider-indexes.py, between <!-- BEGIN GENERATED: ... --> markers - don't hand-edit inside a marked block. Everything else (concept pages, topic indexes, compliance guides, comparisons, word count, doc-link floor, the Repository Statistics block) is verified by check-readme-counts.py --check.
When you add or remove content, run python3 .github/scripts/check-readme-counts.py --fix in the same change. Hand-kept counts drift, and a dated snapshot restated elsewhere reads as a current fact. If you add a new counted claim to the README, add a matching entry to CLAIMS in that script - an unchecked number goes stale.
The script counts via git ls-files, never a filesystem walk: a local site build leaves a full staged copy of the tree in .site-src/, and walking the working directory counts every page twice.
Docs stay current¶
- Update README,
docs/, this CLAUDE.md and TODO.md in the same commit as the change that makes them wrong, never in a later cleanup. A stale doc is a bug.