Prompt Engineering Constraints

Sub-skill of prompt-engineering: Constraints.

vamseeachanta Updated

File contents

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.

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/ai/prompting/prompt-engineering/constraints commit 70e38b95fd

Frequently asked questions

npx skillmds@latest add vamseeachanta/prompt-engineering-constraints