agentleFS
ngxcccngxccc/engineered-skills/skills/engineering/setup-skills/SKILL.md

setup-skills

Skill0 starsChanged 39 days agoMITView on GitHub

Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, domain doc layout, and interactive 7-pillar Engineering Standards (docs/standards/). Run once before first use of the other engineering skills.

13 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Look at the current repo to understand its starting state.

    line 21
  2. Distinctive:

    Default posture: if git remote points at GitHub, propose GitHub.

    line 40
  3. Very specific:

    Ask: "Do you want to keep the default triage labels (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix)?

    line 51
  4. Very specific:

    Section C — Domain docs: Default to single-context — one GLOSSARY.md + docs/adr/ at the repo root.

    line 54
  5. Very specific:

    Update the ## Engineering Standards block in-place using sharp context pointers:

    line 78
  6. Very specific:

    If single-context and GLOSSARY.md does not exist, scaffold starter GLOSSARY.md at root with # Glossary header and domain purpose.

    line 108

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup Engineered Skills's Skills

Scaffold the per-repo configuration that the engineering skills assume:

  • Issue tracker & triage — where issues live and their triage label vocabulary
  • Domain docs — where GLOSSARY.md and ADRs live, and consumer rules for reading them
  • Engineering standards — interactive 7-pillar SSOT under docs/standards/ (Comments, API, Database, Concurrency, Testing, Security, Git Flow)

This is a prompt-driven skill, not a deterministic script. Explore, present what you found, confirm with the user, then write.

Process

1. Explore

Look at the current repo to understand its starting state. Read whatever exists; don't assume:

  • git remote -v and .git/config — is this a GitHub repo? Which one?
  • AGENTS.md and CLAUDE.md at the repo root — does either exist?
  • GLOSSARY.md and GLOSSARY-MAP.md at the repo root
  • docs/adr/ and any src/*/docs/adr/ directories
  • docs/standards/ — does this skill's prior output already exist?
  • .scratch/ — sign that a local-markdown issue tracker convention is already in use
  • Is the triage skill installed? (a triage skill folder alongside this one, or triage in your available skills.)
  • Monorepo signals — pnpm-workspace.yaml, workspaces in package.json, or populated packages/*.

2. Present findings and ask

Summarise what's present and what's missing. Then take the sections in order — one section, one answer, then the next.

Lead each section with the recommended answer so the user can accept it in a word.

Section A — Issue tracker.

Default posture: if git remote points at GitHub, propose GitHub. If GitLab, propose GitLab. Otherwise:

  • GitHub — issues live in repo's GitHub Issues (uses gh CLI). If .github/ISSUE_TEMPLATE/ is absent, scaffold standardized issue forms (task.yml, sub_issue.yml, bug_report.yml, feature_request.yml, config.yml) from references/issue-templates/.
  • GitLab — issues live in repo's GitLab Issues (uses glab CLI)
  • Local markdown — issues live as files under .scratch/<feature>/
  • Other (Jira, Linear, etc.) — record freeform prose description

Record the choice in docs/standards/issue-tracker.md.

Section B — Triage label vocabulary. Skip if triage skill is not installed.

Ask: "Do you want to keep the default triage labels (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix)? (recommended: yes)"

Record the vocabulary directly in docs/standards/issue-tracker.md under ## Triage Label Vocabulary (single source of truth). Do not generate a separate triage-labels.md. Section C — Domain docs. Default to single-context — one GLOSSARY.md + docs/adr/ at the repo root. Offer multi-context only for monorepos (with GLOSSARY-MAP.md). Record rules in docs/standards/domain-docs.md. Scaffold starter GLOSSARY.md if not present.

Section D — Engineering Standards (docs/standards/).

Interview the user with terse single-line prompts for each pillar. Default: recommended.

  1. Code comment taxonomy — English-only, 4-tier (TSDoc, // WHY:, // TODO(context):, ban echoing/dead code)? (recommended: yes)
  2. API & error handling — RESTful routes, RFC 9457, envelope, Idempotency-Key? (recommended: yes)
  3. Database & migrations — snake_case, selective projections, zero-downtime expand/contract? (recommended: yes)
  4. Concurrency & locking — GiST exclusion, SELECT FOR UPDATE, Redlock, deadlock ordering? (recommended: yes)
  5. Testing & fixtures — 3-tier hierarchy, factories & mothers, SUT isolation, OpenAPI types? (recommended: yes)
  6. Security & cryptography — scrypt, timing-safe compare, single-use tokens, anti-enumeration? (recommended: yes)
  7. Git flow & PRs — branch prefixes, conventional commits (≤72), 3-tier PR matrix, human audit? (recommended: yes)

On approval, scaffold docs/standards/*.md using the corresponding high-density seed templates in references/standards/.

3. Confirm and edit

Show the user a draft of the ## Engineering Standards block to add to AGENTS.md / CLAUDE.md and the contents of docs/standards/*.md. Let them edit before writing.

4. Write

Pick the file to edit: AGENTS.md (or CLAUDE.md if existing).

Update the ## Engineering Standards block in-place using sharp context pointers:

## Engineering Standards

MUST read the corresponding standard file under `docs/standards/` before modifying related code or tests:

- **Issue tracking & tickets** → `docs/standards/issue-tracker.md`
- **Domain glossary & ADRs** → `docs/standards/domain-docs.md`
- **Comments & docstrings** → `docs/standards/code-comment-taxonomy.md`
- **Routes, DTOs, and error responses** → `docs/standards/api-design-and-error-handling.md`
- **Schemas, queries, and migrations** → `docs/standards/database-and-migrations.md`
- **Locks, race conditions, and transactions** → `docs/standards/concurrency-and-locking.md`
- **Tests, factories, and fixtures** → `docs/standards/testing-and-fixtures.md`
- **Auth, hashing, and sanitization** → `docs/standards/security-and-cryptography.md`
- **Branches, commits, and PRs** → `docs/standards/git-flow-and-pr-matrix.md`

Scaffold all standard files into docs/standards/ using the seed templates in references/:

  • references/issue-trackers.md → docs/standards/issue-tracker.md
  • references/domain.md → docs/standards/domain-docs.md
  • references/standards/code-comment-taxonomy.md → docs/standards/code-comment-taxonomy.md
  • references/standards/api-design-and-error-handling.md → docs/standards/api-design-and-error-handling.md
  • references/standards/database-and-migrations.md → docs/standards/database-and-migrations.md
  • references/standards/concurrency-and-locking.md → docs/standards/concurrency-and-locking.md
  • references/standards/testing-and-fixtures.md → docs/standards/testing-and-fixtures.md
  • references/standards/security-and-cryptography.md → docs/standards/security-and-cryptography.md
  • references/standards/git-flow-and-pr-matrix.md → docs/standards/git-flow-and-pr-matrix.md
  • references/issue-templates/ → .github/ISSUE_TEMPLATE/ (if GitHub tracker and missing)
  • If single-context and GLOSSARY.md does not exist, scaffold starter GLOSSARY.md at root with # Glossary header and domain purpose.

Format requirement: high density — decision tables, code snippets, sharp context pointers. No narrative fluff, no redundant parentheses, zero tutorial prose.

5. Done

Tell the user the setup is complete. Mention they can edit docs/standards/*.md directly later — re-running this skill is only necessary if they want to reconfigure trackers or restart from scratch.

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.