AI agents: this is the manifest. It describes how Gokhan (
gkurt) sets up a repository and where each preference lives. To "imprint" a repo means: apply these preferences to it, adapting to the project's language and archetype.
If you were invoked via the imprint skill, you already resolved this file from
an imprint source — a local directory or a <username>/imprint repo (public or
private). Read the paths below relative to that source, not the repo you're
imprinting. Follow the procedure below.
Work top to bottom. Adapt, don't clobber: detect what the target repo already is (language, existing configs, monorepo or not), copy the relevant templates, and merge rather than blindly overwrite. If a file already exists and differs meaningfully, show the diff and ask before replacing.
-
Read
stack/README.mdfirst. It's the philosophy — the runtime, language, and library defaults everything else assumes (Bun + TypeScript + Biome + ESM). Decide the project archetype before copying files. -
Config files —
config/. Copy into the repo root:Source Destination config/tsconfig.jsontsconfig.jsonconfig/biome.jsoncbiome.jsoncconfig/bunfig.tomlbunfig.tomlconfig/editorconfig.editorconfigconfig/gitignore.gitignoreconfig/package.template.jsonpackage.json(fill placeholders; merge into an existing one)config/husky-pre-commit.husky/pre-commit(thenbunx husky init/ setchmod +x)The dotless names (
editorconfig,gitignore,husky-pre-commit) are stored that way so they don't take effect inside this repo — rename on copy. -
IDE settings —
ide/. Copyextensions.jsonandsettings.jsoninto.vscode/. Seeide/README.mdfor per-language add-ons. -
Agent instructions —
agents/. CopyAGENTS.base.md→AGENTS.mdand fill in the project-specific sections; copyCLAUDE.mdverbatim. -
CI & release —
ci/. Copy the workflows into.github/workflows/. Seeci/README.md. Useci.ymlalways; add the Tegamirelease.yml+ PR-preview pair for publishable packages, plusci/tegami.mts→scripts/tegami.mts(fill in the repo slug and the primary package name). -
GitHub repo settings —
github/settings.md. Apply branch protection, merge settings, and publishing config (ideally withgh). -
Finish: install deps (
bun i), runbun run checks, and fix anything the linter/formatter flags. Report what you changed and what still needs the user's hand (npm trusted-publishing setup, branch protection that needs the UI).
| Folder | Contains |
|---|---|
stack/ |
Runtime/language/library preferences + per-archetype setup notes. Read first. |
config/ |
Drop-in config files: tsconfig, Biome, bunfig, editorconfig, gitignore, package.json template, husky hook. |
ide/ |
.vscode extensions + settings. |
agents/ |
AGENTS.md base + CLAUDE.md pointer. |
ci/ |
GitHub Actions: CI + Tegami release/PR-preview workflows, and the scripts/tegami.mts config. |
github/ |
GitHub repo settings checklist. |
skills/imprint/ |
The installable imprint skill that drives this. |
- One tool per job: Biome (not ESLint + Prettier), Bun (not Node + npm + a bundler for scripts).
- Run source in dev, ship built code: the
<pkg>@devexport condition. - Modern but strict: TypeScript 7 (native
tsc), ESM-only,strict+noUncheckedIndexedAccess. AGENTS.mdis canonical; every other assistant file points at it.- Consistency across repos: same script names, same formatter values, same CI shape.