Skip to content
prod e051e98
Browse

Content architecture

System docs · information architecture

You are here: System docsContent architecture This page is for you if: you need the full map of shelves, types, and metadata — before adding or classifying any file. Not this? Decision tree = fast routing for one new item.

ZajLibrary is organized by topic first, then reader intent, then content type. That keeps everything about one subject together while still letting a topic, like Mastra or CodeCanyon, gather handbook pages, guides, playbooks, tools, and templates.

Content decision tree

Content decision tree Decision tree with 14 steps and 6 outcomes: Learn & Understand, Build & Create, Resources, Directories, Topic folders, System Docs. New content item one file, folder, kit, or catalog entry What is the reader trying to do? pick the first matching intent Learn understand a topic Build execute an outcome Reuse copy or look up Browse find a record Group category > subcategory > topic Govern manage the library Learn & Understand <topic>/learn/guides · <topic>/learn/handbooks Open guide → Build & Create <topic>/build/playbooks · <topic>/build/blueprints Open guide → Resources <topic>/resources/templates · <topic>/resources/kits Open guide → Directories /directory/tools · /directory/skills Open guide → Topic folders /tech-stack/laravel/codecanyon · /ai-systems/agent-frameworks/mastra Open guide → System Docs /zajlibrary/system/platform · IA · changelog Open guide → Rule: topic path answers subject; shelf and kind answer reader purpose.
Start with the topic home, then route the item to the shelf and content type that matches what someone will do with it.

graph TD
Root["ZajLibrary"] --> Cat["Category"]
Cat --> Sub["Subcategory"]
Sub --> Topic["Topic"]
Topic --> Learn["Learn & Understand"]
Topic --> Build["Build & Create"]
Topic --> Res["Resources"]
Learn --> L1["Handbooks · Guides · Concepts · Research · Case studies"]
Build --> B1["Playbooks · Blueprints · SOPs · Runbooks · Checklists"]
Res --> R1["Templates · Kits · Cheatsheets · Reference"]
LayerMeaningExample
CategoryBroad subject familytech-stack, infrastructure, zajlibrary
SubcategoryArea inside the familylaravel, hosting, authoring
TopicExact subject neighborhoodcodecanyon, shared-hosting, content-system
ShelfReader-intent route inside a topiclearn, build, resources
KindContent typeguide, playbook, blueprint, template
CollectionOptional legacy bundle metadatacodecanyon-laravel, mastra
TagsCross-cutting filterssecurity, codecanyon, cloudflare
ShapePhysical formone file, folder, kit, data entry

The topic path answers where the content belongs. Kind answers what the content is for. Tags answer how it connects across topics. Shape only answers how much space it needs.

Category/subcategory/topic = subject home
Content type = purpose
Physical shape = one file / folder / kit / data entry

An SOP can be one file or a folder. A guide can be one file or a folder. Do not classify by file count alone.

Topic-first exampleRoute folder
CodeCanyon playbooksapp/src/content/docs/tech-stack/laravel/codecanyon/build/playbooks/
Shared hosting guidesapp/src/content/docs/infrastructure/hosting/shared-hosting/learn/guides/
Authoring referencesapp/src/content/docs/zajlibrary/authoring/content-system/resources/reference/

Browse is generated from the topic path and frontmatter at /browse/; category and subcategory routes remain at /categories/<category>/ and /subcategories/<subcategory>/.

The three Build types overlap in real workflows but serve different reader moments — playbook = full teaching journey; runbook = terse commands for one op; SOP = approved standard. Guides live on Learn (understand once); playbooks live on Build (execute every time).

See the full spectrum, mermaid maps, decision table, and promotion rules in Type decisions.