Role Protocol Architecture Skill

Normalize role policy handling using src/skills/roles/*/SKILL.md as the source of truth.

22|7|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/berrzebb/SoulFlow-Orchestrator --skill role-protocol-architecture-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Role Protocol Architecture Skill
Source: https://github.com/berrzebb/SoulFlow-Orchestrator/tree/main/.claude/skills/role-protocol-architecture
Command: npx skills add https://github.com/berrzebb/SoulFlow-Orchestrator --skill role-protocol-architecture-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of inconsistent and duplicated role policy definitions by establishing a single source of truth and implementing a structured approach to policy handling.

Core Features & Use Cases

  • Policy Normalization: Refactors role policy handling to ensure src/skills/roles/*/SKILL.md is the definitive source.
  • Structured Resolution: Enables structured resolution of shared_protocols and role resources.
  • Use Case: Refactor existing systems where role behavior is hardcoded in prompt/profile paths outside the designated skill directories, ensuring consistency across runtime, workflow generation, and UI editing.

Quick Start

Use the Role Protocol Architecture Skill to normalize role policy handling by treating src/skills/roles/*/SKILL.md as the policy source of truth.

Frequently Asked Questions about Role Protocol Architecture Skill

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

FAQPage Schema
How do I normalize role policy handling to use a single source of truth?

Role policy normalization is achieved by establishing `src/skills/roles/*/SKILL.md` as the definitive source of truth. This refactors duplicated definitions into a structured resolution path ensuring consistent role baselines across runtime, workflow generation, and UI editing.

What is the best way to refactor hardcoded role behavior in prompt and profile paths?

Refactoring hardcoded role behavior involves separating role baselines, persona baselines, task policies, and user overrides. This Skill implements resolvers and compilers to migrate hardcoded prompt paths into structured `shared_protocols` and role assets.

Why does my system have inconsistent role definitions across runtime and UI paths?

Inconsistent role definitions occur when policies are hardcoded outside designated skill directories. Implementing structured resolution via `src/skills/roles/*/SKILL.md` normalizes role baselines and eliminates duplication across runtime, workflow generation, and UI paths.

How do I separate role baselines from user overrides in protocol resolution?

Protocol resolution separates role baselines, persona baselines, task/workflow policies, and user overrides by compiling structured role assets. This ensures the designated `SKILL.md` source of truth dictates baseline behavior while isolating user modifications.

Can I use structured resolvers for shared protocols across multiple role assets?

Yes, structured resolvers enable structured resolution of `shared_protocols` and role resources. Compiling these assets ensures consistent policy enforcement across runtime, workflow generation, and UI editing paths without duplication.

When do I need to refactor role policy architecture for consistency?

You need role policy architecture refactoring when role behavior is hardcoded in prompt or profile paths outside designated skill directories. Establishing `src/skills/roles/*/SKILL.md` as the source of truth resolves inconsistencies across runtime and UI paths.