'Sub-skill of prompt-engineering: 4. System Prompt Design.'
Install
npx skillscat add vamseeachanta/workspace-hub/prompt-engineering-4-system-prompt-design Install via the SkillsCat registry.
SKILL.md
4. System Prompt Design
4. System Prompt Design
Role-Based System Prompt:
def create_role_system_prompt(
role: str,
expertise: list,
personality: str = "professional and helpful",
constraints: list = None
) -> str:
"""
Create a role-based system prompt.
"""
prompt = f"""You are a {role}.