Class: Toolchest::Generators::SkillsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/toolchest/skills_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_skillsObject



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/generators/toolchest/skills_generator.rb', line 7

def create_skills
  create_file ".claude/skills/toolchest-add-toolbox.md", add_toolbox_skill
  create_file ".claude/skills/toolchest-add-tool.md", add_tool_skill
  create_file ".claude/skills/toolchest-auth.md", auth_skill

  say ""
  say "Claude Code skills installed!", :green
  say ""
  say "  /add-toolbox  — generate and fill in a new toolbox"
  say "  /add-tool     — add a tool to an existing toolbox"
  say "  /toolchest-auth — set up or change auth"
  say ""
end