|
| 1 | +# CaptchaAI Examples Onboarding |
| 2 | + |
| 3 | +This is the public examples repo. |
| 4 | + |
| 5 | +If you are onboarding, start here before editing pack content or changing repo-level messaging. |
| 6 | + |
| 7 | +## What this repo is for |
| 8 | + |
| 9 | +- publish client-facing runnable example packs |
| 10 | +- help readers move from a blog article to working CaptchaAI code fast |
| 11 | +- state support levels honestly |
| 12 | +- give clients a stable pack-level contract through `articles/{slug}/README.md` |
| 13 | + |
| 14 | +## What this repo is not for |
| 15 | + |
| 16 | +- internal article production workflow |
| 17 | +- private generation or repair tooling |
| 18 | +- private smoke credentials or tracked factory state |
| 19 | +- editorial planning or publication reconciliation |
| 20 | + |
| 21 | +Those responsibilities live in the private `cai_content` repo. |
| 22 | + |
| 23 | +## Business role |
| 24 | + |
| 25 | +The examples repo supports the same API business as the blog: |
| 26 | + |
| 27 | +- accelerate time-to-first-solve |
| 28 | +- convert readers into API users |
| 29 | +- reduce support load with working references |
| 30 | +- support partner and ecosystem content with practical code |
| 31 | + |
| 32 | +## Public contract |
| 33 | + |
| 34 | +Treat these as the client-facing contract: |
| 35 | + |
| 36 | +- each pack directory under `articles/{slug}/` |
| 37 | +- the pack README inside that directory |
| 38 | +- the support tier shown for the pack |
| 39 | + |
| 40 | +Do not treat internal generation history as part of the public contract. |
| 41 | + |
| 42 | +## Relations to the private repo |
| 43 | + |
| 44 | +| Public surface | Private source or owner | |
| 45 | +|---|---| |
| 46 | +| `articles/{slug}/` | article slug and example metadata in `cai_content` | |
| 47 | +| Pack README backlink | blog article at `https://blog.captchaai.com/{slug}` | |
| 48 | +| Root README index | generated from private manifests and validation | |
| 49 | +| Support tier | private example-factory validation and reporting | |
| 50 | + |
| 51 | +## Checks that matter here |
| 52 | + |
| 53 | +### Public CI |
| 54 | + |
| 55 | +The repository CI checks: |
| 56 | + |
| 57 | +- Python lint |
| 58 | +- Node.js syntax |
| 59 | +- PHP syntax |
| 60 | +- Go vet or formatting |
| 61 | +- Ruby syntax |
| 62 | +- Bash syntax |
| 63 | +- Java compile check |
| 64 | +- Kotlin syntax check |
| 65 | +- C# build check |
| 66 | +- Rust compile check |
| 67 | +- required pack structure and at least one supported implementation |
| 68 | + |
| 69 | +### Private owner checks |
| 70 | + |
| 71 | +The private factory also checks: |
| 72 | + |
| 73 | +- backlink and metadata consistency |
| 74 | +- manifest truth for pack tier and captcha type |
| 75 | +- generated root README index accuracy |
| 76 | +- deeper lint, audit, and optional smoke validation |
| 77 | + |
| 78 | +## Editing rules |
| 79 | + |
| 80 | +1. Keep client-facing docs clear and honest. |
| 81 | +2. Do not claim more support than the current tier can justify. |
| 82 | +3. Do not hand-edit the generated root README index unless you are intentionally repairing it and regenerating immediately after. |
| 83 | +4. Keep pack README setup steps aligned with the actual files in that pack. |
| 84 | +5. If a language is listed, that implementation should exist and be usable as documented. |
| 85 | + |
| 86 | +## Start-here order |
| 87 | + |
| 88 | +1. `README.md` |
| 89 | +2. `CONTRIBUTING.md` |
| 90 | +3. the specific pack `articles/{slug}/README.md` you plan to touch |
| 91 | + |
| 92 | +Then, if you own the private repo too, run the cross-repo checks from `cai_content`. |
0 commit comments