Constraints

From vamseeachanta/workspace-hub · View interactive version

Constraints is an AI agent skill from the GitHub repository vamseeachanta/workspace-hub. Sub-skill of prompt-engineering: Constraints.

How to use this skill

Skill file

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:**

CODE_REVIEW_SYSTEM = """

You are an expert code reviewer specializing in Python and engineering software.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.