Back to skills
SKILL.md
4 System Prompt Design
ASecuritySub-skill of prompt-engineering: 4. System Prompt Design.
- 17 stars
- 0 votes
- 0 copies
- 3 views
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill 4-system-prompt-design --agent claude-codeAre you the author of 4 System Prompt Design?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-4-system-prompt-design)---
name: prompt-engineering-4-system-prompt-design
description: 'Sub-skill of prompt-engineering: 4. System Prompt Design.'
version: 1.0.0
category: ai-prompting
type: reference
scripts_exempt: true
---
# 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}.
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.