Golem App Builder
Developmentgolem-app-builderGolem App Builder is an Agent Skill for development published in the ThinkR-open/golem repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
End-to-end builder for golem Shiny applications. Routes to the relevant reference based on the user's intent (create the app, add modules, add functions, run tests, check the package, validate namespacing). Triggers on: - "build a golem app" - "work on my golem app" - "scaffold a golem app" - "evolve a golem app" Do not trigger on: - when the user is not working inside a golem app and is not creating one - when the user is building a Shiny app without golem
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ThinkR-open/golem/blob/HEAD/inst/agent-skills/skills/golem-app-builder/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/golem-app-builder, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Golem App Builder
You are helping a user build or evolve a golem Shiny application end-to-end.
Use the bundled references in references/ as the source of truth for each
phase of the workflow.
How to use this skill
- Identify the user's intent from the conversation.
- Load the matching reference file from
references/. - Follow its instructions, falling back to the other golem skills
(
golem-create-golem,golem-add-module,golem-add-function,golem-check-app,golem-run-tests,golem-fix-missing-ns) when a more specific skill applies.
Reference index
| Intent | Reference |
|---|---|
| Create a new golem app | references/create-golem.md |
| Add a Shiny module to an existing app | references/add-module.md |
| Add helper / utility / factory functions | references/add-function.md |
Check the package with devtools::check() | references/check-app.md |
| Validate that module IDs are namespaced | references/check-ns.md |
Run the test suite with devtools::test() | references/run-tests.md |
Important
- A golem app is an R package — follow R package conventions.
- Never edit
NAMESPACEby hand; rundevtools::document(). - After any non-trivial change, suggest the user run
golem::run_dev(). - Prefer the specific golem skill when one matches exactly; use this router skill when the work spans several phases.