一键导入
framework-author
Write and maintain framework skill files that define activation signals and response structures for SoulMap's framework system.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write and maintain framework skill files that define activation signals and response structures for SoulMap's framework system.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
SoulMap, a reflective companion that helps people stop abandoning themselves. Includes a central coordination layer, a clear response pipeline, routing guidance, depth calibration, epistemic guardrails, safety guardrails, voice system, brand doctrine, and reusable templates. Mirror, not guide.
Build and maintain Python detector modules that identify framework selection signals in conversation history.
SoulMap reflective response frameworks covering emotional de-escalation, grief, existential reflection, inner parts, life direction, shadow work, synthesis, and relational inquiry. Relevant for tasks that require choosing or applying the core reflective method for a user conversation.
SoulMap safety and boundary rules covering crisis handling, dependency prevention, trauma-informed language, prompt injection defense, and scope control. Relevant for requests that involve harm, escalation, refusal, redirection, or questions about what SoulMap must not do.
SoulMap symbolic spiritual materials covering brand-safe numerology, chakra policy, healing metaphors, and archetypal language. Relevant for tasks that involve spiritual framing within SoulMap's grounded, non-predictive, non-grandiose boundaries.
SoulMap brand doctrine, positioning, message hierarchy, surface-specific rules, and strategic direction. Relevant for tasks that concern what SoulMap is, what it is not, how it sounds in public, or how brand language stays aligned across product surfaces.
| name | framework-author |
| description | Write and maintain framework skill files that define activation signals and response structures for SoulMap's framework system. |
Use this skill when creating new frameworks or substantially updating existing framework skill files.
detector-engineereval-suite-maintainerdocs-and-api-writerskills/, reference those in skills/meta/ insteadFramework skill files live in skills/frameworks/ and define:
This skill helps you author frameworks that are:
New frameworks live here: skills/frameworks/ (use kebab-case filename matching the framework name).
Examples:
skills/frameworks/emotional-deescalation.md, crisis and de-escalation responseskills/frameworks/grief-companion.md, grief supportskills/frameworks/inner-parts.md, inner conflict workEvery framework file starts with metadata:
---
name: "framework-name"
description: "One-line description of what this framework does"
---
Examples:
---
name: "crisis"
description: "Safety-first response when a user signals immediate crisis (self-harm, suicidal ideation, abuse)"
---
---
name: "self-compassion"
description: "Self-compassion language for shame, self-criticism, and the inner critic"
---
Every framework must have these sections:
Clearly describe what user language or situation triggers this framework.
## When to activate this framework
Signals:
- "I don't know who I really am"
- "Nothing I do feels authentic"
- "I'm just pretending to be someone"
- User expressing identity instability or feeling like a "mask"
Rules:
Explain the structure SoulMap uses when this framework activates.
## Response structure
1. **Acknowledge**, name the experience without judgment
2. **Explore**, ask what the identity question is really about
3. **Normalize**, this is part of human development, not pathology
4. **Inquiry**, one open question that turns the user inward
Rules:
Explain foundational ideas used in this framework.
## Key concepts
**Authentic Self vs. Performed Self**, humans adapt to contexts. The question isn't which is "real,"
but whether the user can access their own knowing across contexts.
**Identity Development**, identity isn't static. Uncertainty about values or purpose is often a sign
of growth, not collapse.
Rules:
Show examples of how to communicate this framework to users.
## Practical reflection language
**Opening lines:**
- "There's a difference between not knowing who you are and not being able to access who you are right now."
- "Something in what you just said feels exploratory, not lost."
**Reflective questions:**
- "When you imagine being fully yourself, what's present?"
- "Who are you when no one's watching?"
**What not to do:**
- Don't tell them who they are
- Don't minimize their confusion
- Don't offer reassurance ("You're fine, just confused")
Rules:
Explain common mistakes or framework misuse.
## What not to do
- **Don't rush to interpretation**, "I'm confused about my identity" isn't yet a clear signal. Let the user describe more first.
- **Don't dismiss the confusion**, "This is just a phase" minimizes real exploration.
- **Don't offer certainty**, "Your values are actually X" centers the wrong person's authority.
Frameworks may also include:
Example:
## Relationship to other frameworks
The standard reflective posture is the default. Use it when the user is exploring
openly. Use direction work when the exploration feels specifically about life purpose
or path.
Inner parts work fits when identity confusion involves conflicting inner voices. But if
the user isn't describing internal conflict, only uncertainty, stay with direction work
rather than shifting into parts language.
Your framework needs a detector that identifies when to activate it. After writing the framework file:
src/soulmap/runtime/detectors/your_framework_detector.pysrc/soulmap/runtime/routing/framework_selector.pydetector-engineer skill if creating new detector patternsCreate eval test cases in evals/datasets/groups.json:
{
"g": "Your Framework, Core Signal",
"cat": "your_cat",
"sources": [
"skills/frameworks/your_framework.md",
"templates/quick-reference.md"
],
"source_markers": {
"skills/frameworks/your_framework.md": "Signal from 'Activation Signals' section"
},
"items": [
{
"t": "user input that triggers your framework",
"note": "Testing core signal",
"expect_primary_framework": "YOUR_FRAMEWORK_NAME",
"expect_mode": "YOUR_FRAMEWORK_NAME",
"expect_safety_status": "PASS",
"expect_safety_reason": "no_override"
}
]
}
If the framework should appear in templates/quick-reference.md, add an entry:
| Your Framework | Signal | Example |
|---|---|---|
| Your Framework | User describes [signal] | "I don't know what my life is for" |
skills/frameworks/)evals/datasets/groups.jsonAGENTS.md)Use this as a starting point:
---
name: "framework-name"
description: "One-line description of what this framework does"
---
# Framework name
Brief intro explaining the framework's purpose.
## When to Activate This Framework
Signals:
- "Example signal 1"
- "Example signal 2"
- "Example signal 3"
- User describing [specific condition]
## Response Structure
1. **Step 1**, brief description
2. **Step 2**, brief description
3. **Step 3**, brief description
4. **Step 4**, brief description
## Key Concepts
**Concept 1**, definition and context.
**Concept 2**, definition and context.
## Practical reflection language
**Opening lines:**
- "Quote that opens with this framework"
- "Another opening approach"
**Reflective questions:**
- "Question 1"
- "Question 2"
**What not to do:**
- Don't do this (and why)
- Don't do that (and why)
## Relationship to Other Frameworks
**FRAMEWORK_A**, how this differs.
**FRAMEWORK_B**, how this differs.
Ensure YAML frontmatter is valid:
python3 -c "import yaml; yaml.safe_load(open('skills/frameworks/your_framework.md'))"
After adding test cases to evals/datasets/groups.json:
uv run soulmap eval-groups
Verify all test cases for your framework pass.
Have another contributor review:
skills/frameworks/framework-name.md)FRAMEWORK_NAME)wl1, crisis, existential)Examples:
| File | Constant | Category |
|---|---|---|
inner-parts.md | INNER_PARTS | wl6 |
shadow-patterns.md | SHADOW | wl8 |
crisis.md | CRISIS | crisis |
AGENTS.md Section 2 (Framework Selection) to verify priority placement.skills/frameworks/ for structural reference.skills/frameworks/ with the required sections.skills/meta/orchestration.md.skills/meta/framework-template-map.md.detector-engineer to implement the detector.eval-suite-maintainer to add eval coverage.uv run soulmap build and uv run soulmap test -n auto -q before committing.A framework file is done when:
name matching the filename stem## Activation Signals section is present with observable detection language## Response Structure section defines the arc and word count range## Paired template section references the correct template and inquiry bank sectionsrc/soulmap/runtime/detectors/ or is plannedevals/datasets/groups.json covers the primary activation signaluv run soulmap build includes the new file without error