Docs Baseline Loading
Use this skill before implementation commands to guarantee the project docs baseline is present, readable, and aligned.
Trigger conditions
- Running
/pwf-work,/pwf-work-plan,/pwf-work-light, or/pwf-work-tdd. - Starting implementation in a project with missing or stale docs.
Mandatory baseline docs
docs/infrastructure.mddocs/architecture.mddocs/integrations.mddocs/environments.mddocs/glossary.md
Read these before coding.
Optional but high-value context docs
docs/solutions/patterns/critical-patterns.md(if exists)docs/modules/<module>.mdwhen backend module scope is toucheddocs/features/<feature>.mdwhen frontend feature scope is toucheddocs/lambdas/<repo>.mdwhen Lambda scope is toucheddocs/runbooks/README.mdwhen operational/deploy behavior is touched
If baseline docs are missing
Create missing files immediately before implementation.
Required minimum sections
docs/infrastructure.md:
Infrastructure OverviewEnvironmentsCore Services and DependenciesDeployment and OperationsKnown Constraints and Risks
docs/architecture.md:
System OverviewTechnology StackModule and Service BoundariesData and Request FlowsArchitecture Invariants
docs/integrations.md:
Integration CatalogAuthentication and AccessContracts and Data FlowsFailure Modes and RetriesOwnership
docs/environments.md:
Environment MatrixConfiguration and Secrets BoundariesDeployment DifferencesOperational Access
docs/glossary.md:
Domain TermsTechnical Terms and AcronymsNaming Conventions
Constraints
- Do not create duplicate variants of baseline docs.
- Update canonical docs in place.
- Keep docs project-specific and operational (no filler).