General
PromptBeginner5 minmarkdown
Untitled Skill
193
Require docstrings and clarify confusing library usage
Loading actions...
Main instructions and any bundled files for this skill.
Add documentation where it prevents ambiguity for future readers.
# ❌ BAD
def build_prompt(user, history):
return template.render(user=user, history=history)
# ✅ GOOD
def build_prompt(user: str, history: list[str]) -> str:
"""Render the chat prompt using the templating engine expected by the LLM."""
# Jinja auto-escapes disabled in this environment; inputs are trusted upstream.
return template.render(user=user, history=history)
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
risks