CLAUDE.md
base-action/CLAUDE.mdCLAUDE.md
Quality
84/100
Scores the file, not the repository.Length
243 words
12 headings · 0 code blocksRepository
8.5k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# CLAUDE.md23## Common Commands45### Development Commands67- Build/Type check: `bun run typecheck`8- Format code: `bun run format`9- Check formatting: `bun run format:check`10- Run tests: `bun test`11- Install dependencies: `bun install`1213### Action Testing1415- Test action locally: `./test-local.sh`16- Test specific file: `bun test test/prepare-prompt.test.ts`1718## Architecture Overview1920This is a GitHub Action that allows running Claude Code within GitHub workflows. The action consists of:2122### Core Components23241. **Action Definition** (`action.yml`): Defines inputs, outputs, and the composite action steps252. **Prompt Preparation** (`src/index.ts`): Runs Claude Code with specified arguments2627### Key Design Patterns2829- Uses Bun runtime for development and execution30- JSON streaming output format for execution logs31- Composite action pattern to orchestrate multiple steps32- Provider-agnostic design supporting Anthropic API, AWS Bedrock, and Google Vertex AI3334## Provider Authentication35361. **Anthropic API** (default): Requires API key via `anthropic_api_key` input372. **AWS Bedrock**: Uses OIDC authentication when `use_bedrock: true`383. **Google Vertex AI**: Uses OIDC authentication when `use_vertex: true`3940## Testing Strategy4142### Local Testing4344- Use `act` tool to run GitHub Actions workflows locally45- `test-local.sh` script automates local testing setup46- Requires `ANTHROPIC_API_KEY` environment variable4748### Test Structure4950- Unit tests for configuration logic51- Integration tests for prompt preparation52- Full workflow tests in `.github/workflows/test-base-action.yml`5354## Important Technical Details5556- Outputs execution logs as JSON to `/tmp/claude-execution-output.json`57- Timeout enforcement via `timeout` command wrapper58- Strict TypeScript configuration with Bun-specific settings59
Also in anthropics/claude-code-action
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| anthropics/claude-code-actionCLAUDE.md · 8.5k | CLAUDE.md | testlint-formatstyleagent-behaviour | 81/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 3 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| dotCMS/coreCLAUDE.md · 949 | CLAUDE.md | setupbuildteststyle+7 | 99/100 | today | |
| lollipopkit/flutter_server_boxCLAUDE.md · 8.3k | CLAUDE.md | buildteststylearch+2 | 98/100 | 3 days ago |
