init
Some checks are pending
CI / Test (1.23) (push) Waiting to run
CI / Test (1.24) (push) Waiting to run
CI / Test (1.25) (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Build (push) Waiting to run

This commit is contained in:
2025-12-16 13:12:43 +02:00
parent 9f42be432b
commit b9650739bf
20 changed files with 1095 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
description: Build the RelSpec binary
---
Build the RelSpec project by running `go build -o relspec ./cmd/relspec`. Report the build status and any errors encountered.

View File

@@ -0,0 +1,9 @@
---
description: Generate test coverage report
---
Generate and display test coverage for RelSpec:
1. Run `go test -cover ./...` to get coverage percentage
2. If detailed coverage is needed, run `go test -coverprofile=coverage.out ./...` and then `go tool cover -html=coverage.out` to generate HTML report
Show coverage statistics and identify areas needing more tests.

10
.claude/commands/lint.md Normal file
View File

@@ -0,0 +1,10 @@
---
description: Run Go linters on the codebase
---
Run linting tools on the RelSpec codebase:
1. First run `gofmt -l .` to check formatting
2. If golangci-lint is available, run `golangci-lint run ./...`
3. Run `go vet ./...` to check for suspicious constructs
Report any issues found and suggest fixes if needed.

5
.claude/commands/test.md Normal file
View File

@@ -0,0 +1,5 @@
---
description: Run all tests for the RelSpec project
---
Run `go test ./...` to execute all unit tests in the project. Show a summary of the results and highlight any failures.

25
.claude/settings.json Normal file
View File

@@ -0,0 +1,25 @@
{
"project": {
"name": "RelSpec",
"description": "Database Relations Specification Tool for Go",
"language": "go"
},
"agent": {
"preferred": "Explore",
"description": "Use Explore agent for fast codebase navigation and Go project exploration"
},
"codeStyle": {
"useGofmt": true,
"lineLength": 100,
"tabWidth": 4,
"useTabs": true
},
"testing": {
"framework": "go test",
"runOnChange": false
},
"build": {
"command": "go build -o relspec ./cmd/relspec",
"outputBinary": "relspec"
}
}