Documentation & Directories
Learn how to use the Documentation section to browse and organize assets into hierarchical directory structures
Last updated: December 2025
Overview
The Documentation section provides a file-system-like hierarchical structure for browsing and organizing assets in Workunit. Think of directories as folders that group related assets—products, systems, people, and knowledge—into a navigable tree structure.
This guide teaches you how to use the Documentation section, create and manage directories, and build an organized asset library that's easy to navigate for both humans and AI assistants.
What Are Directories?
Directories are containers that organize assets into a tree structure, similar to folders on your computer. They help you group related assets, create logical hierarchies, and make information easier to find.
Directory Hierarchy
Directories can be nested to create multi-level hierarchies. Each directory can contain both assets and subdirectories, allowing you to build complex organizational structures.
Example Directory Structure
Supported Asset Types
All asset types can be organized in directories. This flexibility lets you create structures that match how your organization thinks about its resources.
Assets You Can Organize in Directories:
Creating Directories
Creating directories is straightforward. Start with broad categories, then add subdirectories as your documentation library grows.
Creating Your First Directory
When creating a directory, provide a clear name and optional description. Think about the category of documentation this directory will contain.
Nested Directories
Create subdirectories to organize documentation within broader categories. You can nest directories multiple levels deep to match your organizational needs.
Result: Engineering / Backend Services
Before: REST API
After: API Documentation / REST API
Organizing Assets in Directories
Once you've created directories, you can organize assets by placing them in the appropriate directory. This creates a structured library that's easy to navigate.
Moving Assets to Directories
Assets can be moved into directories at any time. When creating a new asset, you can immediately place it in a directory, or you can move existing assets into directories as you organize.
Directory: API Documentation / REST API
Result: Asset created in correct location
Current: (root level)
Move to: API Documentation / GraphQL API
Root-Level Assets
Not all assets need to be in a directory. Assets at the root level (not assigned to any directory) are accessible and searchable, appearing in the main documentation view.
Good Uses for Root-Level Assets:
Browsing the Documentation Section
The Documentation section provides an intuitive interface for navigating your directory structure and finding assets quickly.
Viewing Directory Contents
When you click on a directory in the tree, the main content area displays all assets and subdirectories within that directory. This provides a clear view of what documentation is organized where.
AI Integration with Directories
AI assistants can navigate, create, and manage directories via MCP, making it easy to organize assets through natural language commands.
Example Prompts
MCP Directory Operations
For developers building integrations, here's the technical reference. The MCP directory tool uses a polyaction pattern with these operations:
Searching Within Directories
The search tool supports directory filtering, allowing AI assistants to find assets within specific directories or at the root level only.
Best Practices
Apply these principles to create an organized, intuitive documentation structure:
Logical Organization
Naming Conventions
When to Use Directories
Next Steps
Ready to organize your assets with directories? Here's where to go next:
View Documentation
Browse your existing assets and directory structure
Create Asset
Add new assets and organize them in directories
Managing Assets
Learn about asset types and their organization
MCP Integration
Connect AI assistants to manage directories via Model Context Protocol
Questions About Documentation?
We're here to help you organize your assets effectively with directories.