From compliance-trestle
Guides Trestle workspace setup, structure, initialization modes, directory conventions, config files, and OSCAL compliance organization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/compliance-trestle:trestle-workspaceThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
A trestle workspace is an opinionated directory structure (similar to git) that manages OSCAL compliance documents.
A trestle workspace is an opinionated directory structure (similar to git) that manages OSCAL compliance documents.
.
├── .trestle/ # Config dir (config.ini, cache, templates)
├── dist/ # Assembled output files
│ ├── catalogs/
│ ├── profiles/
│ ├── component-definitions/
│ ├── system-security-plans/
│ ├── assessment-plans/
│ ├── assessment-results/
│ └── plan-of-action-and-milestones/
├── catalogs/ # Catalog source models
├── profiles/ # Profile source models
├── component-definitions/ # Component definition source models
├── system-security-plans/ # SSP source models
├── assessment-plans/ # Assessment plan source models
├── assessment-results/ # Assessment results source models
└── plan-of-action-and-milestones/ # POA&M source models
Each model instance lives in its own subdirectory:
catalogs/
└── nist-800-53/
└── catalog.json # The actual OSCAL model file
trestle init creates the workspace. Three modes available:
| Mode | Flag | Creates | Use Case |
|---|---|---|---|
| Full | --full (default) | .trestle/ + dist/ + all model dirs | Full functionality: local models, API, governed docs |
| Local | --local | .trestle/ + all model dirs (no dist/) | Local OSCAL model management only |
| GovDocs | --govdocs | .trestle/ only | Document governance only |
.trestle/ directory contains config files, caches, and templatesdist/ directory holds assembled/merged output files.json) or YAML (.yaml, .yml)The workspace config lives at .trestle/config.ini. It can store task configurations and other settings used by trestle commands.
.trestle/ directorycatalogs/*/catalog.json)trestle validate -a to validate all modelsnpx claudepluginhub ethanolivertroy/compliance-trestle-skills --plugin compliance-trestleGuides OSCAL document selection (SSP, Profile, AR, POA&M), authoring, validation error fixes, schema versioning, and integrations with FedRAMP, eMASS, Compliance Trestle.
Maps IaC files (Terraform, Kubernetes, CloudFormation, Pulumi, Ansible) to compliance controls (SOC 2, ISO 27001, NIST 800-53) and generates markdown evidence reports with status and recommendations.
Generates compliance reports for PCI DSS, HIPAA, SOC 2, GDPR, ISO 27001 by scanning codebases and configs for security controls, assessing gaps, and producing audit-ready Markdown.