npx claudepluginhub b16b1rd/cc-rite-workflow --plugin ritetemplate//resetConfirms with user before deleting ~/.rune/config.json to clear Rune configuration and return to dormant state.
/resetReset wicked-garden to a clean state — choose which data to clear
/resetReset personality to default Claude (remove tone, statusline quips, and spinner verbs)
Regenerate templates
Execute the following phases in order when this command is run.
| Argument | Description |
|---|---|
--force | Skip template overwrite confirmation (does not apply to rite-config.yml regeneration confirmation) |
Read configuration from the project root or .claude/ directory:
# 設定ファイルの存在確認
ls rite-config.yml .claude/rite-config.yml 2>/dev/null
If the configuration file does not exist:
{i18n:template_reset_config_not_found}
{i18n:template_reset_config_not_found_hint}
オプション:
- {i18n:template_reset_option_run_init}
- {i18n:template_reset_option_cancel}
Get project.type from the configuration file:
generic - General purpose projectwebapp - Web applicationlibrary - OSS librarycli - CLI tooldocumentation - Documentation siteCheck the following files and directories:
# Issue テンプレート
ls -la .github/ISSUE_TEMPLATE/ 2>/dev/null
# PR テンプレート
ls -la .github/PULL_REQUEST_TEMPLATE.md 2>/dev/null
# 設定ファイル
ls -la rite-config.yml 2>/dev/null
If existing files are found, confirm with AskUserQuestion:
{i18n:template_reset_existing_found}:
| {i18n:template_reset_file} | {i18n:template_reset_last_modified} |
|---------|---------|
| .github/ISSUE_TEMPLATE/bug_report.md | 2025-01-01 |
| .github/PULL_REQUEST_TEMPLATE.md | 2025-01-01 |
{i18n:template_reset_ask_overwrite}?
オプション:
- {i18n:template_reset_option_all}
- {i18n:template_reset_option_issue_only}
- {i18n:template_reset_option_pr_only}
- {i18n:template_reset_option_cancel}
If --force is specified, skip the confirmation and overwrite all.
Create necessary directories before generating templates:
# .github ディレクトリを作成(存在しない場合)
mkdir -p .github
# Issue テンプレート用ディレクトリを作成
mkdir -p .github/ISSUE_TEMPLATE
Note: mkdir -p automatically creates parent directories so order does not matter, but listing explicitly makes the intent clear.
Generate the following template files:
Reference templates/issue/default.md to generate .github/ISSUE_TEMPLATE/task.md:
---
name: Task
about: General task or feature request
title: ''
labels: ''
assignees: ''
---
## Overview
<!-- Brief description of the task -->
## Background
<!-- Why is this needed? What problem does it solve? -->
## Acceptance Criteria
- [ ]
## Technical Notes
<!-- Any technical considerations, constraints, or implementation hints -->
## Related
<!-- Links to related issues, PRs, or documentation -->
---
🤖 Generated with [rite workflow](https://github.com/B16B1RD/cc-rite-workflow)
Generate .github/ISSUE_TEMPLATE/bug_report.md:
---
name: Bug Report
about: Report a bug or unexpected behavior
title: '[Bug] '
labels: bug
assignees: ''
---
## Description
<!-- Clear description of the bug -->
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
<!-- What should happen -->
## Actual Behavior
<!-- What actually happens -->
## Environment
- OS:
- Version:
## Additional Context
<!-- Screenshots, logs, or other relevant information -->
---
🤖 Generated with [rite workflow](https://github.com/B16B1RD/cc-rite-workflow)
Generate a PR template based on the project type.
| Project Type | Template Source |
|---|---|
generic | templates/pr/generic.md |
webapp | templates/pr/webapp.md |
library | templates/pr/library.md |
cli | templates/pr/cli.md |
documentation | templates/pr/documentation.md |
Steps:
project.type from rite-config.ymltemplates/pr/{project_type}.md.github/PULL_REQUEST_TEMPLATE.md# Read ツールでテンプレートを読み込み
# Write ツールで .github/PULL_REQUEST_TEMPLATE.md を生成
If existing file exists: Overwrite only if selected in Phase 2.
Regenerate rite-config.yml only if the user selects to do so:
{i18n:template_reset_ask_config}?
{i18n:template_reset_config_warning}
{i18n:template_reset_backup_note}
オプション:
- {i18n:template_reset_option_regenerate}
- {i18n:template_reset_option_skip}({i18n:sprint_plan_recommended})
Steps for regeneration:
Back up the existing rite-config.yml:
# バックアップファイル名: rite-config.yml.backup.{timestamp}
# 例: rite-config.yml.backup.2026-01-04T12-00-00
cp rite-config.yml "rite-config.yml.backup.$(date +%Y-%m-%dT%H-%M-%S)"
Reference templates/config/rite-config.yml to generate the default configuration
Include the backup file path in the completion report
{i18n:template_reset_complete}
## {i18n:template_reset_generated_files}
| {i18n:template_reset_file} | {i18n:template_reset_status_label} |
|---------|------|
| .github/ISSUE_TEMPLATE/task.md | {i18n:template_reset_status_created} |
| .github/ISSUE_TEMPLATE/bug_report.md | {i18n:template_reset_status_created} |
| .github/PULL_REQUEST_TEMPLATE.md | {i18n:template_reset_status_updated} |
## {i18n:template_reset_backup_section}
| {i18n:template_reset_original_file} | {i18n:template_reset_backup_file} |
|-----------|-------------|
| rite-config.yml | rite-config.yml.backup.{timestamp} |
## {i18n:template_reset_project_type}
{project_type}
## {i18n:template_reset_next_steps}
1. {i18n:template_reset_next_step1}
2. {i18n:template_reset_next_step2}
3. {i18n:template_reset_next_step3}
Note: The backup section is only displayed when rite-config.yml was regenerated.
See Common Error Handling for shared patterns (Not Found, Permission, Network errors).
| Error | Recovery |
|---|---|
| When Write Permission Is Missing | See common patterns |
| When Template Source Is Not Found | See common patterns |