Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
},
"repository": "https://github.com/bendrucker/claude-code-agents-md",
"license": "MIT",
"keywords": ["agents", "agents-md", "instructions"],
"hooks": "./hooks/hooks.json"
"keywords": ["agents", "agents-md", "instructions"]
}
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Claude Code plugin that loads `AGENTS.md` files using hooks.

- `hook.ts`: Hook script that finds and reads `AGENTS.md`
- Use only eraseable TypeScript syntax to allow execution via `node`
- `plugin.json`: Plugin manifest declaring the hook
- `hooks/hooks.json`: Hook registration
- `.claude-plugin/plugin.json`: Plugin manifest

## References

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { runTest, getAssistantResponse } from './harness.ts';
import { assertResponseContains, assertToolUsed } from './assertions.ts';

const FIXTURES_DIR = path.join(import.meta.dirname, 'fixtures');
const PLUGIN_PATH = path.join(import.meta.dirname, '..', '.claude-plugin');
const PLUGIN_PATH = path.join(import.meta.dirname, '..');

describe('AGENTS.md Plugin', () => {
it('injects AGENTS.md content at session start', async () => {
Expand Down