About devvit-skill-setup
A setup skill that prepares a code repository for Devvit skills. It checks for devvit-docs, verifies its configuration when available, and adds Devvit documentation guidance to the repository's instruction file.
Key features
- 01Checks for the devvit-docs skill
- 02Verifies devvit-docs configuration when present
- 03Finds repository instruction files
- 04Adds Devvit documentation guidance
- 05Creates AGENTS.md when needed
Use cases
- 01Preparing a repository to use Devvit skills
- 02Adding Devvit-specific guidance to agent instructions
- 03Checking setup when devvit-docs is installed
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ reddit/ devvit-skills --skill devvit-skill-setupAfter installing, type/devvit-skill-setupin Claude Code to confirm it loaded.
Details
From the project READMEDevvit 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.
Comments
Markdown supported