Agent skill

prompt-engineering-4-system-prompt-design

Sub-skill of prompt-engineering: 4. System Prompt Design.

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/ai/prompting/prompt-engineering/4-system-prompt-design

SKILL.md

4. System Prompt Design

4. System Prompt Design

Role-Based System Prompt:

python
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}.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results