mcpField
D
devvit-skill-setup

devvit-skill-setup

github.com/redditAgent workflows158 installsUpdated 12w ago
Repository

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

  1. 01Checks for the devvit-docs skill
  2. 02Verifies devvit-docs configuration when present
  3. 03Finds repository instruction files
  4. 04Adds Devvit documentation guidance
  5. 05Creates AGENTS.md when needed

Use cases

  1. 01Preparing a repository to use Devvit skills
  2. 02Adding Devvit-specific guidance to agent instructions
  3. 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-setup

After installing, type/devvit-skill-setupin Claude Code to confirm it loaded.

Details

From the project README

Devvit Skill Setup

Does basic setup to make a code repository ready to use devvit skills.

  1. Ensure the devvit-docs skill is added. If not, skip. If it is, call devvit-docs with "how does redis work" to make sure things are configured correctly. If there is an error, present it to the user.

  2. 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.md with the block above.
  • Add success or failure to summary of skill call result
  1. 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-skills to add the missing skill if they want to utilize that feature.

Comments

Markdown supported