Skip to content

Commit b6f494d

Browse files
committed
Add AGENTS.md and CLAUDE.md for AI coding agent guidance
1 parent 744f248 commit b6f494d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

AGENTS.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# AGENTS.md
2+
3+
This file provides guidance to AI coding agents when working with code in this repository.
4+
5+
## What this project is
6+
7+
`code_manifest` is a Ruby gem that fetches files by glob patterns and generates a digest of those files. It is used to produce stable manifests of file sets for caching and change-detection purposes.
8+
9+
## Commands
10+
11+
```bash
12+
bundle install
13+
14+
# Run all tests (RSpec)
15+
bundle exec rspec
16+
17+
# Run a single spec file
18+
bundle exec rspec spec/path/to/spec.rb
19+
```
20+
21+
## Architecture
22+
23+
- `lib/code_manifest.rb` — public API; accepts glob patterns and returns matched files plus a digest
24+
- `lib/code_manifest/` — internal helpers for glob resolution and hashing
25+
- `spec/` — RSpec tests; `spec/fixtures/` holds sample file trees

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@AGENTS.md

0 commit comments

Comments
 (0)