一键导入
delivery-bootstrap
Use when starting implementation on a new or unfamiliar codebase. Auto-detects tech stack and sets up development context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when starting implementation on a new or unfamiliar codebase. Auto-detects tech stack and sets up development context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use to evaluate the current state of a diamond. Checks theory gates, confidence levels, and recommends next action.
Use when building anything USER-FACING (or with persuasion/retention/cancellation/consent/pricing flows, or that touches vulnerable people) to surface design-level harm the security/privacy/compliance gates miss: dark/deceptive patterns and foreseeable misuse. Assumes the product works as designed and asks who it could harm and whether it is Happier-negative. NUDGE, not a block.
Lint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions.
Accessibility audit against WCAG 2.1 AA. Checks semantic HTML, ARIA, keyboard navigation, color contrast, screen reader compatibility.
Design the smallest viable test to validate or invalidate a critical assumption. Based on Torres's assumption testing framework, organized by Gilad's AFTER model (Assessment → Fact-Finding → Tests → Experiments → Release Results).
Use before any research activity or significant decision. Reviews cognitive biases relevant to the current stage.
| name | delivery-bootstrap |
| description | Use when starting implementation on a new or unfamiliar codebase. Auto-detects tech stack and sets up development context. |
| metadata | {"instruction_budget":"54","framework_dependency":"mycelium","framework_dependency_note":"This skill is designed to run within the Mycelium framework (https://github.com/haabe/mycelium). Standalone use will skip the canvas state, theory gates, and harness behavior the skill assumes. Install: /plugin install mycelium@haabe-mycelium."} |
Just-in-Time tech stack detection and setup.
.claude/diamonds/active.yml:
product_type is set (from /mycelium:interview), use it to determine the delivery profile.${CLAUDE_PLUGIN_ROOT}/jit-tooling/detector.md Step 1b:
content_coursecontent_publicationcontent_mediaai_toolservice_offering1b. Scan project root for technology indicators (software and ai_tool with code):
Identify stack components (software/ai_tool with code):
Verify tooling works:
3a. Offer the feedback-loop tooling menu (OFFER-MENU layer):
${CLAUDE_PLUGIN_ROOT}/jit-tooling/security-scanning.md (SAST, dep audit, secrets, test runner, linter), ordered smallest-friction first (typically: secrets scan → linter → SAST → dep audit → container scan).feedback-jit-nudge-not-push (founder principle, 2026-05-26).active-stack.yml under tooling_offers_declined with timestamp — later shape-triggers (Step 3b) can re-surface the relevant subset.3b. Risk-shape re-offer (RISK-TRIGGERED layer):
/login, /auth, /register, password, session, token, jwt, oauth, x-user-id and similar trust-bearing headers → re-offer SAST + suggest /mycelium:threat-model and /mycelium:security-review. SAST blind spot: identity-trust design (e.g., x-user-id header trusted as auth) is NOT catchable by SAST tools — they don't model intent. Route to /mycelium:security-review regardless of whether SAST consent was given.ai_components categories per detector.md Step 1c → suggest /mycelium:xai-checkemail, ssn, phone, address, payment, card, schema fields matching PII patterns → suggest /mycelium:privacy-check + secrets scanner/mycelium:security-review.upload, multipart, FormFile, ServeFile, ServeContent, Content-Disposition, file-system write from request → re-offer SAST + suggest /mycelium:threat-model with explicit MIME-allowlist + filename-sanitization + size-cap + overwrite-policy review. SAST partial coverage: gosec/semgrep catch path-traversal (filepath.Join without Base), but cannot catch design flaws (MIME confusion via stored files, public-list disclosure, missing auth).(per: AUTH shape detected at app.py:42 → SAST recommended)./mycelium:security-review, /mycelium:threat-model, /mycelium:reflexion (NUDGE-AT-FAILURE) and /mycelium:definition-of-done (PR-TIME).Document existing patterns:
Scaffold Architecture Decision Records (if applicable):
docs/adr/ directory and a template file docs/adr/0000-template.md:
# [NUMBER]. [TITLE]
Date: [DATE]
## Status
Proposed | Accepted | Deprecated | Superseded by [ADR-XXXX]
## Context
What is the issue that we're seeing that is motivating this decision?
## Decision
What is the change that we're proposing and/or doing?
## Consequences
What becomes easier or more difficult to do because of this change?
Output:
## Stack Profile
- Language: [x] v[y]
- Framework: [x]
- Package manager: [x]
- Test: [command] ([framework])
- Lint: [command]
- Build: [command]
- CI/CD: [platform]
## Commands
- Install: [command]
- Dev server: [command]
- Test: [command]
- Build: [command]
- Lint: [command]
## Observed Patterns
- [list of patterns detected]
## Issues Found
- [any broken tooling or warnings]
## Architecture Decision Records
- Scaffolded: yes/no
- Location: docs/adr/
- Pending decisions: [list if any identified during bootstrap]
## Risk Shapes Detected
- [list of risk shapes fired in Step 3b, with citations]
## Recommended Next Skills
- [if AUTH / public-endpoint / file-upload / PII shape fired] → run `/mycelium:security-review` before merging (per: SAST blind spot — identity/authorization/business-logic flaws aren't tool-catchable)
- [if AI shape fired] → run `/mycelium:xai-check`
- [if PII shape fired] → run `/mycelium:privacy-check`
Create/update ${CLAUDE_PLUGIN_ROOT}/jit-tooling/active-stack.yml with detected stack configuration.
See ${CLAUDE_PLUGIN_ROOT}/jit-tooling/active-stack.example.yml for the expected format.