author-role-lockin-skill

Generates persona lock-in SKILL.md files that load role context at session start.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill author-role-lockin-skill-gozonerd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: author-role-lockin-skill
Source: https://github.com/gozonerd/shadow-ai-assessment/tree/main/.claude/skills/author-role-lockin-skill
Command: npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill author-role-lockin-skill-gozonerd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams using Martinez Methods personas need a repeatable way to create the companion lock-in skill (artifact 3 of 5) that reloads a persona's role definition, manifest, and operating constraints into a new thread, and doing this by hand is error-prone and inconsistent. ## Core Features & Use Cases - Template-based authoring: Produces a structurally valid role-definition-<lastname-kebab>/SKILL.md from a fixed template with correct YAML frontmatter. - Context loading: The generated skill loads the persona's canonical role-definition, role-manifest, operating constraints, and refusals when triggered by slug or invocation phrase. - Use Case: During /define-your-role-literal Phase 8 step 3, after authoring a persona's role-definition and role-manifest, invoke this skill to emit the lock-in skill so future threads can resume the persona's workstream with full context. ## Quick Start Ask the assistant to author the role lock-in skill for a persona, providing the persona slug, display name, and paths to its role-definition and role-manifest artifacts.

Frequently Asked Questions about author-role-lockin-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a persona lock-in skill for Claude Code?

Invoke this skill with the persona's slug, display name, and paths to its role-definition and role-manifest. It generates a SKILL.md at .claude/skills/role-definition-<lastname-kebab>/ that loads the persona context when triggered by slug or invocation phrase.

What does a role lock-in skill load at session start?

It loads the persona's canonical role-definition, role-manifest YAML, operating constraints from Section 7, and refusals from Section 8 of the role-definition. This restores full persona context when continuing an existing workstream in a new thread.

When should I not use the author-role-lockin-skill?

Do not use it to author other persona artifacts, which belong to the sibling /author-role-* sub-skills, or to edit existing lock-in skills like role-definition-value-genius, which should be modified directly.

What are the limitations of the generated lock-in skill?

Version v01 produces a minimal-viable skill whose content depth depends on input quality. The wildcard trigger pattern can collide if two personas share a suffix, and there is no automated test confirming session-start invocation works.

Can I add a lock-in skill to an existing persona?

Yes, standalone migration is supported for personas that already have artifacts 1 and 2 (role-definition and role-manifest) but lack a lock-in skill. Provide the persona context and cross-reference paths as inputs.