cli
AGENTS.md18k starsChanged 3 months agoMITView on GitHub
lark-cli is the official Lark/Feishu CLI for humans and AI agents. Optimize for predictable machine-readable behavior without making the human CLI worse. Keep each PR focused on one goal: CLI UX, reliability, simpler explicit code, or a useful gate. Done means the correct implementation surface, preserved contracts unless a break was requested, and reported checks. Public behavior, tests, lint, and CI define current contracts. Existing code is evidence, but a legacy exception is not precedent; Proposal documents are direction only.…
Trending
More talk lately.about the whole repository
Who's talking about larksuite/cli
- larksuite/meegle-cli“Feature Request: 支持应用凭证鉴权(app_id + app_secret → tenant_access_token)”GitHub · May 21, 2026 · 2 reactions
- heliohq/anycli“feat(lark): install lark-cli from a sha256-pinned direct source”GitHub · Aug 21, 2026 · 1 reactions
- @golangoss.bsky.social“cli (⭐️ 16454) The official Lark/飞书 CLI tool, maintained by the larksuite team — built for humans and AI …”Bluesky · Aug 14, 2026 · 1 likes
- @golangoss.bsky.social“cli (⭐️ 14438) The official Lark/Feishu CLI tool, maintained by the larksuite team — built for humans and …”Bluesky · Jun 21, 2026 · 1 likes
- Chengmun58/api-mcp-server“chore: add lark-cli installation script for AI agent setup”GitHub · May 3, 2026 · 1 reactions
The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 52
Talked about on GitHub and Bluesky (52 times).
On GitHub · 50
- May 21, 2026Feature Request: 支持应用凭证鉴权(app_id + app_secret → tenant_access_token) — larksuite/meegle-cli2 reactions · 1 comment
- Aug 21, 2026feat(lark): install lark-cli from a sha256-pinned direct source — heliohq/anycli1 reaction
- May 3, 2026chore: add lark-cli installation script for AI agent setup — Chengmun58/api-mcp-server1 reaction
- Mar 29, 2026Feature Request: Lark/Feishu (飞书) Platform Support — NousResearch/hermes-agent1 reaction · 2 comments
- Oct 30, 2026feat(feishu): evaluate official CLI and SDK assisted application onboarding — dynamicheart/lockbot0 reactions
45 more on GitHub
- Oct 30, 2026原生 @feishu 首阶段:对标 lark-cli 并交付应用身份与消息子集 — PerishLab/runseal0 reactions · 3 comments
- Oct 30, 2026Bump plugins/lark-skills/cli from `6646386` to `ac81f50` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Oct 29, 2026fix(skill): install local skills from Windows paths — zhayujie/CowAgent0 reactions · 1 comment
- Oct 27, 2026[Bug] 飞书在配置没有问题的情况下,仍然出现21001错误 — AstrBotDevs/AstrBot0 reactions · 2 comments
- Oct 22, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.98 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Oct 19, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.98 — Julyaan/lark-tenant-key-cli0 reactions
- Oct 17, 2026摸底 wecom-cli 与 lark-cli 的能力边界 — quanttide/quanttide-library-of-communication-management0 reactions
- Oct 14, 2026agent-skills.github.larksuite.cli: 1.0.97 → 1.0.98 — sudosubin/agents.nix0 reactions
- Oct 9, 2026chore(deps): bump the npm-production group across 1 directory with 15 updates — huiyeruzhou/codelark0 reactions
- Oct 8, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.97 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Oct 5, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.97 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.larksuite.cli: 1.0.96 → 1.0.97 — sudosubin/agents.nix0 reactions
- Sep 29, 2026agent-skills.github.larksuite.cli: init at 1.0.96 — sudosubin/agents.nix0 reactions
- Sep 28, 2026lark-skills: upstream update — robomotionio/robomotion-skills0 reactions
- Sep 24, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.96 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Sep 22, 2026Datasource skill: lark (Lark/Feishu via official lark-cli — v1 remote search, no local index) — Marker-Inc-Korea/AutoRAG0 reactions
- Sep 21, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.96 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Sep 17, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.95 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Sep 14, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.94 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Sep 10, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.93 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Sep 7, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.93 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Sep 7, 2026Bump the npm-minor-patch group with 2 updates — 0xZoharHuang/AI-Digest0 reactions
- Sep 4, 2026feat: configure Feishu apps by QR and add /doctor — CherryHQ/stella0 reactions
- Sep 4, 2026Bump cli from `f3949f0` to `6646386` — cndoit18/lark-skills-for-claude-code0 reactions
- Sep 3, 2026build(deps): bump @larksuite/cli from 1.0.89 to 1.0.93 — chengzeli7/feishu-codex-bridge0 reactions · 1 comment
- Aug 31, 2026Bump @larksuite/cli from 1.0.68 to 1.0.91 — 0xZoharHuang/AI-Digest0 reactions · 1 comment
- Aug 31, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.91 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Aug 28, 2026Bump cli from `f3949f0` to `423e81f` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Aug 27, 2026Bump @larksuite/cli from 1.0.88 to 1.0.89 — chengzeli7/feishu-codex-bridge0 reactions
- Aug 24, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.88 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Aug 21, 2026Update skill: /larksuite-lark-meeting (safe risk) — aiskillstore/marketplace0 reactions
- Aug 21, 2026Bump cli from `f3949f0` to `d3a96f5` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Aug 17, 2026build(deps): bump @larksuite/cli from 1.0.85 to 1.0.87 — Julyaan/lark-tenant-key-cli0 reactions · 1 comment
- Aug 14, 2026Bump cli from `f3949f0` to `13305ae` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Aug 7, 2026Add guided QR-code onboarding for Feishu and QQ — Mtrya/kimi-bridge0 reactions · 1 comment
- Aug 7, 2026Bump cli from `f3949f0` to `0f29e03` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Aug 7, 2026Bump @larksuite/cli from 1.0.70 to 1.0.82 — LeoChaseYoung/feishu-codex-console0 reactions
- Aug 4, 2026自动配置检测仍误报:扫码智能体应用事件信源不可靠 + 权限替代关系未识别 — kxn/codex-remote-feishu0 reactions · 1 comment
- Jul 31, 2026Bump cli from `f3949f0` to `03de81c` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Jul 31, 2026[P1][Architecture] 将目标 Skill 的 Harness Prompt 抽成独立 Skill,入口仅保留强制加载路由 — MetaInFLow/EvoZeus-CoEvolve0 reactions · 2 comments
- Jul 31, 2026Bump @larksuite/cli from 1.0.70 to 1.0.78 — LeoChaseYoung/feishu-codex-console0 reactions · 1 comment
- Jul 24, 2026Bump cli from `f3949f0` to `af8507e` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
- Jul 21, 2026[Feature]: multica CLI: expose the current agent's Feishu channel context (bot credentials + session chat_id) — multica-ai/multica0 reactions · 3 comments
- Jul 21, 2026Future enhancement: Add lark-cli IM and Lark Base backends to the session event model — Harness-X-Harness/runner0 reactions
- Jul 17, 2026Bump cli from `f3949f0` to `7081960` — cndoit18/lark-skills-for-claude-code0 reactions · 1 comment
On Bluesky · 2
- Aug 14, 2026cli (⭐️ 16454) The official Lark/飞书 CLI tool, maintained by the larksuite team — built for humans and AI Agents. Covers core business… — @golangoss.bsky.social1 likes and repost
- Jun 21, 2026cli (⭐️ 14438) The official Lark/Feishu CLI tool, maintained by the larksuite team — built for humans and AI Agents. Covers core business… — @golangoss.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository28 other files it gives its agents.
- lark-approvalSkill
- lark-appsSkill
- lark-attendanceSkill
- lark-baseSkill
- lark-calendarSkill
- lark-contactSkill
- lark-docSkill
- lark-driveSkill
- lark-eventSkill
- lark-imSkill
- lark-mailSkill
- lark-markdownSkill
- lark-meetingSkill
- lark-minutesSkill
- lark-noteSkill
- lark-okrSkill
- lark-openapi-explorerSkill
- lark-sharedSkill
- lark-sheetsSkill
- lark-skill-makerSkill
- lark-slidesSkill
- lark-taskSkill
- lark-vc-agentSkill
- lark-vcSkill
- lark-whiteboardSkill
- lark-wikiSkill
- lark-workflow-meeting-summarySkill
- lark-workflow-standup-reportSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
21 rules. About 1 is common, 13 are distinctive, and 7 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Keep each PR focused on one goal: CLI UX, reliability, simpler explicit code, or a useful gate.
- Distinctive: line 19
Use this sequence for product behavior or enforcement changes:
- Distinctive: line 28
Prefer the owning generic, runtime, or internal surface, then the Go standard library or an existing dependency, while preserving the …
- Very specific: line 48
Run make build for the canonical local build.
- Very specific: line 69
Do not duplicate one command surface inside another.
- Very specific: line 93
Read the JSON output contract before changing wire output.
- Distinctive: line 99
When forwarding or echoing accepted input, preserve it verbatim unless its contract defines normalization.
- Very specific: line 104
Keep new or touched Cobra code as wiring.
- Very specific: line 107
Keep user/workspace FileIO invocation-scoped: use runtime.FileIO(), runtime.ValidatePath(), and runtime.ResolveSavePath() so portable …
- Very specific: line 114
If FileIO lacks a host-local tree operation, prefer an owning internal/ package or optional capability.
- Distinctive: line 117
Do not hardcode resolver-owned hosts.
- Distinctive: line 127
Before changing a command failure, taxonomy, or error wire field, read the error contract.
- Distinctive: line 143
Before editing command guidance, read the affordance guide.
- Distinctive: line 149
Do not duplicate canonical descriptions, schemas, or generic error taxonomy.
- Distinctive: line 150
Keep workflow-specific recovery in a skill when it changes agent behavior.
- Distinctive: line 161
Every behavior change needs a nearby test that fails if the implementation is reverted.
- Distinctive: line 179
If no deterministic, cleanable live flow exists, do not leak tenant state or add a flaky test.
- Distinctive: line 184
Run the narrowest useful check while iterating, then broaden with risk:
- Very specific: line 207
Before a Go PR, run make unit-test, make vet, and make fmt-check.
- Distinctive: line 225
Add a root rule only when it is repository-specific, non-obvious, actionable, and prevents a recurring failure or high-impact contract …
- Common: line 234
Use English Conventional Commits/PR titles, complete the PR template, and never commit secrets, tokens, internal endpoints, or sensitive …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Purpose
lark-cli is the official Lark/Feishu CLI for humans and AI agents. Optimize
for predictable machine-readable behavior without making the human CLI worse.
Keep each PR focused on one goal: CLI UX, reliability, simpler explicit code, or a useful gate. Done means the correct implementation surface, preserved contracts unless a break was requested, and reported checks.
Public behavior, tests, lint, and CI define current contracts. Existing code is
evidence, but a legacy exception is not precedent; Proposal documents are
direction only. Do not mix unrelated cleanup, hand-edit generated files, weaken
gates, or broaden allowlists to make CI pass.
Implementation Discipline
Use this sequence for product behavior or enforcement changes:
- Establish the current contract and owner before choosing a solution. Trace the flow from the command or shortcut through runtime and internal owners to wire output; inspect affected callers and tests, then choose the surface below.
- Apply YAGNI to scope. Implement the behavior required now; do not add speculative modes, configuration, compatibility paths, extension points, or scaffolding.
- Reuse the project's existing machinery before creating a parallel path. Prefer the owning generic, runtime, or internal surface, then the Go standard library or an existing dependency, while preserving the contracts below.
- Fix the root cause at the narrowest cohesive boundary shared by affected callers. Keep command and domain policy at the caller unless there is a real cross-command invariant for an internal owner to enforce.
- Ship the smallest complete change: implementation, a revert-failing regression test for behavior or enforcement, and required contract or guidance updates.
Optimize for minimum owned complexity, not minimum diff or line count. A correct root-cause fix may touch the owner, callers, tests, and docs; a one-line workaround at the wrong layer is not simpler. Prefer deletion and boring explicit code, and avoid one-use abstractions or new dependencies for straightforward behavior.
YAGNI never overrides explicit requirements or output, error, path, security, compatibility, and data-safety contracts. If a deliberately limited solution has a real ceiling, document the ceiling and the concrete condition for expanding it at the decision point.
Build
Run make build for the canonical local build; it writes ./lark-cli with
version metadata and the committed Catalog Snapshot embedded from
internal/registry/catalog/manifest.json plus
internal/registry/catalog/services/*.json. Build and test targets consume this
tracked snapshot without a metadata fetch or Python prerequisite.
make live-skills-test additionally requires working npx and network access.
Choose the Correct Surface
| Need | Implement in | Rule |
| Agent/human-friendly workflow, composition, or smart defaults | shortcuts/<domain>/ via common.Shortcut | Must add UX or workflow value beyond exposing one endpoint. |
| One-to-one supported OpenAPI method | Committed Catalog Snapshot under internal/registry/catalog/manifest.json plus services/*.json, and generic cmd/service/ machinery | Verify it with schema. Update the manifest and matching service snapshot together; do not add a shortcut merely to expose a missing catalog method. |
| Arbitrary OpenAPI endpoint | Generic cmd/api/ machinery | Keep it endpoint-agnostic. |
| Auth, config, profile, update, or CLI lifecycle | cmd/<area>/ plus the owning shared/internal package | Keep new Cobra code as wiring when a lower owner exists. |
| EventKey, payload shape, or domain projection | events/<domain>/ | Shared event mechanics stay in internal/event/; CLI assembly stays in cmd/event/. |
| Command-independent mechanism or cross-command invariant | Owning internal/<area>/ package | Keep UX/domain policy at the caller; use a cohesive owner, not a generic utils package. Test the owner and affected caller contracts. |
| Public plugin or host integration | extension/ | Exported symbols are compatibility commitments; orchestration stays internal. |
| Per-command decision guidance: when, avoid, prerequisites, tips, or examples | affordance/<domain>.md | Enrich --help and schema without restating command descriptions, flags, or field schemas. |
| Domain routing, concepts, safety, or cross-command agent workflow | skills/<name>/SKILL.md and references/ | Keep always-needed decisions in SKILL.md, conditional HOW in references, and link commands from affordance. |
Do not duplicate one command surface inside another. Register new shortcuts in
the domain's Shortcuts(); declare risk, identities/scopes, flags, and dry-run.
Source Layout
| Path | What it does |
cmd/root.go | Entry point, command registration, strict mode pruning |
cmd/profile/ | Multi-profile management (add/list/use/rename/remove) |
cmd/config/ | Config init, show, strict-mode |
cmd/service/ | Auto-registers API commands from internal/registry/catalog/manifest.json and internal/registry/catalog/services/*.json |
shortcuts/common/runner.go | Shortcut execution pipeline, Flag.Input (@file/stdin) resolution |
shortcuts/ | Domain-specific shortcut implementations |
internal/cmdutil/factory.go | Factory pattern — identity resolution, credential, config |
internal/cmdutil/factory_default.go | Production factory wiring |
internal/credential/ | Credential provider chain (extension → default) |
extension/credential/ | Plugin-facing credential interfaces and env provider |
internal/client/client.go | APIClient: DoSDKRequest, DoStream |
internal/core/config.go | Multi-profile config loading/saving |
internal/vfs/ | Filesystem abstraction (use vfs.* instead of os.*) |
internal/validate/path.go | Path safety validation |
Hard Contracts
Read the JSON output contract before changing
wire output. Read the source guard guide and .golangci.yml
before changing or waiving enforcement.
- Command/flag semantics, help/schema metadata, output placement and shapes, errors, exit codes, risk/identity, and exported APIs are compatibility contracts. When forwarding or echoing accepted input, preserve it verbatim unless its contract defines normalization; never silently substitute another behavior.
- Success data goes to stdout; typed failure envelopes, progress, warnings, and hints go to stderr. Predicate/self-contained results and partial failures are documented exceptions whose complete result remains on stdout.
- Keep new or touched Cobra code as wiring. Lark/Feishu API calls in shortcuts go
through
*common.RuntimeContext; direct HTTP is only for non-gateway protocols such as presigned storage and requires a precise//nolint:forbidigoreason. - Keep user/workspace FileIO invocation-scoped: use
runtime.FileIO(),runtime.ValidatePath(), andruntime.ResolveSavePath()so portable commands do not assume a local host or process working directory. - Shortcuts do not use
internal/vfsfor user/workspace files. A narrow//nolint:depguardwaiver is allowed only for CLI-owned state or explicitly CLI-managed host configuration; explain that ownership boundary. Other internal filesystem code usesinternal/vfsand validates paths. - If FileIO lacks a host-local tree operation, prefer an owning
internal/package or optional capability. Directoscalls require a stated local-only boundary, validated and bounded paths, and a precise//nolint:forbidigoreason. - Do not hardcode resolver-owned hosts. At new API boundaries, or when changed behavior consumes fields from a loose map, project that shape into a typed struct before downstream use. Extend published interfaces through optional interfaces rather than breaking external implementations.
- Source guards enforce raw HTTP/os/vfs, resolver-host, and migrated-error constructs; other semantics rely on tests and review. Every exemption must be narrow, local, and explain why the safe path does not apply.
Structured Errors
Before changing a command failure, taxonomy, or error wire field, read the error contract; it owns constructor selection, wrapping, extension fields, stability, and CI guards.
- Command-facing failures use typed
errs.*unless the error contract defines an output-control exception. Never return a final plainfmt.Errorf/errors.Newor ad hoc envelope; pass typed errors through and preserve causes. - Lark API failures use a domain typed wrapper,
runtime.CallAPITyped, orruntime.DoAPIJSONTyped; raw callers useruntime.ClassifyAPIResponseorerrclass.BuildAPIError. paramnames only failing user input; recovery belongs inhint. Populatemissing_scopes,log_id, and similar fields only from known runtime evidence.- Error tests assert typed metadata and cause preservation, not message text alone.
Affordance and Skills
Before editing command guidance, read the affordance guide. For plugin distributions, read Ship skills and command guidance.
- Go metadata/schema owns WHAT; affordance owns command-level WHEN;
SKILL.mdowns domain routing, concepts, safety, and cross-command workflows;references/owns detailed or conditional HOW. - Do not duplicate canonical descriptions, schemas, or generic error taxonomy. Keep workflow-specific recovery in a skill when it changes agent behavior; affordance examples remain runnable, current, and safe.
- Skill frontmatter
descriptionis a concise WHAT/WHEN/NOT routing trigger. Keep always-needed decisions inSKILL.md; move conditional detail toreferences/. - Skill names and reference paths are public pointers. Every path reachable from
shipped docs must ship. Before referencing a new content directory, update
content_embed.goand add an embedded-FS reachability test;assets/andscripts/stay source-only unless the distribution contract changes.
Tests
- Every behavior change needs a nearby test that fails if the implementation is reverted; assert fields, requests, typed errors, or side effects directly.
- Command/shortcut tests needing a Factory use
cmdutil.TestFactory(t, config); isolate config witht.Setenv("LARKSUITE_CLI_CONFIG_DIR", t.TempDir()). - Tests must not depend on developer profiles, keychains, home directories, execution order, or real credentials unless explicitly live.
- Live E2E flows are self-contained: create, use, and clean up even after failure.
| Shortcut change | Dry-run E2E | Live E2E |
| New shortcut | Required | Required |
| Flags or request params | Required | Required if behavior changes |
| Bug fix | Required | Required when risk reaches the API boundary |
| Internal refactor, no behavior change | Not needed | Not needed |
Dry-run tests use placeholder credentials and assert method, URL, params, and
body without a real API call. Confirm contracts with --help and schema first.
If no deterministic, cleanable live flow exists, do not leak tenant state or add
a flaky test; document the blocker, fixture conditions, and substitute evidence.
Validation
Run the narrowest useful check while iterating, then broaden with risk:
| Change | Checks |
| Go package | go test ./path/to/package/..., then the pre-PR Go checks below |
| Broad/cross-cutting | make test |
| Committed command/help/schema surface | make quality-gate |
| Skills | node scripts/skill-format-check/index.js, then make quality-gate after committing the change |
| Affordance | Add/update internal/affordance/*_source_test.go; run go test ./internal/affordance ./cmd/service ./internal/schema |
| Make-covered scripts/workflows | make script-test |
| Public plugin SDK | make examples-build plus relevant tests/plugin_e2e |
| Auth sidecar | make sidecar-test |
| Skills sync behavior | make live-skills-test |
| Dependencies | go mod tidy plus the CI go-licenses check |
make quality-gate and diff-scoped linters compare the base with HEAD; they
ignore staged, unstaged, and untracked changes, so run them after committing.
Some skill-quality signals are warnings; frontmatter has the separate hard check
above. The gate does not validate affordance examples or references in this file:
run the focused source test and verify changed paths/symbols directly.
make test currently leaves root binaries audit-observer and readonly-policy; do not stage them.
Before a Go PR, run make unit-test, make vet, and make fmt-check;
go mod tidy must leave module files unchanged. Set
QUALITY_GATE_CHANGED_FROM to the PR base before diff-scoped checks. Pinned
go run module@version commands need module access unless cached.
go mod tidy
git diff --exit-code -- go.mod go.sum
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run --new-from-rev="$QUALITY_GATE_CHANGED_FROM"
go run -C lint . --changed-from "$QUALITY_GATE_CHANGED_FROM" ..
go test -C lint ./... -count=1
go run github.com/google/go-licenses/v2@v2.0.1 check ./... --disallowed_types=forbidden,restricted,reciprocal,unknownCI is authoritative; state exactly which relevant checks were not run.
Maintaining This File
Add a root rule only when it is repository-specific, non-obvious, actionable, and prevents a recurring failure or high-impact contract breach. Prefer code, tests, or CI for mechanizable constraints; keep only rationale and safe exceptions here. Update named references in the same PR, and delete or move stale, obvious, redundant, task-local, or fully enforced rules. Each edit should reduce ambiguity, not only add text.
Commit and PR
Use English Conventional Commits/PR titles, complete the PR template, and never commit secrets, tokens, internal endpoints, or sensitive test data.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

