Skip to content

feat: Improved .tmporc File + CLAUDE.md#9

Merged
DylanDevelops merged 2 commits into
mainfrom
ravel/better-init
Dec 15, 2025
Merged

feat: Improved .tmporc File + CLAUDE.md#9
DylanDevelops merged 2 commits into
mainfrom
ravel/better-init

Conversation

@DylanDevelops
Copy link
Copy Markdown
Owner

This pull request introduces improvements to project configuration handling and developer documentation, along with a minor update to the CI workflow. The most significant change is the addition of a template-based approach for generating .tmporc configuration files, ensuring all available configuration options are visible and well-documented for users. Additionally, a comprehensive CLAUDE.md file has been added to guide contributors and AI tools.

Configuration improvements:

  • Added a new CreateWithTemplate function in internal/config/config.go that generates .tmporc files using a template with all config fields and helpful comments, improving the user experience for project setup. (internal/config/config.go, internal/config/config.goR98-R115)
  • Updated the init command to use CreateWithTemplate instead of the previous Create function, so new .tmporc files are always generated with the template. (cmd/init.go, cmd/init.goL51-R51)
  • Introduced a configTemplate constant and added clear documentation/comments emphasizing that any new fields in the Config struct must also be added to the template, ensuring maintainability. (internal/config/config.go, internal/config/config.goR17-R45)

Documentation:

  • Added a detailed CLAUDE.md file providing project overview, architecture, build/test instructions, and important notes for contributors and AI assistants.

CI workflow:

  • Commented out the push trigger in .github/workflows/test.yml, so tests now only run on pull requests to the main branch.

Introduces CreateWithTemplate to generate .tmporc files with all config fields and helpful comments, improving user experience. Updates init command to use the new function. Adds a configTemplate constant and documentation to ensure future fields are reflected in the template.
Introduced CLAUDE.md to provide guidance for Claude Code on repository structure and development practices. Commented out the push trigger in the test GitHub Actions workflow, so tests now only run on pull requests to the main branch.
@DylanDevelops DylanDevelops merged commit 7139061 into main Dec 15, 2025
3 checks passed
@DylanDevelops DylanDevelops deleted the ravel/better-init branch December 15, 2025 19:51
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