All slopdocs content is stored in the standardized base directory:
/usr/share/slopdocs
This centralized location ensures:
Slopdocs uses a flat filesystem structure with no subdirectories. All documentation files are stored directly in the base directory. The organizational hierarchy is achieved through the dot-separated naming convention rather than physical directory structure.
This approach minimizes computational overhead by:
Optimizing for efficient machine processing
/usr/share/slopdocs/
├── library.react.frontend.md
├── library.express.backend.md
├── library.postgresql.database.md
├── utilities.git.system.md
├── utilities.docker.build.md
├── utilities.kubernetes.deploy.md
├── stack.node.versions.md
├── stack.npm.dependencies.md
├── stack.python.compatibility.md
├── structure.microservices.architecture.md
├── structure.repository.patterns.md
├── structure.naming.guidelines.md
├── ethics.ai.responsible.md
├── ethics.code.quality.md
└── ethics.collaboration.guidelines.md
The naming convention follows a hierarchical dot-separated format:
root.component.md
root.component.subcomponent.md
root.component.subcomponent.subsubcomponent.md
.md for markdown format.mdlibrary.react.md
utilities.docker.md
stack.node.md
structure.microservices.md
ethics.responsible.md
library.react.frontend.md
utilities.docker.build.md
stack.node.versions.md
structure.microservices.architecture.md
ethics.ai.responsible.md
library.react.frontend.components.md
utilities.docker.build.multi-stage.md
stack.node.v18.versions.md
structure.microservices.communication.patterns.md
ethics.ai.responsible.deployment.md
Purpose: Documentation for software libraries, frameworks, and APIs
Scope:
Examples:
library.react.frontend.md - React frontend library documentationlibrary.express.backend.md - Express.js backend frameworklibrary.postgresql.database.md - PostgreSQL database librarylibrary.libinvercargill.core.md - Custom internal library core documentationPurpose: System utilities, command-line tools, and helper applications
Scope:
Examples:
utilities.git.system.md - Git version control systemutilities.docker.build.md - Docker containerization toolutilities.kubernetes.deploy.md - Kubernetes deployment systemutilities.prometheus.monitor.md - Prometheus monitoring systemPurpose: Technology stack information, including version compatibility and dependencies
Scope:
Examples:
stack.node.versions.md - Node.js version specificationsstack.npm.dependencies.md - NPM package dependenciesstack.python.compatibility.md - Python compatibility informationstack.production.requirements.md - Production environment requirementsPurpose: System architecture, design patterns, and organizational guidelines
Scope:
Examples:
structure.microservices.architecture.md - Microservices architecturestructure.repository.patterns.md - Repository pattern implementationstructure.naming.guidelines.md - Naming conventionsstructure.development.workflows.md - Development workflow processesPurpose: Development ethics, best practices, and responsible AI guidelines
Scope:
Examples:
ethics.ai.responsible.md - Responsible AI developmentethics.code.quality.md - Code quality standardsethics.collaboration.guidelines.md - Team collaboration principlesethics.accessibility.standards.md - Accessibility requirementsAlways use lowercase letters for all components in the filename:
✓ library.react.frontend.md
✗ Library.React.Frontend.md
✗ library.REACT.frontend.md
Use hyphens to separate multi-word components:
✓ utilities.kubernetes.deploy.md
✗ utilities.kubernetesdeployment.md
✓ structure.naming.guidelines.md
✗ structure.namingguidelines.md
Include version information when relevant:
✓ library.react.v18.frontend.md
✓ stack.node.v18.versions.md
✓ utilities.docker.v24.build.md
Be specific to avoid conflicts:
✓ library.react.frontend.md
✓ library.react.native.md
✗ library.react.md (too generic)
Use specific component names rather than generic ones:
✓ library.postgresql.database.md
✗ library.postgresql.md
✓ utilities.git.system.md
✗ utilities.git.md
Choose names that balance clarity with brevity to minimize processing overhead:
✓ library.react.md (minimal, clear)
✓ library.react.frontend.md (specific when needed)
✓ library.react.frontend.component-library.md (as specific as needed)
✓ library.react.frontend.component-library.ui-elements.md (as specific as needed)
✓ library.react.frontend.component-library.ui-elements.buttons.md (as specific as needed)
✓ library.json-glib.parsing.md (correct - dots create nesting)
✗ library.json.glib.parsing.md (incorrect - breaks logical hierarchy)
Break large documentation into smaller, focused files when:
Example of breaking down large documentation:
Instead of: library.react.frontend.everything.md (very large)
Use:
- library.react.frontend.md (core concepts)
- library.react.frontend.components.md (component patterns)
- library.react.frontend.hooks.md (custom hooks)
- library.react.frontend.routing.md (navigation)
- library.react.frontend.state-management.md (state patterns)
- library.react.frontend.testing.md (testing approaches)
For straightforward documentation with a single focus:
library.react.md
utilities.git.md
stack.node.md
ethics.responsible.md
For more specific documentation:
library.react.frontend.md
utilities.git.system.md
stack.node.versions.md
ethics.responsible.ai.md
For comprehensive documentation covering multiple aspects:
library.react.frontend.md
library.react.components.md
library.react.hooks.md
library.react.routing.md
utilities.docker.build.md
utilities.docker.deploy.md
utilities.docker.networking.md
utilities.docker.volumes.md
For documenting different versions of the same technology:
library.react.v17.frontend.md
library.react.v18.frontend.md
library.react.v19.frontend.md
stack.node.v16.versions.md
stack.node.v18.versions.md
stack.node.v20.versions.md
Organize related documentation to enable easy cross-referencing:
structure.microservices.architecture.md
structure.microservices.communication.md
structure.microservices.deployment.md
structure.microservices.monitoring.md
utilities.kubernetes.deploy.md
utilities.kubernetes.services.md
utilities.kubernetes.configmaps.md
utilities.kubernetes.secrets.md
LLMs should follow this process to find relevant documentation:
Example process:
Query: "How do I deploy React applications with Docker?"
1. Keywords: React, deploy, Docker
2. Namespaces: library (React), utilities (Docker)
3. Components: frontend, build, deploy
4. Candidate files: library.react.md, library.react.frontend.md, utilities.docker.md, utilities.docker.build.md, utilities.docker.deploy.md
5. Priority order: library.react.md → library.react.frontend.md → utilities.docker.md → utilities.docker.deploy.md
LLMs should parse file names hierarchically:
library.react.frontend.md
└── root: library (software library documentation)
└── component: react (React library)
└── subcomponent: frontend (frontend-specific aspects)
library.react.md
└── root: library (software library documentation)
└── component: react (React library - minimal namespace)
utilities.docker.deploy.md
└── root: utilities (system utilities)
└── component: docker (Docker tool)
└── subcomponent: deploy (deployment functionality)
When documentation is missing or outdated:
Example fallback process:
Looking for: library.react.v19.frontend.md
1. Check: library.react.v19.frontend.md (not found)
2. Check: library.react.frontend.md (found - use as fallback)
3. Check: library.react.v18.frontend.md (found - use for version comparison)
4. Note: Create library.react.v19.frontend.md when possible
LLMs should use this strategy for efficient content discovery:
For answering technical questions:
1. Parse query to identify relevant namespaces
2. Locate candidate documents based on filename patterns
3. Extract specific information from documents
4. Synthesize information from multiple documents when needed
5. Include references to source documents
LLMs should integrate slopdocs knowledge into development workflows:
This document defines the slopdocs filesystem structure, including the standardized base directory, flat file organization, and dot-separated naming convention. It provides detailed guidelines for organizing documentation across five primary namespaces (library, utilities, stack, structure, and ethics) with examples of valid naming patterns. The document serves as a comprehensive reference for LLMs to efficiently locate, interpret, and navigate slopdocs content while optimizing for resource efficiency.
This filesystem structure documentation serves as a technical reference for LLMs to understand and navigate the slopdocs filesystem structure effectively while maintaining ethical principles of truth, responsibility, low resource usage, and practical problem solving.