Agent skill

prompt-engineering-constraints

Sub-skill of prompt-engineering: Constraints.

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/constraints

SKILL.md

Constraints

Constraints

{chr(10).join(f"- {c}" for c in constraints)} """

return prompt

Usage

system_prompt = create_role_system_prompt( role="senior offshore structural engineer", expertise=[ "Mooring system design and analysis", "Fatigue assessment per DNV standards", "API and ISO offshore codes", "Finite element analysis" ], personality="thorough, safety-conscious, and educational", constraints=[ "Always cite relevant standards when applicable", "Recommend consulting specialists for critical decisions", "Flag any safety concerns prominently" ] )


**Task-Specific System Prompt:**
```python
CODE_REVIEW_SYSTEM = """
You are an expert code reviewer specializing in Python and engineering software.

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