/xuanran-seo-blog-writer:persona-managementfrom xuanran-seo-blog-writer
Creates, stores, and enforces writing personas using the NNGroup 4-dimension tone framework. Defines readability targets, vocabulary tier, sentence length distribution, and contraction frequency for consistent brand voice.
Ships in xuanran-seo-blog-writer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create, store, enforce writing personas. Different from brand-guideline-maker (which is the brand-level voice) — personas live INSIDE a brand and represent author voices OR audience-tuned variants (e.g., one brand might have "Director persona" for C-suite content + "Practitioner persona" for IC-level content).
| Command | Purpose |
|---|---|
/persona create | Interactive interview to build a new persona |
/persona list [--project X] | Show all saved personas (optionally per project) |
/persona use <name> | Set active persona for current session |
/persona show <name> | Display full persona profile |
/persona delete <name> | Tombstone a persona |
Run the interactive interview. Ask each step, wait for response, then proceed.
Ask:
Present each dimension as a 0.0 to 1.0 slider. Explain both ends with examples.
| Dimension | 0.0 End | 1.0 End | Example at 0.0 | Example at 1.0 |
|---|---|---|---|---|
funny_serious | Funny | Serious | "Let's be real, nobody reads Terms of Service" | "Understanding legal agreements protects your business" |
formal_casual | Formal | Casual | "We are pleased to announce" | "Guess what — we shipped it!" |
respectful_irreverent | Respectful | Irreverent | "We appreciate your patience" | "Yeah, that old way was broken" |
enthusiastic_matter_of_fact | Enthusiastic | Matter-of-fact | "This changes everything!" | "Here are the results." |
Defaults if user unsure: [0.6, 0.5, 0.3, 0.5] (slightly serious, balanced formality, respectful, balanced enthusiasm).
Ask vocabulary tier first → auto-suggest matching readability band → user can override.
| Setting | Question | Default |
|---|---|---|
| Vocabulary tier | Consumer / Professional / Technical | Professional |
| Readability band | Auto-filled from tier (see table) | Grade 8-10 |
| Sentence length mean | Average words per sentence | 18 |
| Sentence length std | Variation (target burstiness) | 6 |
| Contraction frequency | 0.0 (never) to 1.0 (always) | 0.6 |
| Max passive voice | Percentage cap on passive | 10% |
Ask for 3-5 items in each list. Provide starter examples based on tone dimensions.
Example Do's:
Example Don'ts:
Label used for summary/takeaway boxes:
Ask if user has 1-3 URLs of existing content exemplifying the desired voice.
For each URL:
scripts/fetch/tavily_extract.py (advanced + markdown)python -m scripts.lint.sentence_variance --input <text> --json
python -m scripts.lint.perplexity_estimator --input <text> --json
python -m scripts.lint.ai_tells_detector --input <text> --json
Compare extracted values with persona settings → flag mismatches.
Write completed persona JSON to:
projects/{slug}/personas/{persona-name}.json
Use kebab-case filename (e.g., cfo-thought-leader.json).
{
"name": "cfo-thought-leader",
"description": "Analyst voice for finance VP audience",
"brand": "Acme Corp",
"industry": "B2B SaaS / FinTech",
"audience": "CFOs + finance VPs at series B-D companies",
"mission": "Help finance leaders choose analytics tools",
"tone_dimensions": {
"funny_serious": 0.85,
"formal_casual": 0.30,
"respectful_irreverent": 0.20,
"enthusiastic_matter_of_fact": 0.40
},
"readability": {
"flesch_grade_min": 9,
"flesch_grade_max": 11,
"flesch_ease_min": 45,
"flesch_ease_max": 55
},
"style": {
"sentence_length_mean": 16,
"sentence_length_std": 8,
"contraction_frequency": 0.40,
"passive_voice_max_pct": 8,
"vocabulary_tier": "professional",
"summary_label": "Key Takeaways"
},
"voice_samples": [
"https://acme.com/blog/cfo-toolkit",
"https://acme.com/blog/forecasting-accuracy"
],
"voice_sample_analysis": {
"actual_sentence_mean": 15.8,
"actual_contraction_rate": 0.37,
"actual_burstiness_sd": 7.4,
"tone_estimate": [0.83, 0.28, 0.22, 0.42],
"matches_settings": true
},
"do": [
"Use data to back every major claim",
"Address the reader directly as you",
"Lead sections with actionable insight"
],
"dont": [
"Don't use buzzwords without context",
"Don't write sentences longer than 30 words",
"Don't open with We at Acme"
],
"created_at": "2026-05-19",
"active_for_project": "acme-corp-site",
"tombstoned": false
}
| Tier | Flesch Grade | Flesch Ease | Typical use |
|---|---|---|---|
| Consumer | 6-8 | 60-80 | Health, lifestyle, personal finance |
| Professional | 8-10 | 50-60 | B2B, marketing, management |
| Technical | 10-12 | 30-50 | Engineering, medical, legal |
When user picks a tier, auto-fill readability fields. Let them override for non-standard combinations (e.g., technical vocabulary at consumer readability for explainer content).
When a persona is active (via /persona use <name>):
section-drafter (writer agent)| Use a single brand-guideline | Use multiple personas |
|---|---|
| One audience segment, one voice | Multiple audience segments (C-suite + IC + customers) |
| Solo founder content | Multi-author blog |
| Niche site (one topic) | Hub site (many topic clusters with different voices) |
| Always same tone | Need formal voice for whitepapers + casual for blog |
Personas live INSIDE a brand-guideline.yaml. Brand-level rules (banned words, AI visibility settings) apply universally; persona rules override per article when one is active.
Glob projects/{slug}/personas/*.json (or all projects if no filter):
| Persona | Brand | Audience | Vocabulary | Active |
|---|---|---|---|---|
| cfo-thought-leader | Acme Corp | Finance VPs | Professional | ✓ |
| practitioner-guide | Acme Corp | Senior analysts | Technical | — |
| starter-friendly | Acme Corp | Junior analysts | Consumer | — |
If no personas: prompt to create one.
Read persona JSON + display formatted summary with all tone dimensions, style rules, do/dont lists.
Read persona JSON + confirm activation. Print summary of constraints that'll be enforced. Persona stays active for current conversation session. section-drafter and rewrite check for active persona before generating content.
subskills/plan/brand-guideline-maker/SKILL.md — brand-level voice (parent of personas)references/style/voices/* — pre-built voice templates that can seed a personasubskills/optimize/humanizer/SKILL.md — enforces persona constraints during cleanupagents/writer.md — reads active persona for section-drafter dispatchWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xuanranl/loamwright-seo-skill --plugin xuanran-seo-blog-writer75 skills in this plugin
/ai-overview-recovery4-phase recovery when Google AI Overview drops an article. Measure damage → diagnose skip reason → rewrite → T+7/14/28 monitor. Triggered by drift-detector AIO loss alert OR /aio-recovery command./ai-visibility-trackerActive probe of ChatGPT/PPLX/Claude/Gemini to check if our article is cited. Compares to projects/{slug}/geo-baseline.json. Triggered by /ai-visibility command or daily/weekly schedule./batch-articleRun /article end-to-end for a list of keywords. Each keyword goes through the FULL pipeline (research → plan → build → optimize → publish → monitor baseline). Use for agency-scale operations — drop 10-500 keywords, get 10-500 published articles. Resumable across sessions.Other plugins' skills for the same job