Skip to contents

Installs the tdd-workflow skill into the project.

Usage

use_skill_tdd_workflow(
  target_dir = ".github",
  use_skills_subdir = TRUE,
  overwrite = FALSE,
  open = rlang::is_interactive()
)

Arguments

target_dir

(character(1)) Directory where the skill will be installed, relative to the project root. Defaults to ".github".

use_skills_subdir

(logical(1)) Whether to place the skill folder under a skills subdirectory of target_dir. Defaults to TRUE, producing .github/skills/{skill}/SKILL.md.

overwrite

(logical(1)) Whether to overwrite an existing file. Defaults to FALSE.

open

(logical(1)) Whether to open the file after creation.

Value

The path to the installed skill file, invisibly.

Examples

if (FALSE) { # interactive()

  use_skill_tdd_workflow()
}