youwee
AGENTS.md1.5k starsChanged 2 months agoMITView on GitHub
This file is read automatically at the start of every session. Follow these rules strictly. When bumping the version, you MUST do ALL of the following: In each changelog: - Change ## [Unreleased] heading to ## [X.Y.Z] - YYYY-MM-DD - Add a new empty ## [Unreleased] section above it - Add entries for any new features/fixes done since the last release NEVER bump version without updating changelogs. This is non-negotiable. The repo has a .git/hooks/pre-commit that runs 3 checks automatically:…
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about vanloctech/youwee
- @wickedinterest.ing“Great open-source app for downloading videos off of lots of websites incl. youtube, facebook, twitter, etc: …”Bluesky · Jul 29, 2026 · 3 likes
- AppImage/appimage.github.io“Add Youwee”GitHub · Sep 30, 2026
- kem-a/AppManager“AppManager cannot import Tauri-created AppImages.”GitHub · Jul 8, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
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.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 0 are common, 9 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
10
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
- Very specific: line 10
Runtime: Use bun (not npm/npx)
- Distinctive: line 21
When bumping the version, you MUST do ALL of the following:
- Distinctive: line 23
Update version in 3 files:
- Very specific: line 35
Add a new empty ## [Unreleased] section above it
- Distinctive: line 36
Add entries for any new features/fixes done since the last release
- Very specific: line 46
Always run all 3 checks before committing: Biome → tsc -b → cargo check
- Very specific: line 47
Commit message style: type: short description (e.g.
- Distinctive: line 51
When creating a work branch, start from the latest main unless the user explicitly requests another base branch.
- Distinctive: line 53
Do not merge directly into main.
- Very specific: line 54
If editing contributing docs, keep CONTRIBUTING.md, docs/CONTRIBUTING.vi.md, and docs/CONTRIBUTING.zh-CN.md aligned.
- Distinctive: line 63
All must pass before a commit succeeds.
- Distinctive: line 78
When adding new UI text, add keys to every existing locale directory, not only the 3 primary locales
- Distinctive: line 79
Before finishing i18n work, compare the touched namespace across all locale directories and ensure no locale is missing the new keys
- Very specific: line 84
When changing SDK TypeScript source, run bun run build:sdk
- Very specific: line 85
When adding or changing public SDK APIs, update sdk-js/README.md and add an Unreleased entry in sdk-js/CHANGELOG.md
- Very specific: line 86
Do not bump sdk-js/package.json version unless the user explicitly asks for an SDK release/version bump
- Very specific: line 87
Keep SDK TypeScript strict and avoid any in public API types unless there is a clear compatibility reason
- Very specific: line 92
When changing extension behavior, run bun run ext:build
- Distinctive: line 93
Keep extension user-facing text and icons consistent with the app's current UI language and visual style
≈ “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 — Project Rules for AI Assistants
This file is read automatically at the start of every session. Follow these rules strictly.
Project Info
- App name: Youwee
- Repo:
github.com/vanloctech/youwee - Stack: Tauri 2.0 (Rust backend) + React 19 + TypeScript + Tailwind CSS
- Runtime: Use
bun(not npm/npx) - Linting:
bun run biome check --write . - Rust check:
cargo check(run insrc-tauri/) - TypeScript check:
bun run tsc -b - Default branch:
main - Language: User communicates in Vietnamese
Mandatory Checklists
Version Bump Checklist
When bumping the version, you MUST do ALL of the following:
- Update version in 3 files:
package.json→"version"src-tauri/Cargo.toml→versionsrc-tauri/tauri.conf.json→"version"
Update 3 changelog files:
CHANGELOG.md(English, root)docs/CHANGELOG.vi.md(Vietnamese)docs/CHANGELOG.zh-CN.md(Chinese Simplified)
In each changelog:
- Change
## [Unreleased]heading to## [X.Y.Z] - YYYY-MM-DD - Add a new empty
## [Unreleased]section above it - Add entries for any new features/fixes done since the last release
NEVER bump version without updating changelogs. This is non-negotiable.
Cargo.lockwill auto-update — no manual edit needed.
Commit Rules
- NEVER commit unless the user explicitly asks (e.g. "commit nha", "commit di")
- NEVER push unless the user explicitly asks
- Always run all 3 checks before committing: Biome →
tsc -b→ cargo check - Commit message style:
type: short description(e.g.feat:,fix:,chore:,docs:)
Branch and PR Rules
- When creating a work branch, start from the latest
mainunless the user explicitly requests another base branch. - Pull Requests should target
mainby default. - Do not merge directly into
main; use a Pull Request workflow. - If editing contributing docs, keep
CONTRIBUTING.md,docs/CONTRIBUTING.vi.md, anddocs/CONTRIBUTING.zh-CN.mdaligned.
Pre-commit Hook
The repo has a .git/hooks/pre-commit that runs 3 checks automatically:
- Biome lint
- TypeScript type check (
tsc --noEmit) - Cargo check
All must pass before a commit succeeds.
Changelog Conventions
- Format: Keep a Changelog
- Sections:
### Added,### Fixed,### Changed,### Removed - Each entry starts with
- **Feature name** - Description - Vietnamese changelog uses:
### Thêm mới,### Sửa lỗi,### Thay đổi,### Xóa bỏ - Chinese changelog uses:
### 新增,### 修复,### 变更,### 移除
i18n
- Namespaces:
common,settings,pages,channels,download,universal,gallery,metadata,subtitles, plus any future feature-specific namespaces already present insrc/i18n/locales/{lang}/ - Primary locales:
en,vi,zh-CN - Supported locale directories currently live in
src/i18n/locales/{lang}/ - When adding new UI text, add keys to every existing locale directory, not only the 3 primary locales
- Before finishing i18n work, compare the touched namespace across all locale directories and ensure no locale is missing the new keys
SDK Rules
- SDK source lives in
sdk-js/src/; generated build output lives insdk-js/dist/ - When changing SDK TypeScript source, run
bun run build:sdk - When adding or changing public SDK APIs, update
sdk-js/README.mdand add anUnreleasedentry insdk-js/CHANGELOG.md - Do not bump
sdk-js/package.jsonversion unless the user explicitly asks for an SDK release/version bump - Keep SDK TypeScript strict and avoid
anyin public API types unless there is a clear compatibility reason
Browser Extension Rules
- Extension source lives in
extensions/youwee-webext/ - When changing extension behavior, run
bun run ext:build - Keep extension user-facing text and icons consistent with the app's current UI language and visual style
- Browser extension deep links must preserve the URL payload when opening the desktop app from a closed state
UI Design Patterns
- Info badges (read-only):
rounded, no border, solid background (e.g.bg-blue-500/10 text-blue-600) - Action buttons:
rounded-md,border border-dashed, hover effects - Time range: amber color scheme (
bg-amber-500/10 text-amber-600 dark:text-amber-400), Scissors icon - AI/Summary: purple color scheme (
bg-purple-500/10 text-purple-500), Sparkles icon
Architecture Patterns
- Per-item settings are snapshotted at add-time from global settings, stored as
item.settings - App data is stored in SQLite (
youwee.db), initialized insrc-tauri/src/database/connection.rs logs.dbis the legacy database filename; keep automatic migration toyouwee.dband preserve the legacy file as a backup- DB migrations use
ALTER TABLE ... ADD COLUMNwith.ok()to ignore "already exists" errors - FFmpeg is bundled (not system) on macOS — rebuilt with
--enable-securetransportfor TLS support download_sectionsformat:"*MM:SS-MM:SS"(with*prefix for yt-dlp). Strip*before storing in history.- Library/history is the source for downloaded-video duplicate detection; do not add a separate duplicate-history table unless explicitly requested.
- History should remain persistent until the user deletes/clears Library entries; do not reintroduce a fixed max-history limit.
- yt-dlp advanced options must remain structured and allowlisted; do not add raw command-line argument text boxes without explicit approval.
- Validate yt-dlp advanced options on both frontend and backend, and keep app-managed options such as cookies, output paths, retries, and site-specific headers authoritative.
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.

