Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 16, 2026

Summary

  • Remove redundant tsgolint package from flake.nix and CI workflow (bundled with oxlint)
  • Add .claude/rules/nix-workflow.md documenting Nix configuration patterns

Test plan

  • CI should pass without tsgolint since it's included in oxlint

Summary by cubic

Removed redundant tsgolint (bundled in oxlint) from flake.nix and CI and dropped unused similarity/nixfmt from the lint job. Added a Nix workflow rule for the dev env, CI setup, and Nix build commands.

Written for commit 004f471. Summary will update on new commits.

The tsgolint binary is bundled with the oxlint package in nixpkgs,
so specifying it separately is unnecessary. This removes the duplicate
from both flake.nix and CI workflow.
Add comprehensive documentation for Nix usage in the project:
- Development environment setup with flake.nix
- CI workflow using nix profile install via setup-nix action
- Tool configuration and adding new packages
- Build flags for local development

This helps maintain consistency when modifying Nix configuration.
@ryoppippi ryoppippi requested a review from a team as a code owner January 16, 2026 21:03
Copilot AI review requested due to automatic review settings January 16, 2026 21:03
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

These tools are not used by pnpm lint (only oxfmt, oxlint, knip).
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the redundant tsgolint package from the Nix development environment configuration and CI workflow, as it is bundled with oxlint. Additionally, it adds comprehensive documentation for Nix-related workflows in a new Claude rule file.

Changes:

  • Removed tsgolint from flake.nix buildInputs and CI workflow tools
  • Added nix-workflow.md rule documenting Nix development environment and CI setup patterns
  • Updated CLAUDE.md to reference the new nix-workflow rule

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
flake.nix Removed redundant tsgolint package from buildInputs
.github/workflows/ci.yaml Removed tsgolint from CI lint job tools list
CLAUDE.md Added reference to new nix-workflow rule in the rules table
.claude/rules/nix-workflow.md New documentation file for Nix development environment and CI patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +3
# Nix Workflow

This rule provides guidance on Nix usage in the StackOne SDK.
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new nix-workflow.md file is missing the YAML frontmatter that other rule files in this directory include. Add frontmatter with 'description' and 'alwaysApply' fields to maintain consistency with other rules like development-workflow.md and pnpm-usage.md.

Copilot uses AI. Check for mistakes.
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@297

commit: 004f471

@ryoppippi ryoppippi merged commit 93eabda into main Jan 16, 2026
21 checks passed
@ryoppippi ryoppippi deleted the chore/nix-workflow-cleanup branch January 16, 2026 21:06
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.

2 participants