skills/notion-decomposition/SKILL.md
# Skill: Notion Decomposition > Decomposes a completed Build Brief into structured Notion pages and optional task database entries. Creates living docs that stay linked to work-item emitters, runbooks, and decision logs. --- ## Trigger Activated immediately on Build Brief completion. Consumes the full Build Brief markdown. ## Emitter Contract Alignment This skill is a document emitter and must conform to [docs/specs/emitter-contract.md](/Users/eric/adlc/docs/specs/emitter-contract.md). Hon
npx skillsauth add bigeasyfreeman/adlc skills/notion-decompositionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Decomposes a completed Build Brief into structured Notion pages and optional task database entries. Creates living docs that stay linked to work-item emitters, runbooks, and decision logs.
Activated immediately on Build Brief completion. Consumes the full Build Brief markdown.
This skill is a document emitter and must conform to docs/specs/emitter-contract.md. Honor the Build Brief's applicability_manifest; suppressed sections stay omitted or explicitly marked not applicable. Every mutation requires contract_version, idempotency handling, and permission logging.
Preserve explicit reuse instructions, reference implementations, and tech-debt sequencing notes from the brief; these are execution constraints, not optional commentary.
ADLC does not ship a Notion client. This skill targets a locally installed MCP provider that can search, create, update, and relate Notion pages or database entries. Repo configuration resolves the provider name and binds the logical capabilities from the shared emitter contract to the provider's actual tool names.
{
"contract_version": "1.x",
"build_brief_markdown": "string (full Build Brief)",
"notion_config": {
"parent_page_id": "string",
"template_style": "design_doc | runbook | default",
"docs_database_id": "string (optional)",
"tasks_database_id": "string (optional)"
},
"mcp_provider": {
"server_name": "string",
"capability_bindings": {
"search_by_metadata": "string",
"upsert_artifact": "string",
"upsert_database_entry": "string (optional)",
"link_artifacts": "string (optional)"
}
},
"work_item_links": {
"target": "jira | github | linear",
"parent_url": "string (optional)"
},
"owner": "string",
"feature_name": "string",
"applicability_manifest": {}
}
{
"contract_version": "1.0.0",
"pages_created": [
{
"page_id": "string",
"title": "string",
"url": "string",
"type": "parent | architecture | risk | tasks | runbook | adr",
"parent_page_id": "string"
}
],
"database_entries": [
{
"id": "string",
"title": "string",
"url": "string",
"kind": "task | decision | question",
"idempotency_key": "BRF-123:notion:tasks:TASK-7:create"
}
],
"links": {
"parent_page": "url",
"architecture_page": "url",
"risk_page": "url",
"task_page": "url",
"runbook_page": "url"
},
"summary": "string"
}
Decompose the Build Brief into this page structure:
[Feature Name] -- Design Doc (parent page)
├── Architecture & Patterns
│ └── Includes reuse guidance and reference implementation pointers when present
├── Risk & Security Assessment
├── Operations & Observability (only when active)
├── Implementation Plan
│ └── Includes debt-prerequisite sequencing or deferred-cleanup notes when present
├── Decision Log
├── Open Questions & Blockers
│ └── Includes deferred tech debt with owners when present
└── Runbook (created shell when operational surfaces exist)
If tasks_database_id is provided:
task_classification, verification_spec, dependencies, and failure modes in properties or structured content.deduplicated.ADLC expects a locally installed MCP provider. Provider tool names may differ; repo configuration maps them to the logical capability set. The payloads below are normalized examples, not a requirement that the provider expose these exact tool names.
{
"name": "decompose_to_notion",
"description": "Decompose a Build Brief into structured Notion pages",
"inputSchema": {
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"description": "Expected contract version range, e.g. 1.x"
},
"build_brief": {
"type": "string",
"description": "Full Build Brief markdown content"
},
"parent_page_id": {
"type": "string",
"description": "Parent Notion page ID"
},
"dry_run": {
"type": "boolean",
"default": true,
"description": "If true, show page structure without creating"
}
},
"required": ["contract_version", "build_brief", "parent_page_id"]
}
}
{
"name": "update_notion_from_brief",
"description": "Update existing Notion pages when the Build Brief changes",
"inputSchema": {
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"description": "Expected contract version range, e.g. 1.x"
},
"build_brief": {
"type": "string",
"description": "Updated Build Brief markdown"
},
"parent_page_id": {
"type": "string",
"description": "Existing parent page ID to update"
}
},
"required": ["contract_version", "build_brief", "parent_page_id"]
}
}
{
"server_name": "notion-local-mcp",
"capability_bindings": {
"search_by_metadata": "pages.searchByMetadata",
"upsert_artifact": "pages.upsertPage",
"upsert_database_entry": "databases.upsertRow",
"link_artifacts": "pages.appendBacklinks"
}
}
contract_version in input and output, with semver checks per docs/specs/skill-contract-versioning.md.docs/schemas/build-brief.schema.json before mutation.development
Orchestration skill: chains the full ADLC Build Loop. PRD → Brief → Council → Scaffold → Codegen → LDD → TDD → Council → PR. Use when implementing a new feature end-to-end.
development
# Skill: Helm & ArgoCD Deployment > Validates Helm charts and generates ArgoCD Application manifests when the ADLC pipeline produces infrastructure or service code. Ensures every deployable artifact has correct chart structure, environment-specific values, and a GitOps-ready Application manifest before code review. --- ## Why This Exists Without deployment validation in the pipeline, common failures slip through to production: - **Helm charts fail `helm template`** because of missing values,
testing
Decide whether an intersecting verifier actually exercises the semantic change.
development
# Skill: UX Flow Builder > Generates user flow diagrams (Mermaid) from PRD personas and screen specifications. Surfaces dead ends, missing screens, and disconnected flows before design or engineering starts. Helps PMs think in screens, not features. --- ## Trigger - Automatically during PRD Phase 4 (Personas & Flows) to visualize the user journey - On-demand when the PM says "show me the flow" or "map the user journey" - During PRD evaluation to verify screen connectivity --- ## Input ```