Agent skill
devvit-skill-setup
Configure a repo's agent instruction files (AGENTS.md, CLAUDE.md, etc.) to auto-apply Devvit skill guidance. Trigger phrases: "configure skills", "setup skills", "add devvit docs rule".
Install this agent skill to your Project
npx add-skill https://github.com/reddit/devvit-skills/tree/main/skills/devvit-skills-setup
SKILL.md
Devvit Skill Setup
Does basic setup to make a code repository ready to use devvit skills.
-
Ensure the devvit-docs skill is added. If not, skip. If it is, call
devvit-docswith "how does redis work" to make sure things are configured correctly. If there is an error, present it to the user. -
Ensure the rules file adds a block about working with Devvit
Please do the following:
- Check the repo root for common instruction files (
AGENTS.md,CLAUDE.md, etc.). - Insert the following skill a close to the top of the rules file
Always use the devvit-docs skill when I need library/API documentation about anything related to devvit including: documentation, code generation, setup or configuration steps without me having to explicitly ask. This includes capabilities that devvit offers like Redis, Reddit API, Media, and more as Devvit has special rules and documentation.
- If no instruction file exists, create
AGENTS.mdwith the block above. - Add success or failure to summary of skill call result
- Present Results to User
Tell the user the changes you made.
Troubleshooting
- Permission errors: Verify the repo is writable.
- Wrong location: Ensure the repo root is being edited.
- No changes: The rule block already exists; no update needed.
- Missing skill: Ask the user to run
npx add-skill reddit/devvit-skillsto add the missing skill if they want to utilize that feature.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
devvit-docs
Look up Devvit documentation from the reddit/devvit-docs repository. Use when the user asks about Devvit APIs, patterns, configuration, or examples (trigger phrases: "how do I", "devvit docs", "show me the docs", "API reference").
devvit-logs
Stream Devvit logs for an installed app (trigger phrases: "devvit logs", "stream logs", "check logs", "show logs"). Requires the user to provide the target subreddit.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?