CLAUDE.md
CLAUDE.mdCLAUDE.mdroot
Quality
48/100
Scores the file, not the repository.Length
431 words
6 headings · 0 code blocksRepository
32k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# CLAUDE.md — conductor (server repo)23Instructions for Claude Code working in this repository.45## Writing Documentation67Documentation in this project is **derived from source**, not composed from memory or intuition. The workflow is: open the source → read what's there → write the doc from what you find. The source is the spec; the doc is a rendering of it.89Concrete reason this matters: a curl equivalent for `conductor workflow start --sync` was once written as `POST /api/workflow/{name}/run` — an endpoint that does not exist. Opening `WorkflowResource.java` first would have given the correct path (`POST /api/workflow/execute/{name}/{version}`) immediately.1011### For each content type, start here1213**REST endpoint or curl example**141. Open the controller: `rest/src/main/java/com/netflix/conductor/rest/controllers/`152. Find the method by its `@PostMapping`/`@GetMapping` annotation — copy the path literally.163. Read the method signature for query params, path variables, and request body.174. Write the curl from what you just read.1819**CLI command or flag**201. Open `conductor-cli/cmd/*.go` (separate repo under this workspace).212. Find the `cobra.Command` for the subcommand and read its `Flags()` declarations.223. Write the example from what you just read — flag names, types, and defaults.2324**SDK code example (Python, JS, Java, Go)**251. Open the SDK source file for the method you're documenting.262. Read the method signature and required parameters.273. If a working test exists for that method, use it as the starting point.284. Write from the signature — do not infer from the method name alone.2930**Expected output block**311. Get real output: run the command, or find it in test fixtures or CI logs.322. Paste verbatim. Do not construct output that "looks right."333. For variable fields (IDs, timestamps), use annotated placeholders like `<workflow-id>`.3435**Editing an existing section**36- Before changing anything, read every code block and command in the section.37- Verify each one using the steps above, not just the block you plan to change.38- Fix anything you find while you're there.3940### When you can't verify4142If a running server or CLI is unavailable:43- Add `<!-- TODO: verify against live server -->` in the file.44- Note it explicitly in the PR description.45- Do not write an unverified example and leave it unmarked.4647### Key source locations4849| Content | Where to look |50|---|---|51| REST API routes | `rest/src/main/java/com/netflix/conductor/rest/controllers/` |52| Workflow sync execution | `WorkflowResource.java` → `executeWorkflow()` at `@PostMapping("execute/{name}/{version}")` |53| Task routes | `TaskResource.java` |54| CLI subcommands and flags | `conductor-cli/cmd/workflow.go`, `cmd/task.go`, etc. |5556## Other Guidelines5758See [AGENTS.md](AGENTS.md) for full project conventions: code style, testing, dependency pinning, PR guidelines.59
Also in conductor-oss/conductor
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 |
|---|---|---|---|---|---|
| conductor-oss/conductorAGENTS.md · 32k | AGENTS.md | setupteststylearch+7 | 80/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 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 | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| dotCMS/coreCLAUDE.md · 949 | CLAUDE.md | setupbuildteststyle+7 | 99/100 | today |
