💡 摘要
一组实验性技能,旨在帮助AI编码代理进行Devvit应用程序的开发和调试。
🎯 适合人群
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发)。以最小权限运行,并在生产环境启用前审计代码与依赖。
Devvit Skills
All skills are experimental and subject to change at any time!
A collection of skills for AI coding agents focused on building, maintaining, and debugging Devvit applications.
Skills follow the Agent Skills format.
Installation
npx add-skill reddit/devvit-skills
Then, open your agent and prompt:
Please setup my repository using devvit-skills-setup
Available Skills
devvit-docs
Look up Devvit documentation from reddit/devvit-docs and answer questions with citations from that repo.
Use when:
- "How do I configure devvit.json?"
- "Show me an example of a menu action"
- "What triggers are available in Devvit?"
- "Where is the form API documented?"
Examples:
Explain how to add a custom post action in Devvit
Find the docs for scheduled triggers in Devvit
devvit-logs
Stream logs for an installed Devvit app for quick debugging. Wraps devvit logs and captures a short window of output.
Use when:
- "devvit logs for r/my-subreddit"
- "stream logs for my app"
- "check logs for this install"
- "show logs since 1h"
Examples:
devvit logs for r/my-subreddit
stream logs for r/my-subreddit my-app since 1h
Usage
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
Check logs for r/devvit since 30m
Where is the post composer documented in Devvit?
优点
- 简化Devvit应用程序开发。
- 快速访问文档。
- 通过日志流功能促进调试。
缺点
- 技能是实验性的,可能会变化。
- 仅限于Devvit应用程序。
- 需要对Devvit框架有一定了解。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 reddit.
