From agn
Add explanatory comments to code to improve readability and maintainability. Use when the user asks to "comment code", "add comments", "document this code", "explain this code with comments", or wants inline documentation added to source files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agn:code-commentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Add meaningful comments to source code without altering its behavior.
Add meaningful comments to source code without altering its behavior.
i += 1 // increment i).// loop through items above a for-loop).# inline, """docstrings""" for modules/classes/functions// inline, /** JSDoc */ for exports// with godoc conventions/// doc-comments, // inline/** Javadoc */ for public API, // inlineGood:
# Retry with exponential backoff to avoid overwhelming a recovering service
for attempt in range(max_retries):
wait = base_delay * (2 ** attempt)
time.sleep(wait)
Bad:
# Loop from 0 to max_retries
for attempt in range(max_retries):
# Calculate wait time
wait = base_delay * (2 ** attempt)
# Sleep for wait seconds
time.sleep(wait)
npx claudepluginhub agenturehq/agenture-loopProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.