Add basic claude code setup and improve nix flake#450
Merged
Conversation
Description ============ Basic claude code setup and Openspec. I adjusted the flake to pull openspec into the project.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds OpenSpec/Claude Code (and other agent-tooling) configuration files to the repo and updates the Nix flake to include OpenSpec in the dev environment.
Changes:
- Add OpenSpec config plus “opsx” workflow commands/skills for multiple assistants (Claude, Gemini, Cursor, Codex).
- Update
flake.nix/flake.lockto pull in the OpenSpec flake and include it in the devShell. - Add
.direnv/to.gitignoreand introduceCLAUDE.mdrepository guidance.
Reviewed changes
Copilot reviewed 31 out of 33 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| openspec/config.yaml | Adds baseline OpenSpec schema config (spec-driven). |
| flake.nix | Adds OpenSpec flake input, includes it in devShell, improves shell hook, adjusts MSRV handling and Cargo.toml path. |
| flake.lock | Locks new OpenSpec input and updates existing flake inputs. |
| CLAUDE.md | Adds repo guidance for Claude Code usage (commands, architecture, conventions). |
| .gitignore | Ignores .direnv/. |
| .gemini/skills/openspec-propose/SKILL.md | Gemini skill definition for proposing OpenSpec changes. |
| .gemini/skills/openspec-explore/SKILL.md | Gemini skill definition for explore mode. |
| .gemini/skills/openspec-archive-change/SKILL.md | Gemini skill definition for archiving changes. |
| .gemini/skills/openspec-apply-change/SKILL.md | Gemini skill definition for applying/implementing changes. |
| .gemini/commands/opsx/propose.toml | Gemini command wrapper for propose workflow. |
| .gemini/commands/opsx/explore.toml | Gemini command wrapper for explore workflow. |
| .gemini/commands/opsx/archive.toml | Gemini command wrapper for archive workflow. |
| .gemini/commands/opsx/apply.toml | Gemini command wrapper for apply workflow. |
| .cursor/skills/openspec-propose/SKILL.md | Cursor skill definition for proposing OpenSpec changes. |
| .cursor/skills/openspec-explore/SKILL.md | Cursor skill definition for explore mode. |
| .cursor/skills/openspec-archive-change/SKILL.md | Cursor skill definition for archiving changes. |
| .cursor/skills/openspec-apply-change/SKILL.md | Cursor skill definition for applying/implementing changes. |
| .cursor/commands/opsx-propose.md | Cursor command doc for propose workflow. |
| .cursor/commands/opsx-explore.md | Cursor command doc for explore workflow. |
| .cursor/commands/opsx-archive.md | Cursor command doc for archive workflow. |
| .cursor/commands/opsx-apply.md | Cursor command doc for apply workflow. |
| .codex/skills/openspec-propose/SKILL.md | Codex skill definition for proposing OpenSpec changes. |
| .codex/skills/openspec-explore/SKILL.md | Codex skill definition for explore mode. |
| .codex/skills/openspec-archive-change/SKILL.md | Codex skill definition for archiving changes. |
| .codex/skills/openspec-apply-change/SKILL.md | Codex skill definition for applying/implementing changes. |
| .claude/skills/openspec-propose/SKILL.md | Claude skill definition for proposing OpenSpec changes. |
| .claude/skills/openspec-explore/SKILL.md | Claude skill definition for explore mode. |
| .claude/skills/openspec-archive-change/SKILL.md | Claude skill definition for archiving changes. |
| .claude/skills/openspec-apply-change/SKILL.md | Claude skill definition for applying/implementing changes. |
| .claude/commands/opsx/propose.md | Claude command doc for propose workflow. |
| .claude/commands/opsx/explore.md | Claude command doc for explore workflow. |
| .claude/commands/opsx/archive.md | Claude command doc for archive workflow. |
| .claude/commands/opsx/apply.md | Claude command doc for apply workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Basic claude code setup and Openspec. I adjusted the flake to pull openspec into the project.