feat: implement C# AI-driven development pipeline template with changesets workflow#2
feat: implement C# AI-driven development pipeline template with changesets workflow#2
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #1
This commit adds a complete C# project template with: Project Structure: - .NET 8.0 solution with library, tests, and example projects - Strict code analysis (warnings as errors, all analyzers enabled) - EditorConfig for consistent code style CI/CD Pipeline: - GitHub Actions workflow with lint, test, and build jobs - Cross-platform testing (Ubuntu, macOS, Windows) - Automatic version bumping and changelog collection - Release automation with NuGet publishing support Helper Scripts (.mjs/bun): - check-file-size.mjs: Enforce 1000 line limit per file - bump-version.mjs: Version bumping utility - version-and-commit.mjs: CI/CD version management - collect-changelog.mjs: Fragment-based changelog collection - create-github-release.mjs: GitHub release creation Documentation: - Comprehensive README with usage examples - CONTRIBUTING.md with development guidelines - Fragment-based changelog system (like Changesets) Closes #1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
CA1515 requires types to be internal, but xUnit test classes must be public for test discovery to work properly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit 0313a6f.
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Can we also support Do we have something similar to C# as we have in JavaScript and Python? |
|
🤖 AI Work Session Started Starting automated work session at 2025-12-27T21:46:56.829Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
- Add `.changeset/` directory with config.json and README.md - Add `validate-changeset.mjs` script for PR validation (validates exactly one changeset per PR) - Add `merge-changesets.mjs` script for merging multiple changesets (uses highest bump type) - Update `version-and-commit.mjs` to support both changeset and instant modes - Update CI/CD workflow with changeset validation and automatic releases - Remove old `changelog.d/` fragment-based system - Update documentation in README.md and CONTRIBUTING.md This brings the C# template in line with the JavaScript template's changesets workflow, which reduces merge conflicts and ensures version bumps happen safely after PR merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Summary
This PR implements a complete C# AI-driven development pipeline template, following the same patterns as the existing JS, Python, and Rust templates.
Project Structure
src/MyPackage), tests (tests/MyPackage.Tests), and example projects (examples/)Changesets Workflow (like JavaScript template)
.changeset/directory with config.json and README.mdvalidate-changeset.mjs: Validates exactly one changeset per PRmerge-changesets.mjs: Merges multiple changesets using highest bump typeversion-and-commit.mjs: Supports both changeset and instant release modesCI/CD Pipeline (GitHub Actions)
Helper Scripts (.mjs + bun)
check-file-size.mjs: Enforce 1000 line limit per C# filebump-version.mjs: Version bumping utilityvalidate-changeset.mjs: PR changeset validationmerge-changesets.mjs: Merge multiple changesetsversion-and-commit.mjs: CI/CD version management (changeset & instant modes)create-github-release.mjs: GitHub release creationDocumentation
Test plan
dotnet build --configuration Releasesucceedsdotnet testpasses all 21 testsdotnet format --verify-no-changespassesbun run scripts/check-file-size.mjspassesCloses #1
🤖 Generated with Claude Code