agentleFS
UfoMiaoUfoMiao/zcf/AGENTS.md

zcf

AGENTS.md6.1k starsChanged 15 months agoMITView on GitHub

Trending

More talk lately.about the whole repository

Dec 2025: 3 mentionsJan 2026: 3 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the UfoMiao/zcf repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about UfoMiao/zcf

The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 15

Talked about on GitHub (15 times).

On GitHub · 15

10 more on GitHub

The file

We found no rules to list in this file: it reads as prose or reference rather than instructions.

Files
AGENTS.md

Repository Guidelines

Project Structure & Module Organization

Source code lives in src/, with the CLI entry point in src/cli.ts and features split into commands/, config/, utils/, and types/. Shared assets (banners, locale files, templates) are under src/assets/, src/i18n/, and top-level templates/. Generated bundles reside in dist/; avoid editing them directly. Tests mirror the runtime tree inside tests/ (unit/, integration/, and helper fixtures), and documentation resides in docs/ plus localized READMEs.

Build, Test, and Development Commands

  • pnpm install — sync dependencies defined by the workspace catalogs.
  • pnpm dev — run the CLI in watch mode via tsx for rapid iteration.
  • pnpm build — produce the distributable with unbuild.
  • pnpm typecheck — validate TypeScript types without emitting files.
  • pnpm lint / pnpm lint:fix — run ESLint with the shared @antfu config.
  • pnpm test / pnpm test:run — execute Vitest suites; add :coverage for V8 coverage reports.

Coding Style & Naming Conventions

Stick to TypeScript ESM modules with 2-space indentation and single quotes, matching the existing files. Use camelCase for functions and variables, PascalCase for types and classes, and kebab-case for new filenames in CLI modules. Prefer named exports from feature modules and keep side effects in entry points only. ESLint (via eslint.config.ts) and lint-staged enforce formatting—run them locally before pushing.

Testing Guidelines

Vitest powers both unit and integration coverage. Place fast, isolated checks in tests/unit/*.test.ts and cross-module flows in tests/integration/. Reuse helpers from tests/helpers/ and fixtures in tests/fixtures/ to reduce duplication. When adding tests, assert CLI behavior via snapshot-safe strings and ensure pnpm test:coverage stays above existing thresholds (current reports live in coverage/).

Commit & Pull Request Guidelines

Commits follow Conventional Commits (feat:, fix:, etc.) with ≤100-character subject lines; scopes are optional but descriptive scopes (for example feat(config): ...) help reviewers. Start bodies with a blank line when explaining rationale. For pull requests, include a succinct summary, reproduction or validation steps (e.g., pnpm test output), any screenshots of CLI prompts when UX changes, and link related issues or changesets. Ensure the branch passes lint, typecheck, and tests before requesting review.

Localization & Template Notes

Whenever work touches src/i18n/ or templates/, update parallel resources in docs/ and localized READMEs to keep instructions aligned. Provide English defaults first, then synchronize translated strings through the existing namespace files to avoid breaking the setup wizard.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.