portfolio-conventions
Skill2 starsChanged 3 months agoMITView on GitHub
Portfolio three-layer data system (inventory, README pitch frontmatter, editorial.ts) and coherence rules. Load before changing how any project is described, listed, ordered or given a hub tile.
- Reads credentials
In this repository9 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- ci-and-branch-protectionSkill
- claude-md-hygieneSkill
- design-tellsSkill
- memory-and-plansSkill
- python-uvSkill
- scheduled-jobsSkill
- testing-conventionsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 20
All repos use kebab-case matching the folder name in ~/Dev.
- Distinctive: line 21
No unintentional naming patterns (an "-or" suffix once read as an agent-noun and forced a rename).
- Distinctive: line 28
No per-repo manifest file.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
Portfolio Conventions
These are the active portfolio-wide rules.
Identity
- Each app has its own visual identity, name, and universe. No shared design system.
- Coherence comes from: author signature, quality standards, portfolio site, and the three-layer data system below.
- Portfolio site: {portfolio-site-url} — built from the three layers (see "Portfolio Manifest System" below), not from a hand-maintained JSON export.
- GitHub username: {github-username}. Dev directory: ~/Dev.
Naming
- All repos use kebab-case matching the folder name in ~/Dev.
- No unintentional naming patterns (an "-or" suffix once read as an agent-noun and forced a rename).
- New projects that get a hub tile are appended to
editorial.ts(see below) — there is no numeric sort field to default.
Documentation
- README: description, stack, local dev, deployment, plus the Layer 2 frontmatter block (below). Created at project init, never boilerplate.
- CLAUDE.md: project-specific only, never duplicates global rules. Written in English.
- No per-repo manifest file. Project metadata lives in the three layers below (decision M12).
Portfolio Manifest System (three layers, decision M12)
Layer 1 — Derived inventory. Nothing hand-typed.
~/Dev/{portfolio-site}/scripts/build-inventory.mjs, run from prebuild, writes ~/Dev/{portfolio-site}/src/data/inventory.json. Per repo it observes, via the GitHub API and the repo's own file tree — never declared by a human:
| field | source |
visibility, archived, description, homepage, license, pushed_at, stars | GET /repos/{github-username}/<repo> |
stack | presence of package.json / pyproject.toml / Cargo.toml / requirements.txt in the root tree |
deploy | presence of vercel.json / netlify.toml / wrangler.toml |
pitch | Layer 2 frontmatter parsed out of the repo's README.md |
Plus URL liveness for every liveUrl declared in Layer 3. On any network/auth failure the build falls back to the committed inventory.json snapshot rather than failing — the snapshot is a cache, not a source of truth.
Layer 2 — The pitch. Lives in each repo's README.md frontmatter.
---
name: My Bias App
tagline_fr: "Parce que votre cerveau vous ment, et qu'il vaut mieux le savoir."
tagline_en: "Because your brain lies to you, and it's better to know."
facts_fr: "51 biais, 510 stratégies de prévention, 131 références vérifiées via Crossref."
facts_en: "51 biases, 510 prevention strategies, 131 references checked against Crossref."
---name,tagline_fr,tagline_enare required for any repoeditorial.tstiles.facts_*are required there too — every tile carries a facts line.- For repos the hub does not render, a single
taglinein whichever language it was written is enough; skip translating a tagline nobody will render. - Taglines and descriptions are creative content — never auto-generated, never batch-translated without review.
nameis the deliberately chosen display name (source of truth: the README frontmatter — never overwrite it with a different README heading/title).
Layer 3 — Editorial. One file in the hub.
~/Dev/{portfolio-site}/src/data/editorial.ts decides which projects get a hub tile and in what order. Presentation only — array order IS the canonical order, no numeric sort field. Each entry names a repo (drawing Layer 1 + Layer 2 from it) or repo: null for a tile with no repo of its own (e.g. a hub tool page over another project's engine), plus accent, liveUrl, and optional story/date fields. See the file itself for the current interface.
Visibility Tiers
- Fully public + promoted (LinkedIn, newsletter)
- Public but not actively promoted
- Private (portfolio description only, no access link)
Infrastructure
- Databases: Neon PostgreSQL (per-project isolation), Cloudflare D1 (lightweight)
- Domain: example.com as root, subdomains for family apps, dedicated domains for main apps
Quality Standards
- Tests alongside implementation. No console.log in production.
- .gitignore covers: build artifacts, node_modules, .env*, OS files, backups.
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.

