Skip to main content
ClaudeWave
Skill228 estrellas del repoactualizado yesterday

cultivating-personas

Distills AI agent personality patterns from conversation into a Tech Persona Card v1.0, validates the schema and voice consistency, and routes contributions through the existing submission portal. Use when the user wants to crystallize a recurring voice/tone, fork an existing persona, or share one with the community.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/telagod/code-abyss /tmp/cultivating-personas && cp -r /tmp/cultivating-personas/skills/cultivating-personas ~/.claude/skills/cultivating-personas
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

<!-- safety-scan: ignore TOOLS_PRIVILEGED 特权理由:Bash 用于 schema 校验脚本;Write/Edit 用于在用户确认后落盘 persona-card.json + identity.md -->

# 炼制人格 · cultivating-personas

> 人格不是个性签名,而是声音、能力、场景三位一体。沉淀必经 schema 验,发布走 submit portal。

## 三种触发模式

| 模式 | 触发 | 入口 |
|------|------|------|
| `distill` | 会话中识别"魔尊形成稳定声音模式" | 主动提议→显式确认 |
| `create` | 用户显式想造新人格 | 引导式问答→生成 card |
| `validate` | 已有 card,校验 schema + 声音一致性 | 一键扫描 |

## 何时使用

| 场景 | 使用 | 理由 |
|------|------|------|
| 自称 / 称呼用户 / 情绪锚点已稳定 ≥ 3 会话 | ✅ distill | 模式可结晶 |
| 用户想 fork 内置人格做变体 | ✅ create | 直接生成骨架 |
| 已有 card 但质量存疑 | ✅ validate | 客观闸门 |

## 何时不使用

- ❌ 单次会话的临时口吻——口吻不是人格
- ❌ 人格内容含真实人名 / 政治立场——风险高,建议改写
- ❌ 与现有 6 个内置人格的差异 < 30%——用 fork 或 PR 改进而非新建
- ❌ 仅是改 emoji_policy 或 language——改现有 card,不另起

## 安全脊柱

人格虽是文本,仍有红线:

1. **frontmatter / schema 合规**:通过 [persona-card.schema.json](../../docs/specs/persona-card.schema.json) Draft-07 验证
2. **无政治 / 宗教 / 民族敏感内容**——会因平台审查阻断分发
3. **无真实人名 / 商标盗用**——法律红线
4. **voice.self / voice.user 必须自然**——非自然称谓(如随机字符)拒绝
5. **emoji_policy 与 register 一致**——`formal` + `heavy` emoji 矛盾,校验拒绝
6. **identity.md 含角色锚定 + 性格特征 + 情绪模式**——三段缺一不可

详细审查清单见 [references/persona-safety.md](references/persona-safety.md)。

## 工作流速查

| 你想做的 | 走哪卷 |
|---------|--------|
| 从会话沉淀人格 | [references/distillation.md](references/distillation.md) |
| 校验 voice 一致性 | [references/voice-consistency.md](references/voice-consistency.md) |
| 通过 submit portal 提交 | [references/publishing.md](references/publishing.md) |

## 使用

```bash
# 校验现有 card
node scripts/persona_forge.js validate config/personas/<slug>/

# 从会话提炼(交互式,不直接落盘,先输出预览)
node scripts/persona_forge.js distill --voice-hint "<观察笔记>"

# 生成提交 payload(给 submit.html 用)
node scripts/persona_forge.js publish config/personas/<slug>/
```

## 收口

- 校验通过 → 交付 `persona-card.json` + `identity.md` 给魔尊 review
- 提交社区 → **复用** [submission portal](https://telagod.github.io/code-abyss/submit.html#zh)
- 本 skill **不重造**提交流程,只生成 payload + 引导跳转

参见姊妹 skill [cultivating-skills](../cultivating-skills/SKILL.md)——专司工程方法沉淀。
analyzing-changesSkill

Analyzes code changes, detects documentation drift, and evaluates change impact scope. Use when reviewing diffs, checking doc sync, or running pre-commit analysis. Automatically triggered after design-level changes or refactoring.

analyzing-securitySkill

Scans code for security vulnerabilities, detects dangerous patterns, and ensures security decisions are documented. Use when running security scans, auditing code, or checking for OWASP issues, injection risks, or sensitive data leaks. Automatically triggered on new modules, security-related changes, or post-refactor.

analyzing-spreadsheetsSkill

Processes Excel spreadsheet files (.xlsx, .xlsm, .csv). Creates workbooks, builds formulas, preserves formatting, analyzes tabular data, and validates financial models with zero-formula-error delivery. Use when working with spreadsheet files or tabular data analysis. Do NOT use for Word documents, PDFs, presentations, or database pipelines.

applying-ui-design-systemSkill

Frontend UI design system selector and implementation guide covering Glassmorphism, Liquid Glass (Apple-style), Neubrutalism, and Claymorphism. Use when building UI components, choosing a visual aesthetic, implementing design tokens, or auditing accessibility/contrast on themed surfaces. Provides per-style tokens, component patterns, dark mode, and a11y constraints.

architecting-securitySkill

安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust identity, designing IAM/SSO/PAM, building compliance evidence chains, or planning privacy-by-design.

automating-devopsSkill

DevOps knowledge reference covering Git workflows, testing strategies, DevSecOps, release pipeline orchestration (release.yml, multi-arch images, cosign integration), CI/CD pipelines, database management, observability, and performance optimization. Use when working with Git, CI/CD, release pipelines, ghcr image publishing, testing, monitoring, or infrastructure automation.

building-agent-systemsSkill

AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt injection, jailbreak defense, output filtering), RAG architecture (chunking, hybrid retrieval, rerank), and prompt engineering / evaluation (RAGAS, LLM-as-Judge). Use when building AI agents, designing RAG pipelines, orchestrating multi-agent workflows, hardening LLM apps, or writing prompts.

checking-code-qualitySkill

Checks code quality metrics including complexity, duplication, naming conventions, and function length. Use when running quality gates, reviewing code smells, or checking lint rules. Automatically triggered on complex modules or post-refactor.