claudian / tests
AGENTS.md16k starsChanged 4 months agoMITView on GitHub
Trending
Less talk lately.about the whole repository
Who's talking about YishenTu/claudian
- @technews4869.bsky.social“github.com/YishenTu/claudian GitHub - YishenTu/claudian: An Obsidian plugin that embeds Claude Code as an …”Bluesky · Mar 19, 2026 · 4 likes
- @yug1224.com“Claude CodeをObsidian内に組み込むプラグインらしい AIをボルトの共同作業者としてフル活用できそうで気になる yug1224 starred YishenTu/claudian …”Bluesky · Mar 19, 2026 · 3 likes
- @github-trending-js.bsky.social“📦 YishenTu / claudian ⭐ 13,968 (+89) 🗒 TypeScript An Obsidian plugin that embeds Claude Code/Codex as an …”Bluesky · Jul 13, 2026 · 2 likes
- @github-trending.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 YishenTu / claudian ⭐ 6,524 (+174) 🗒 TypeScript An Obsidian plugin …”Bluesky · Apr 9, 2026 · 2 likes
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 YishenTu / claudian ⭐ 3,936 (+109) 🗒 TypeScript An Obsidian plugin …”Bluesky · Mar 16, 2026 · 2 likes
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub and Bluesky (26 times).
On GitHub · 16
- May 16, 2026feat(agent): InlinePlanApprovalCard + ApprovalPort (PR-ASV-2-plan-mode) — Luis85/specorator1 reaction
- Mar 3, 2026Redesigning software interaction — RAIT-09/obsidian-agent-client1 reaction
- Oct 4, 2026chore(upstream): 最新 Claudian (upstream 2.3.12) に追従する — oppapili/kirodian0 reactions
- Sep 14, 2026fix: handle Codex MCP elicitation requests — lee259/oh-my-claudian0 reactions
- Sep 14, 2026feat: add Claude prompt suggestions — lee259/oh-my-claudian0 reactions
11 more on GitHub
- Aug 24, 2026fix: harden Codex output and organize settings — lee259/oh-my-claudian0 reactions
- Aug 19, 2026feat: render Mermaid diagrams in chat — lee259/oh-my-claudian0 reactions
- Aug 19, 2026fix: preserve Claude rate-limit reset time — lee259/oh-my-claudian0 reactions
- Jul 26, 2026init: fix claude subprocess calls crashing on npm-installed Windows Claude Code — gordon-tavant-lab/sales-agent0 reactions
- Jul 19, 2026[Skills Review Weekly] 2026-07-20 — nozomiishii/dotfiles0 reactions
- Jul 12, 2026embed claudian + claude-obsidian references into obsidian-mcp datum — elasticdotventures/_b00t_0 reactions · 1 comment
- Jun 17, 2026Audit candidate: YishenTu/claudian — xiaolai/nlpm0 reactions · 4 comments
- May 16, 2026Agent Sidepanel v2 — tracking issue (PRs #369–#381 + follow-ups #382 / #383 / #384) — Luis85/specorator0 reactions · 1 comment
- Apr 19, 2026obsidian+codex 安装原理 — yanglei-985/yanglei-988.github.io0 reactions
- Apr 19, 2026obsidian配置指南 — yanglei-985/yanglei-988.github.io0 reactions
- Jan 23, 2026MLX support — Fast-Editor/Lynkr0 reactions · 6 comments
On Bluesky · 10
- Mar 19, 2026github.com/YishenTu/claudian GitHub - YishenTu/claudian: An Obsidian plugin that embeds Claude Code as an AI collaborator in ... — @technews4869.bsky.social4 likes and reposts
- Mar 19, 2026Claude CodeをObsidian内に組み込むプラグインらしい AIをボルトの共同作業者としてフル活用できそうで気になる yug1224 starred YishenTu/claudian https://github.com/YishenTu/claudian — @yug1224.com3 likes and reposts
- Jul 13, 2026📦 YishenTu / claudian ⭐ 13,968 (+89) 🗒 TypeScript An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault — @github-trending-js.bsky.social2 likes and reposts
- Apr 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 YishenTu / claudian ⭐ 6,524 (+174) 🗒 TypeScript An Obsidian plugin that embeds Claude Code as an AI… — @github-trending.bsky.social2 likes and reposts
- Mar 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 YishenTu / claudian ⭐ 3,936 (+109) 🗒 TypeScript An Obsidian plugin that embeds Claude Code as an AI… — @github-trending-js.bsky.social2 likes and reposts
5 more on Bluesky
- Mar 17, 2026YishenTu/claudian An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault Claudian An Obsidian plugin that embeds… — @deepseek.activitypub.awakari.com.ap.brid.gy1 likes and repost
- Mar 16, 2026https://github.com/YishenTu/claudian bmann (/bmann) starred YishenTu/claudian (/YishenTu/claudian) · March 16, 2026 07:26 YishenTu/claudian… — @bmannconsulting.com1 likes and repost
- Mar 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 YishenTu / claudian ⭐ 3,936 (+109) 🗒 TypeScript An Obsidian plugin that embeds Claude Code as an AI… — @github-trending.bsky.social1 likes and repost
- Mar 1, 2026📦 YishenTu / claudian ⭐ 2,991 (+54) 🗒 TypeScript An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Feb 15, 2026📦 YishenTu / claudian ⭐ 2,370 (+36) 🗒 TypeScript An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault — @github-trending-js.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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Use package test commands: npm run test:unit -- --runTestsByPath <path> runs either a unit or integration Jest file with the required Node …
- Distinctive: line 6
Prefer focused integration tests for behavior spanning multiple components.
- Distinctive: line 7
When branches, callers, ownership, or dependencies change, revisit the affected coverage.
- Distinctive: line 13
Do not add production facades solely for testing, or APIs or state solely to expose implementation details to tests.
≈ “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
Test constraints
- Use package test commands:
npm run test:unit -- --runTestsByPath <path>runs either a unit or integration Jest file with the required Node local-storage option.npm run testalso runs script/architecture/config checks; targeted Jest does not. - Before adding a test, inspect coverage of the behavior across unit and integration suites, not just the changed module's test file. Identify the observable contract and a plausible regression existing coverage misses. If an existing test catches it, use that test for before/after verification without adding a case. Otherwise extend the case or table that owns the contract; additional test layers need a distinct failure mode.
- Choose the test boundary from the intended behavior and plausible failure, rather than the function or file being changed. Exercise the real components needed to establish that behavior, and assert the observable result at the relevant boundary. Isolated tests of individual steps do not establish that those steps work together.
- Prefer focused integration tests for behavior spanning multiple components. Use unit tests for self-contained contracts and detailed edge cases; use broader or real-environment tests when the relevant failure cannot be reproduced within the integration boundary.
- When branches, callers, ownership, or dependencies change, revisit the affected coverage. Consolidate redundant proof and remove support made obsolete by the change; keep this maintenance within the affected area.
- Tests must exercise the behavior they claim; mocks must not supply the transformation, persistence, admission, or ordering being asserted. Do not assert state or DOM relationships established entirely by fixture construction or mock callbacks. Integration tests keep interacting owned modules real; use narrow public ports only for environment, Obsidian, provider, or other dependencies outside the behavior under test.
- Assertions must distinguish correct behavior from the relevant fault, with independently grounded expected results. Negative fixtures must reach the intended guard; asynchronous assertions must observe the lifecycle point where the failure could become visible. For UI absence checks, establish that the relevant surface rendered and the query still addresses the current control or state. If a stale query could pass unnoticed, verify it detects an injected forbidden control or state.
- Optional method presence, copied option arrays, private markup and call sequences are not contracts by themselves. Assert the behavior through real consumers when they already cover the same contract; retain direct checks when they protect a distinct compatibility, protocol, lifecycle or performance requirement.
- Before removing or consolidating coverage, identify retained proof for each meaningful assertion or establish that the behavior is retired. Carry missing assertions into the keeper first. Passing tests alone do not establish equivalent coverage; use a targeted fault check when equivalence is uncertain. Absence of repository-local callers is insufficient to retire an externally reachable plugin or compatibility contract.
- Preserve coverage for distinct protocol, platform, security, lifecycle, persistence, and compatibility failures. Consolidation must retain assertions that distinguish those failures. Small tests and static checks are not deletion candidates merely because of their form.
- Do not add production facades solely for testing, or APIs or state solely to expose implementation details to tests.
- Express fixture timestamps with
@test/helpers/testClock, which captures a current-time baseline for each test module environment. Derive related creation, expiry, and assertion dates from that timeline; share one injected clock across interacting services and advance it explicitly for expiry tests. Do not add fixed calendar anchors. CI also runs selected Jest tests about three years ahead under libfaketime. - Shared provider changes need neutral-contract coverage and distinct native adapter cases.
- DOM interaction and accessibility regressions need real-DOM tests with Testing Library role/name queries and targeted
jest-axechecks. Isolated controller logic may use unit tests without a DOM;MockElementclass/tag assertions do not establish accessibility or keyboard behavior. - CSS assertions need a functional, compatibility or explicit design requirement; copying current spacing, color or selector literals is not sufficient. jsdom computed styles can check declarations and state changes, but do not prove rendered geometry or contrast. Use rendered measurements or a repeatable host reproduction for those claims, while retaining narrow host-compatibility and functional-state checks.
- Real-process tests run on macOS/Windows only when listed in
crossPlatformTestsinscripts/testSuites.cjs; the Windows Pi launch test has its own CI step. Linux results do not prove process or launch behavior. - Tests that read source files through
fs(CSS, locales, captured fixtures) are invisible to Jest's graph; register them infileConsumersinscripts/ciTestSelection.mjs(suites undertests/unit/style/are listed automatically) or CI andtest:affectedskip them.
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.

