]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Project] Add Claude Code and Cursor AI assistant configuration 5667/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 6 Oct 2025 11:34:07 +0000 (12:34 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 6 Oct 2025 11:34:07 +0000 (12:34 +0100)
commit94cdf0e5bcb42dfc99212ecb737165e84dda1dff
tree029583f17b0f9abf076fa0898d110a69cdadaf81
parentadb446e955dcb1837bb5f6d13a29a38b62cb1709
[Project] Add Claude Code and Cursor AI assistant configuration

Add comprehensive configuration for AI development assistants:

.claude/ - Claude Code configuration:
- project_context.md: Project rules, code style, commit format, build system
- commands/: Custom slash commands for development workflow
  - build, test, build-and-test: Build and testing commands
  - check-code, format-code, test-lua: Code quality commands
  - prepare-commit, review-pr, create-release: Git workflow commands
- README.md: Documentation for all commands and features

.cursor/rules/ - Cursor rules:
- build-and-test.mdc: Build system and testing workflow documentation

Features:
- Automated code quality checks (luacheck, clang-format)
- Build system integration (ninja in ~/rspamd.build)
- Unit test execution (C/C++ and Lua tests)
- Commit message validation and formatting
- PR review assistance
- Release process automation

This enables AI assistants to follow Rspamd development practices
and automate common development tasks.
12 files changed:
.claude/README.md [new file with mode: 0644]
.claude/commands/build-and-test.md [new file with mode: 0644]
.claude/commands/build.md [new file with mode: 0644]
.claude/commands/check-code.md [new file with mode: 0644]
.claude/commands/create-release.md [new file with mode: 0644]
.claude/commands/format-code.md [new file with mode: 0644]
.claude/commands/prepare-commit.md [new file with mode: 0644]
.claude/commands/review-pr.md [new file with mode: 0644]
.claude/commands/test-lua.md [new file with mode: 0644]
.claude/commands/test.md [new file with mode: 0644]
.claude/project_context.md [new file with mode: 0644]
.cursor/rules/build-and-test.mdc [new file with mode: 0644]