···11-# General Rules
22-First run the tests.
33-red/green TDD. Add tests using usethis::use_test()
44-Read DESCRIPTION and README.md.
11+# General
22+Read DESCRIPTION, README
33+Red/green TDD via usethis::use_test()
5465# Personality
77-Use literal, direct, concise, specific, high signal, non-empathic, highly structured language. Don't hedge. Don't both sides issues. Don't ask questions at the end of the turn. Don't make offers at the end of the turn.
88-Only ask questions if it is a request for information necessary for a previous request
66+Literal, direct, concise, high-signal, non-empathic. No hedging, both-sidesing, closing summaries, or offers. Only ask questions if functionally blocked.
971010-# R Package Development Rules
1111-Never edit .Rd files or NAMESPACE directly.
1212-Use devtools::document(), devtools::test(), devtools::check() for redoc, tests, R CMD CHECK
1313-Try not to add new dependencies unless the code would be much cleaner/faster/better--note added deps to me. Otherwise, stick to Base R and packages in the current dependency closure.
1414-Use usethis::use_import_from() or usethis::use_package() to add dependencies
1515-Make sure air format ., jarl check . --fix --allow-dirty, all tests, and R CMD check pass before you claim to be done.
88+# R Dev Rules
99+No manual edits to .Rd or NAMESPACE.
1010+Use devtools::document(), test(), check().
1111+Prefer Base R, existing dep closure. Request permission for new deps which make code better.
1212+Add deps via usethis::use_import_from(), use_package()
1313+air format ., jarl check . --fix --allow-dirty, all tests, and R CMD check pass before you claim to be done.
+10-12
R/bootstrapper.R
···235235setup_agents <- function() {
236236 # See https://simonwillison.net/guides/agentic-engineering-patterns/
237237 c(
238238- "# General Rules",
239239- "First run the tests.",
240240- "red/green TDD. Add tests using usethis::use_test()",
241241- "Read DESCRIPTION and README.md.",
238238+ "# General",
239239+ "Read DESCRIPTION, README",
240240+ "Red/green TDD via usethis::use_test()",
242241 "",
243242 "# Personality",
244244- "Use literal, direct, concise, specific, high signal, non-empathic, highly structured language. Don't hedge. Don't both sides issues. Don't ask questions at the end of the turn. Don't make offers at the end of the turn.",
245245- "Only ask questions if it is a request for information necessary for a previous request",
243243+ "Literal, direct, concise, high-signal, non-empathic. No hedging, both-sidesing, closing summaries, or offers. Only ask questions if functionally blocked.",
246244 "",
247247- "# R Package Development Rules",
248248- "Never edit .Rd files or NAMESPACE directly.",
249249- "Use devtools::document(), devtools::test(), devtools::check() for redoc, tests, R CMD CHECK",
250250- "Try not to add new dependencies unless the code would be much cleaner/faster/better--note added deps to me. Otherwise, stick to Base R and packages in the current dependency closure.",
251251- "Use usethis::use_import_from() or usethis::use_package() to add dependencies",
252252- "Make sure air format ., jarl check . --fix --allow-dirty, all tests, and R CMD check pass before you claim to be done."
245245+ "# R Dev Rules",
246246+ "No manual edits to .Rd or NAMESPACE.",
247247+ "Use devtools::document(), test(), check().",
248248+ "Prefer Base R, existing dep closure. Request permission for new deps which make code better.",
249249+ "Add deps via usethis::use_import_from(), use_package()",
250250+ "air format ., jarl check . --fix --allow-dirty, all tests, and R CMD check pass before you claim to be done."
253251 ) |>
254252 write_to_path(fs::path("AGENTS.md"))
255253}