project-profile
Create and maintain a project's adaptation profile (.aidoc/profile.yaml) - the closed set of preferences the SDD skills honor. Use to tailor the flow to a project without forking the framework.
What this skill does
# project-profile
## Purpose
Author and maintain a project's **adaptation profile** — the version-controlled
`.aidoc/profile.yaml` that tailors how the SDD skills author and audit
artifacts, without forking the framework. The profile is a *closed, declarative*
set of preferences; the authority for what may appear in it is
`${CLAUDE_PLUGIN_ROOT}/framework/governance/ADAPTATION.md` and its machine-readable companion
`${CLAUDE_PLUGIN_ROOT}/framework/governance/ADAPTATION_SURFACE.yaml`.
**Layer**: cross-cutting utility (precedes and informs the layer skills).
## When to Use
**Use when**:
- A project needs to deviate from framework defaults — run a leaner layer set,
toggle an optional section, tighten an audit gate, or apply house terminology.
- Onboarding a project that has a developer house style to carry in (the
user-global seed, below).
- Reviewing or refreshing an existing `.aidoc/profile.yaml`.
**Do NOT use to**:
- Author or audit an artifact — use the layer skills (`../doc-brd/SKILL.md` …).
- Promote a local adaptation upward into the framework — that is the
`../knowledge-extractor/SKILL.md` job.
## Behavior
The framework ships no runtime code — this skill is the profile author. It
writes only keys that exist in the closed surface and silently drops the rest.
### 1. Resolve scopes
- **Project profile** — `.aidoc/profile.yaml` (the runtime input; what the
skills read). Version-controlled, so audits stay reproducible in CI.
- **User-global seed** — `~/.aidoc/profile.yaml` (optional). A developer's
cross-project house preferences. It is **not** read at runtime; it is merged
in here, at authoring time, and the result is materialized into the project
profile.
Effective precedence: `framework defaults < user-global seed < project answers`.
### 2. Infer the starting point
Lean on `../doc-flow/SKILL.md`'s context scan rather than re-scanning: use its
inventory to propose `active_layers` (which layers the project already uses),
spot recurring optional sections, and collect domain terms as `glossary`
candidates. Do not duplicate its scan.
### 3. Interview (within the closed surface only)
Confirm or adjust each of the four v1 knobs:
| Knob | Question | Constraint |
|------|----------|-----------|
| `active_layers` | Which layers are in play? | May disable only the **skippable** set (`ADAPTATION_SURFACE.yaml`: `BDD`, `ADR`); mandatory layers stay. |
| `section_toggles` | Any optional sections to include/omit? | Template-declared **optional** sections only. |
| `audit_threshold` | Any layer's quality gate to tighten? | **Raise-only** — a value must be `>=` the layer's framework default. |
| `glossary` | Preferred terms? | `default → project` term map; applied to generated prose only. |
### 4. Validate against the surface
Parse `${CLAUDE_PLUGIN_ROOT}/framework/governance/ADAPTATION_SURFACE.yaml` and enforce it:
- drop any key not in `knobs`;
- reject disabling a mandatory layer; apply the `cascade_rule` for any disabled
skippable layer;
- reject (do not write) an `audit_threshold` below the framework default;
- keep only template-declared optional sections in `section_toggles`.
### 5. Materialize and write
Merge per the precedence above and write `.aidoc/profile.yaml`, including
`schema_version` (matching the surface's `schema_version`). The file is the
single runtime input — commit it. Example:
```yaml
schema_version: "1.0.0"
active_layers: [BRD, PRD, EARS, SPEC, TDD, IPLAN] # BDD, ADR skipped (cascade applied)
section_toggles:
ADR: { security: on }
audit_threshold:
ADR: 95 # >= framework default
glossary:
"user": "account holder"
```
### 6. Hand off
Report what changed and direct the user to `../doc-flow/SKILL.md`. From now on
the adapting skills consult `.aidoc/profile.yaml`; `../project-init/SKILL.md`
and `../project-adopt/SKILL.md` scaffold only the active layers.
## Related Resources
- Authority: `${CLAUDE_PLUGIN_ROOT}/framework/governance/ADAPTATION.md`
- Surface registry: `${CLAUDE_PLUGIN_ROOT}/framework/governance/ADAPTATION_SURFACE.yaml`
- Context scan: `../doc-flow/SKILL.md`
- Scaffolding: `../project-init/SKILL.md`, `../project-adopt/SKILL.md`
- Promote adaptations upward: `../knowledge-extractor/SKILL.md`
- Next: `../doc-flow/SKILL.md`
## Quick Reference
| Step | Action |
|------|--------|
| 1 | Resolve project profile + user-global seed |
| 2 | Infer starting point via `doc-flow`'s context scan |
| 3 | Interview across the 4 knobs |
| 4 | Validate against `ADAPTATION_SURFACE.yaml` |
| 5 | Materialize + write `.aidoc/profile.yaml` (commit it) |
| 6 | Hand off to `doc-flow` |
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.