- Home
- Skills
- Devvit Skills
- Devvit Skills Setup
devvit-skills-setup_skill
- JavaScript
0
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill reddit/devvit-skills --skill devvit-skills-setup- SKILL.md1.6 KB
Overview
This skill configures a repository to auto-apply Devvit skill guidance by ensuring agent instruction files include a Devvit docs rule and validating the devvit-docs skill. It looks for common instruction files like AGENTS.md or CLAUDE.md, inserts a standard rule block near the top if missing, and reports success or failure of any devvit-docs checks. It also creates AGENTS.md when no instruction file exists and summarizes all changes made.
How this skill works
The skill first checks whether the devvit-docs skill is present. If devvit-docs exists, it calls that skill with a test query (for example, "how does redis work") and surfaces any error returned. Next it scans the repo root for instruction files, inserts the required Devvit rule block near the top of the first found file (or creates AGENTS.md if none exist), and appends the test result to the change summary.
When to use it
- Preparing a repository to follow Devvit-specific documentation and code generation rules
- Ensuring automated agents always prefer Devvit documentation for Devvit-related APIs
- Adding a standard instruction block across multiple repos or projects
- Validating that devvit-docs is installed and working before relying on it in automations
Best practices
- Run the skill from the repository root so files are detected and edited in the correct location
- Ensure the repository is writable; handle permission errors before retrying
- Keep a backup or use version control so inserted changes can be reviewed or reverted
- If devvit-docs is missing, install it with: npx add-skill reddit/devvit-skills
Example use cases
- Onboarding a new project to use Devvit skills and ensure developers get consistent guidance
- Automating repository hygiene to include a rule that forces Devvit doc lookups for Devvit APIs
- Running a pre-commit or CI step that checks and enforces the presence of the Devvit rule block
- Troubleshooting why automated code generation is producing non-Devvit API suggestions
FAQ
The skill will skip the test call and recommend installing devvit-docs using npx add-skill reddit/devvit-skills before re-running.
Will the skill overwrite my existing instruction files?
No. The skill inserts the rule block near the top unless the block already exists; if no instruction file is present it creates AGENTS.md.