Skip to content

Comments

feat(install): add y/n prompt for Claude settings and improve docs#4

Merged
kostyay merged 5 commits intomainfrom
feat/install-improvements
Jan 10, 2026
Merged

feat(install): add y/n prompt for Claude settings and improve docs#4
kostyay merged 5 commits intomainfrom
feat/install-improvements

Conversation

@kostyay
Copy link
Owner

@kostyay kostyay commented Jan 10, 2026

Summary

  • Add confirmation prompt before modifying .claude/settings.local.json with explanation of what the permission does
  • Extract promptYesNo helper function for reuse
  • Update README with kt install command and AI agent prompting example

Test plan

  • Run kt install in a fresh directory, verify kt.md is created
  • Run kt install again, verify regeneration prompt works
  • Verify Claude settings prompt appears and explains the permission
  • Answer 'y' to Claude settings, verify permission is added

🤖 Generated with Claude Code

kostyay and others added 5 commits January 10, 2026 22:55
- Add confirmation prompt before modifying .claude/settings.local.json
- Explain what the kt permission does in the prompt
- Extract promptYesNo helper function for reuse
- Update README with kt install command and prompting example

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add go:embed templates for kt.md, kt-create.md, kt-run.md
- Add /kt-create and /kt-run Claude slash commands
- Prompt for global (~/.claude/) vs project (.claude/) installation
- Support CLAUDE_CONFIG_DIR env var for custom config location
- Update tests for new registerKtPermissionAt signature

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…IR set

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- getClaudeConfigDir: default and CLAUDE_CONFIG_DIR env var
- installSlashCommands: project and global modes
- writeKtMd: template writing
- promptChoice: valid, invalid, out-of-range inputs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kostyay kostyay merged commit 0d02660 into main Jan 10, 2026
2 checks passed
@kostyay kostyay deleted the feat/install-improvements branch January 10, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant