From 1eb15f61df17703256ca0741de39affa5b4af9d3 Mon Sep 17 00:00:00 2001 From: Daniel Kindl Date: Wed, 25 Nov 2026 21:41:10 +0100 Subject: [PATCH 1/5] docs: add brand assets and README badges --- CHANGELOG.md | 5 ++ README.md | 16 ++++ assets/brand/README.md | 116 ++++++++++++++++++++++++++ assets/brand/banner.svg | 6 ++ assets/brand/favicon.svg | 5 ++ assets/brand/header-dark.svg | 6 ++ assets/brand/header-light.svg | 6 ++ assets/brand/icon-sheet.svg | 6 ++ assets/brand/icons/architecture.svg | 5 ++ assets/brand/icons/code.svg | 5 ++ assets/brand/icons/learning.svg | 5 ++ assets/brand/icons/review.svg | 5 ++ assets/brand/icons/rules.svg | 5 ++ assets/brand/icons/skills.svg | 5 ++ assets/brand/icons/tests.svg | 5 ++ assets/brand/icons/workflow.svg | 5 ++ assets/brand/licenses/Manrope-OFL.txt | 93 +++++++++++++++++++++ assets/brand/logo-dark.svg | 6 ++ assets/brand/logo-light.svg | 6 ++ assets/brand/logo-mono.svg | 6 ++ assets/brand/mark-chalk.svg | 5 ++ assets/brand/mark-graphite.svg | 5 ++ assets/brand/mark.svg | 5 ++ 23 files changed, 332 insertions(+) create mode 100644 assets/brand/README.md create mode 100644 assets/brand/banner.svg create mode 100644 assets/brand/favicon.svg create mode 100644 assets/brand/header-dark.svg create mode 100644 assets/brand/header-light.svg create mode 100644 assets/brand/icon-sheet.svg create mode 100644 assets/brand/icons/architecture.svg create mode 100644 assets/brand/icons/code.svg create mode 100644 assets/brand/icons/learning.svg create mode 100644 assets/brand/icons/review.svg create mode 100644 assets/brand/icons/rules.svg create mode 100644 assets/brand/icons/skills.svg create mode 100644 assets/brand/icons/tests.svg create mode 100644 assets/brand/icons/workflow.svg create mode 100644 assets/brand/licenses/Manrope-OFL.txt create mode 100644 assets/brand/logo-dark.svg create mode 100644 assets/brand/logo-light.svg create mode 100644 assets/brand/logo-mono.svg create mode 100644 assets/brand/mark-chalk.svg create mode 100644 assets/brand/mark-graphite.svg create mode 100644 assets/brand/mark.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 13382ce..0df6eae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ change that a consumer must act on has a "Consumer action:" line. ## [Unreleased] +### Added + +- SVG logos, section icons, a favicon, banners, and a brand asset guide (#381). +- Light and dark README headers, plus Shields.io badges for the latest release, license, and checks on main (#381). + ## [1.7.0] - 2026-11-25 ### Changed diff --git a/README.md b/README.md index ab6249a..844e592 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ Rules and skills for AI coding agents, in one place. + + + dkstack: rules and skills for AI coding agents. + + +[![Latest release](https://img.shields.io/github/v/release/daniel-kindl/dkstack?style=flat-square&logo=github&logoColor=c7f36b&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/releases/latest) +[![License](https://img.shields.io/github/license/daniel-kindl/dkstack?style=flat-square&labelColor=111814&color=111814)](LICENSE) +[![Checks on main](https://img.shields.io/github/actions/workflow/status/daniel-kindl/dkstack/validate.yml?branch=main&event=push&style=flat-square&label=checks&labelColor=111814)](https://github.com/daniel-kindl/dkstack/actions/workflows/validate.yml?query=branch%3Amain) + +[Start](#start) · [Skills](skills/index.md) · [Brand assets](assets/brand/README.md) · [Contributing](CONTRIBUTING.md) + dkstack has rules, skills and check scripts for architecture, code, tests, UI, commits, versions, writing and the review workflow. It is guidance only: your agents read the pages and run the skills. It runs no service, and it changes nothing in your project by itself. It is for any team @@ -133,6 +144,11 @@ script checks the verdict, the head SHA and each finding. - [ADR 0001](docs/adr/0001-how-consumers-follow-versions.md): How consumers follow versions. The ADRs are in `docs/adr/`. +## Visual identity + +Browse the [logos, icons, and banners](assets/brand/README.md). +The asset guide lists colors, fonts, and usage instructions. + ## Changes Do not change this repository from another project. To propose a change, open an issue. The owner diff --git a/assets/brand/README.md b/assets/brand/README.md new file mode 100644 index 0000000..80d6d50 --- /dev/null +++ b/assets/brand/README.md @@ -0,0 +1,116 @@ +# Brand assets + +The dkstack identity combines a three-part K with the name dkstack in lowercase letters. +The name beside the K is the wordmark. +The parts represent skills that work alone or together. + + + + dkstack: rules and skills for AI coding agents. + + +## Logos and marks + +Logos and standalone marks have transparent backgrounds. +The SVG files contain editable paths. They need no font download, script, or external image. + +| Asset | Use | +| --- | --- | +| [Dark logo](logo-dark.svg) | Lime mark and chalk wordmark on a dark surface. | +| [Light logo](logo-light.svg) | Graphite mark and wordmark on a light surface. | +| [One-color logo](logo-mono.svg) | Chalk mark and wordmark on a dark surface. | +| [Lime mark](mark.svg) | Mark alone on graphite. | +| [Graphite mark](mark-graphite.svg) | Mark alone on chalk or white. | +| [Chalk mark](mark-chalk.svg) | Mark alone on graphite. | +| [Favicon](favicon.svg) | Lime mark on a graphite square. | +| [Dark header](header-dark.svg) | README header on a graphite background, 1280 by 360. | +| [Light header](header-light.svg) | README header on a chalk background, 1280 by 360. | +| [Social banner](banner.svg) | Banner on graphite, 1280 by 640. | + +Keep the K's proportions and the gaps between its three parts. +Leave clear space around each logo equal to the width of the K's vertical part. +Use the mark alone when the full logo would be less than 180 px wide. +Display standalone mark files at least 16 px high. Prefer 32 px or more. + +## Icons + +The eight icons share a 24-unit grid and a 2-unit stroke. +Each file adds 4 units of padding inside a 32-unit graphite tile. +The tile keeps the chalk and lime strokes visible on light and dark pages. + +![Rules, Skills, Architecture, Code, Tests, Review, Workflow, and Learning icons.](icon-sheet.svg) + +| Icon | File | +| --- | --- | +| Rules | [rules.svg](icons/rules.svg) | +| Skills | [skills.svg](icons/skills.svg) | +| Architecture | [architecture.svg](icons/architecture.svg) | +| Code | [code.svg](icons/code.svg) | +| Tests | [tests.svg](icons/tests.svg) | +| Review | [review.svg](icons/review.svg) | +| Workflow | [workflow.svg](icons/workflow.svg) | +| Learning | [learning.svg](icons/learning.svg) | + +Show each icon at 32 px or more. Use text labels for section or action icons. +Use empty alt text for a decorative icon beside that label. +Give an icon-only control an accessible name in the page that uses it. + +## Colors + +| Color | Hex | Use | +| --- | --- | --- | +| Graphite | `#111814` | Dark surfaces and text on chalk. | +| Chalk | `#F3F1E8` | Light surfaces and text on graphite. | +| Electric lime | `#C7F36B` | Mark and icon accents on graphite. | +| Sage | `#89968C` | Secondary text on graphite. | + +Use graphite text on lime. Do not use chalk text on lime or lime text on chalk. +Let status badges use their own result colors. +The checks badge shows the current text and color supplied by Shields.io. + +## Type + +In the SVG assets, the wordmark and headings use Manrope at weight 800. +Supporting text in these assets uses weights 500 and 600. +All lettering in the SVG assets is outlined, so it renders without an installed font. +Keep normal README text as Markdown so it can reflow and resize. + +To change lettering, set new text in Manrope and convert it to paths in a vector editor. +Keep the SVG title and description accurate after a change. +The source font is [Manrope in Google Fonts](https://github.com/google/fonts/tree/main/ofl/manrope). + +## Banners + +The compact headers fit the README. The larger banner fits a social preview or announcement. + +![dkstack banner: rules and skills for AI coding agents.](banner.svg) + +The README selects its header with a picture element and a dark-theme media query. +Its fallback is the light header. Text above the header states the purpose of the project. +Use relative asset paths inside this repository so a branch preview shows that branch's files. + +## Badges + +The README uses three linked [Shields.io](https://shields.io/) badges. + +| Badge | Source | Destination | +| --- | --- | --- | +| Release | Latest published GitHub release, excluding prereleases. | Latest release. | +| License | GitHub license metadata. | Repository license. | +| Checks | The validate workflow, restricted to pushes on main. | Workflow runs on main. | + +The badges need a network connection. +Shields.io and GitHub cache badge images, so a badge can show an older value. +The checks badge reports the remote workflow result. It does not report a local check result. + +## License and sources + +The brand artwork uses the repository's [MIT license](../../LICENSE). +Manrope uses the [SIL Open Font License 1.1](licenses/Manrope-OFL.txt). +The font file is not bundled. The license copy records the source of the outlined lettering. + +The mark and icons were redrawn as paths from the concept approved in the owner's chat. +The [identity issue](https://github.com/daniel-kindl/dkstack/issues/381) records that instruction. +The concept images are references, not dependencies of these assets. + +Return to the [project README](../../README.md). diff --git a/assets/brand/banner.svg b/assets/brand/banner.svg new file mode 100644 index 0000000..5ad9cba --- /dev/null +++ b/assets/brand/banner.svg @@ -0,0 +1,6 @@ + + dkstack social banner + Rules and skills for AI coding agents. Rules, skills, and checks. github.com/daniel-kindl/dkstack. + + + diff --git a/assets/brand/favicon.svg b/assets/brand/favicon.svg new file mode 100644 index 0000000..4d5ce5f --- /dev/null +++ b/assets/brand/favicon.svg @@ -0,0 +1,5 @@ + + dkstack + A lime modular K on graphite. + + diff --git a/assets/brand/header-dark.svg b/assets/brand/header-dark.svg new file mode 100644 index 0000000..492222a --- /dev/null +++ b/assets/brand/header-dark.svg @@ -0,0 +1,6 @@ + + dkstack + Rules and skills for AI coding agents. The modular K and lowercase wordmark. + + + diff --git a/assets/brand/header-light.svg b/assets/brand/header-light.svg new file mode 100644 index 0000000..96d0588 --- /dev/null +++ b/assets/brand/header-light.svg @@ -0,0 +1,6 @@ + + dkstack + Rules and skills for AI coding agents. The modular K and lowercase wordmark. + + + diff --git a/assets/brand/icon-sheet.svg b/assets/brand/icon-sheet.svg new file mode 100644 index 0000000..120ba4a --- /dev/null +++ b/assets/brand/icon-sheet.svg @@ -0,0 +1,6 @@ + + dkstack section icons + Rules, Skills, Architecture, Code, Tests, Review, Workflow, and Learning. + + + diff --git a/assets/brand/icons/architecture.svg b/assets/brand/icons/architecture.svg new file mode 100644 index 0000000..6c178fe --- /dev/null +++ b/assets/brand/icons/architecture.svg @@ -0,0 +1,5 @@ + + Architecture + dkstack architecture section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/code.svg b/assets/brand/icons/code.svg new file mode 100644 index 0000000..805705e --- /dev/null +++ b/assets/brand/icons/code.svg @@ -0,0 +1,5 @@ + + Code + dkstack code section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/learning.svg b/assets/brand/icons/learning.svg new file mode 100644 index 0000000..2b374c5 --- /dev/null +++ b/assets/brand/icons/learning.svg @@ -0,0 +1,5 @@ + + Learning + dkstack learning section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/review.svg b/assets/brand/icons/review.svg new file mode 100644 index 0000000..74b72f5 --- /dev/null +++ b/assets/brand/icons/review.svg @@ -0,0 +1,5 @@ + + Review + dkstack review section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/rules.svg b/assets/brand/icons/rules.svg new file mode 100644 index 0000000..9debabf --- /dev/null +++ b/assets/brand/icons/rules.svg @@ -0,0 +1,5 @@ + + Rules + dkstack rules section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/skills.svg b/assets/brand/icons/skills.svg new file mode 100644 index 0000000..cb3284b --- /dev/null +++ b/assets/brand/icons/skills.svg @@ -0,0 +1,5 @@ + + Skills + dkstack skills section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/tests.svg b/assets/brand/icons/tests.svg new file mode 100644 index 0000000..b4451b2 --- /dev/null +++ b/assets/brand/icons/tests.svg @@ -0,0 +1,5 @@ + + Tests + dkstack tests section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/icons/workflow.svg b/assets/brand/icons/workflow.svg new file mode 100644 index 0000000..bd2f3b4 --- /dev/null +++ b/assets/brand/icons/workflow.svg @@ -0,0 +1,5 @@ + + Workflow + dkstack workflow section icon. Chalk and lime strokes on a graphite tile. + + diff --git a/assets/brand/licenses/Manrope-OFL.txt b/assets/brand/licenses/Manrope-OFL.txt new file mode 100644 index 0000000..e271172 --- /dev/null +++ b/assets/brand/licenses/Manrope-OFL.txt @@ -0,0 +1,93 @@ +Copyright 2018 The Manrope Project Authors (https://github.com/googlefonts/manrope) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/brand/logo-dark.svg b/assets/brand/logo-dark.svg new file mode 100644 index 0000000..708611e --- /dev/null +++ b/assets/brand/logo-dark.svg @@ -0,0 +1,6 @@ + + dkstack logo for dark surfaces + The modular K and lowercase dkstack wordmark. The background is transparent. + + + diff --git a/assets/brand/logo-light.svg b/assets/brand/logo-light.svg new file mode 100644 index 0000000..e380e00 --- /dev/null +++ b/assets/brand/logo-light.svg @@ -0,0 +1,6 @@ + + dkstack logo for light surfaces + The modular K and lowercase dkstack wordmark. The background is transparent. + + + diff --git a/assets/brand/logo-mono.svg b/assets/brand/logo-mono.svg new file mode 100644 index 0000000..8d58b07 --- /dev/null +++ b/assets/brand/logo-mono.svg @@ -0,0 +1,6 @@ + + dkstack logo for dark surfaces, one color + The modular K and lowercase dkstack wordmark. The background is transparent. + + + diff --git a/assets/brand/mark-chalk.svg b/assets/brand/mark-chalk.svg new file mode 100644 index 0000000..eae8879 --- /dev/null +++ b/assets/brand/mark-chalk.svg @@ -0,0 +1,5 @@ + + dkstack mark in chalk + A K made from one vertical stem and two separate diagonal arms. + + diff --git a/assets/brand/mark-graphite.svg b/assets/brand/mark-graphite.svg new file mode 100644 index 0000000..7ab38a4 --- /dev/null +++ b/assets/brand/mark-graphite.svg @@ -0,0 +1,5 @@ + + dkstack mark in graphite + A K made from one vertical stem and two separate diagonal arms. + + diff --git a/assets/brand/mark.svg b/assets/brand/mark.svg new file mode 100644 index 0000000..4faa9e7 --- /dev/null +++ b/assets/brand/mark.svg @@ -0,0 +1,5 @@ + + dkstack mark in lime + A K made from one vertical stem and two separate diagonal arms. + + From 8bf51f4757d4739f3da31454970811257a60bcc5 Mon Sep 17 00:00:00 2001 From: Daniel Kindl Date: Wed, 25 Nov 2026 21:51:48 +0100 Subject: [PATCH 2/5] docs: simplify README onboarding --- CHANGELOG.md | 4 + README.md | 215 ++++++++++++++++++++++------------------- assets/brand/README.md | 6 +- 3 files changed, 122 insertions(+), 103 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0df6eae..01bdda3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ change that a consumer must act on has a "Consumer action:" line. - SVG logos, section icons, a favicon, banners, and a brand asset guide (#381). - Light and dark README headers, plus Shields.io badges for the latest release, license, and checks on main (#381). +### Changed + +- The README leads with setup, a success check, and task examples. Optional installation and contributor checks have separate sections (#381). + ## [1.7.0] - 2026-11-25 ### Changed diff --git a/README.md b/README.md index 844e592..d56df18 100644 --- a/README.md +++ b/README.md @@ -7,149 +7,164 @@ Rules and skills for AI coding agents, in one place. dkstack: rules and skills for AI coding agents. -[![Latest release](https://img.shields.io/github/v/release/daniel-kindl/dkstack?style=flat-square&logo=github&logoColor=c7f36b&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/releases/latest) -[![License](https://img.shields.io/github/license/daniel-kindl/dkstack?style=flat-square&labelColor=111814&color=111814)](LICENSE) -[![Checks on main](https://img.shields.io/github/actions/workflow/status/daniel-kindl/dkstack/validate.yml?branch=main&event=push&style=flat-square&label=checks&labelColor=111814)](https://github.com/daniel-kindl/dkstack/actions/workflows/validate.yml?query=branch%3Amain) +[![Read the latest release version and notes](https://img.shields.io/github/v/release/daniel-kindl/dkstack?style=flat-square&logo=github&logoColor=c7f36b&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/releases/latest) +[![MIT license](https://img.shields.io/github/license/daniel-kindl/dkstack?style=flat-square&labelColor=111814&color=111814)](LICENSE) +[![Read the latest validation result for pushes to main](https://img.shields.io/github/actions/workflow/status/daniel-kindl/dkstack/validate.yml?branch=main&event=push&style=flat-square&label=checks&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/actions/workflows/validate.yml?query=branch%3Amain+event%3Apush) -[Start](#start) · [Skills](skills/index.md) · [Brand assets](assets/brand/README.md) · [Contributing](CONTRIBUTING.md) +**Use the same coding standards across your projects.** +dkstack gives any team shared rules and task-specific skills for AI coding agents. +Your project's `AGENTS.md` links your agent to the relevant guidance. +It is guidance only, with no service to run. -dkstack has rules, skills and check scripts for architecture, code, tests, UI, commits, versions, -writing and the review workflow. It is guidance only: your agents read the pages and run the -skills. It runs no service, and it changes nothing in your project by itself. It is for any team -that uses AI coding agents, under the [MIT license](LICENSE). Update the rules here once, and each -consumer gets the new rules. A consumer is a repository whose `AGENTS.md` points to dkstack. +[Get started](#start) · [Browse skills](skills/index.md) · [Explore the rules](#what-is-in-each-section) · [Get help](#get-help) ## Start -1. Copy [sample-AGENTS.md](sample-AGENTS.md) into your project as `AGENTS.md`. Or tell your agent - to run the [setup-dkstack](skills/setup-dkstack/SKILL.md) skill. It works in a new or an - existing project. -2. Optional: install the skills. See [Install the skills](#install-the-skills). -3. Give your agent a task. It reads the triage skill first, and triage selects the rules for the - task. +In your project, give your coding agent this prompt: -## Release status +```text +Set up dkstack in this repository. +Read and follow: +https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/skills/setup-dkstack/SKILL.md +``` -Consumers follow the `v1` release branch. See -[ADR 0001](docs/adr/0001-how-consumers-follow-versions.md). +The [setup skill](skills/setup-dkstack/SKILL.md) links your project's `AGENTS.md` to dkstack and configures your agent to read it. +It preserves project text unless you approve a conflicting rule change. +It commits the setup on a branch and asks before installing skills. +If your repository lacks commit, version, and quality rules, setup continues with [bootstrap](skills/bootstrap/SKILL.md). -Each compatible release moves `v1` forward. Each release also gets a fixed `vX.Y.Z` tag. The -latest release is at . See -[CHANGELOG.md](CHANGELOG.md) for all releases. +**Check the setup:** start a new agent session. +Ask, "Which skill will you read first for a task? Open it." +It should open [triage](skills/triage/SKILL.md). -## How to use +
+Set up manually + +1. Copy [sample-AGENTS.md](sample-AGENTS.md) into a new `AGENTS.md`, or merge it into your existing file. +2. Keep your project facts and record approved rule exceptions in that file. +3. Configure your agent to read `AGENTS.md`, if needed. For Claude Code, add `@AGENTS.md` to `CLAUDE.md`. + +For other clients, see step 5 in the [setup instructions](skills/setup-dkstack/SKILL.md#steps). +Then check the setup in a new session as described above. + +
-Tell an agent: +## How to use -> Read and follow https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/AGENTS.md +Give your agent a task in your project. +The [triage skill](skills/triage/SKILL.md) selects the rules and skills for that task. +Rules set the standards. Skills give the agent steps to follow. -To read all files on the same version, follow the version rule in -[AGENTS.md](AGENTS.md#version). +| Your task | Skill | +| --- | --- | +| Plan a feature before writing code. | [plan-work](skills/plan-work/SKILL.md) | +| Implement a change with tests. | [tdd-loop](skills/tdd-loop/SKILL.md) | +| Review a pull request. | [code-review](skills/code-review/SKILL.md) | +| Check an interface for accessibility. | [ui-review](skills/ui-review/SKILL.md) | +| Set up repository checks and versioning. | [bootstrap](skills/bootstrap/SKILL.md) | -To set up a project, copy [sample-AGENTS.md](sample-AGENTS.md) into it as `AGENTS.md`. +[Browse all skills](skills/index.md) for architecture, writing, learning, and other tasks. +Keep project facts and approved rule exceptions in your project's `AGENTS.md`. +See [how project rules work with dkstack](AGENTS.md#precedence). ## Install the skills -List the skills on the `v1` ref: +Skill installation is optional. The setup above lets your agent read the shared guidance directly. +Install skills so your agent can find them in its local skill folder. +These copies still link to dkstack's rule pages. + +The [skills CLI](https://github.com/vercel-labs/skills#install-a-skill) requires Node.js 22.20 or later. +From your project directory, install `triage`: ```bash -npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --list +npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --skill triage ``` -Install one skill: +Replace `triage` with another name from the [skills list](skills/index.md). +To see available skills before installing: ```bash -npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --skill +npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --list ``` -Replace `` with a skill name from [skills/index.md](skills/index.md), for example `triage`. +Installed skills do not update by themselves. +For skills installed from `v1`, run `npx skills update` after a release. + +## Release status + +Read the [latest release notes](https://github.com/daniel-kindl/dkstack/releases/latest) or the full [changelog](CHANGELOG.md). +The setup uses `v1`, the branch for compatible releases. +The `main` branch contains work that is not released yet. ## Follow versions -- Compatible releases (MINOR and PATCH) move `v1` forward. You do not change anything. -- A breaking release starts `v2`. Read `CHANGELOG.md`, then change `v1` to `v2` in your URL. -- If a release breaks your project, pin the last good `vX.Y.Z` tag in place of `v1`. Follow the - version rule in [AGENTS.md](AGENTS.md#version). Go back to `v1` after the fix. -- If you installed skills, run `npx skills update` after a release. Installed skills do not - update by themselves. +Choose the version in the dkstack entry URL in your project's `AGENTS.md`. + +| What you need | What to use | +| --- | --- | +| Compatible updates as they are released. | Keep `v1` in your dkstack URL. | +| A fixed version, or a return to a known good release. | Replace `v1` with a published `vX.Y.Z` tag. | +| The next major version. | Read its changelog and migration steps before changing the URL. | + +When you pin a tag, your agent must read all dkstack files from that tag. +Follow the [version rule](AGENTS.md#version). +If you installed skills, install them again with that same tag in place of `v1` in the install command. +Changing the entry URL does not update local skill copies. + +The documentation calls a repository whose `AGENTS.md` points to dkstack a **consumer**. +See [how consumers follow versions](docs/adr/0001-how-consumers-follow-versions.md) for the release model. + +## What is in each section -The current version is in `package.json`. See [versioning/index.md](versioning/index.md) for -semantic versioning. +| Find guidance for | Read | +| --- | --- | +| Agent instructions and project rules. | [AGENTS.md](AGENTS.md) | +| Design decisions and code. | [Architecture](architecture/index.md) · [Coding](coding/index.md) | +| Tests and interfaces. | [Test-driven development](tdd/index.md) · [UI and accessibility](ui/index.md) | +| Commits, reviews, and releases. | [Version control](version-control/index.md) · [Workflow](workflow/index.md) · [Versioning](versioning/index.md) | +| Clear text and learning. | [Writing](writing/index.md) · [Learning](learning/index.md) | +| Task instructions and practical advice. | [Skills](skills/index.md) · [Tips](tips/index.md) | ## Checks -The `validate` workflow ([.github/workflows/validate.yml](.github/workflows/validate.yml)) runs on -each pull request to `main` and on each push to `main`. It does these checks: - -- The pull request title, or each commit title on a push, is a conventional commit. -- On a pull request, a removed page, skill or linked anchor needs `!` in the title and a - "Consumer action:" line under `## [Unreleased]` in CHANGELOG.md. -- The pull request body links an issue and has an Evidence section, one Observability line and a - valid Visual verification line. A bot author is skipped. -- Each skill has the correct folder and frontmatter. -- Relative links and links to this repository resolve, including anchors. -- Markdown files have no em dash or en dash. -- Workflows pin actions, set permissions and set `timeout-minutes` on each job. A release or deploy - workflow starts only by `workflow_dispatch`, checks that the ref is `main`, uses an environment - and sets `concurrency`. The check finds a release job from a list of commands and actions, so a - deploy job must set `environment:` to be checked. Only the release job uses the release app secrets. The allowed secrets - are in [.github/check-workflows.json](.github/check-workflows.json). Jobs must be at 2 spaces under - `jobs:`, with job keys at 4 spaces. Triggers must be on the `on:` line or at 2 spaces under it. - Another form fails, so the check never passes a form that it cannot read. -- actionlint and shellcheck find no fault in the workflows. -- CHANGELOG.md has an entry for the version in `package.json`, an `## [Unreleased]` line and its - compare link. A pull request that adds or renames a page, or adds a skill, also changes - `## [Unreleased]`. -- The maps in `docs/maps/`, `CONTEXT.md` and new ADRs have the correct format. -- The change adds no blanket suppression and no suppression without a reason. A lowered number - directly after a known coverage gate key, or a raised `max-warnings` number, gives a warning - for the reviewer. It does not fail the check. On a push to `main`, the change is empty, so - this check has nothing to check. -- The unit tests pass, and they cover at least 95% of the lines and 90% of the branches in - `scripts/`. -- A long sentence, a long step or a semicolon in Markdown fails the check. - -To run the same checks locally, except the title check, the body check, the breaking change check and actionlint, use Node 24 or later: +The [validate workflow](.github/workflows/validate.yml) checks changes to this repository. +It checks links, skill structure, writing, workflow configuration, changelog entries, and tests. +The badge above links to validation results for pushes to `main`. + +
+Run the checks as a contributor + +Use Node 24 or later. From a clone of dkstack, run: ```bash npm run check ``` -To audit the open issues and the labels of a repository, run `npm run audit:issues -- `. The tool reads with `gh` and writes nothing. +The pull request title, body, breaking-change, and actionlint checks are not part of this command. +See [Run the checks](CONTRIBUTING.md#run-the-checks) for the full procedure. -The workflow does not tag, release or publish. +The changelog check confirms that CHANGELOG.md has an entry for the version in `package.json`. +The validation workflow does not publish. Only the release job uses the release app secrets. -The owner can run `npm run audit:settings -- ` to compare the repository settings -with [setup-repo-protection](skills/setup-repo-protection/SKILL.md). It only reads, and the -workflow does not run it. +
-A reviewer runs `node scripts/check-review.mjs ` on the review file before posting it. The -script checks the verdict, the head SHA and each finding. +## Get help -## What is in each section +[Open an issue](https://github.com/daniel-kindl/dkstack/issues) for a question, a problem, or a proposed change. +Include your agent, dkstack version, and what you expected to happen. +Report security concerns through the [security policy](SECURITY.md). -- [AGENTS.md](AGENTS.md): The entry point for agents. -- [architecture/](architecture/index.md): Architecture principles and design rules. -- [coding/](coding/index.md): Coding standards and practices. -- [tdd/](tdd/index.md): Test-driven development. -- [learning/](learning/index.md): Adaptive learning principles and standards. -- [ui/](ui/index.md): User interface rules, accessibility and visual verification. -- [version-control/](version-control/index.md): Conventional commits and short-lived feature - branches. -- [versioning/](versioning/index.md): Semantic versioning. -- [writing/](writing/index.md): Writing style (ASD-STE100). -- [skills/](skills/index.md): Skills for agents. -- [tips/](tips/index.md): Short tips and tricks. -- [workflow/](workflow/index.md): Issues, review and merge, and safety. -- [ADR 0001](docs/adr/0001-how-consumers-follow-versions.md): How consumers follow versions. The ADRs - are in `docs/adr/`. +## Changes + +To contribute, start with an issue and the [contribution guide](CONTRIBUTING.md). +Daniel Kindl ([@daniel-kindl](https://github.com/daniel-kindl)) owns dkstack and approves each change. +Propose shared rule changes here instead of editing dkstack from another project. ## Visual identity -Browse the [logos, icons, and banners](assets/brand/README.md). -The asset guide lists colors, fonts, and usage instructions. +[Use the logos, icons, and banners](assets/brand/README.md). +The asset guide lists colors, typography, and usage instructions. -## Changes +## License -Do not change this repository from another project. To propose a change, open an issue. The owner -approves every change. See [CONTRIBUTING.md](CONTRIBUTING.md). +[MIT](LICENSE). The [asset guide](assets/brand/README.md#license-and-sources) records the font license and artwork sources. diff --git a/assets/brand/README.md b/assets/brand/README.md index 80d6d50..d3005c0 100644 --- a/assets/brand/README.md +++ b/assets/brand/README.md @@ -65,8 +65,8 @@ Give an icon-only control an accessible name in the page that uses it. | Sage | `#89968C` | Secondary text on graphite. | Use graphite text on lime. Do not use chalk text on lime or lime text on chalk. -Let status badges use their own result colors. -The checks badge shows the current text and color supplied by Shields.io. +Use white badge text on graphite for readable contrast. +The checks badge keeps the live result text supplied by Shields.io. ## Type @@ -97,7 +97,7 @@ The README uses three linked [Shields.io](https://shields.io/) badges. | --- | --- | --- | | Release | Latest published GitHub release, excluding prereleases. | Latest release. | | License | GitHub license metadata. | Repository license. | -| Checks | The validate workflow, restricted to pushes on main. | Workflow runs on main. | +| Checks | The validate workflow, restricted to pushes on main. | Workflow runs for pushes on main. | The badges need a network connection. Shields.io and GitHub cache badge images, so a badge can show an older value. From 1080b74704a62c7a9771a76c1fe9ea18f2af26de Mon Sep 17 00:00:00 2001 From: Daniel Kindl Date: Wed, 25 Nov 2026 21:56:30 +0100 Subject: [PATCH 3/5] docs: move README reference into guides --- AGENTS.md | 1 + CHANGELOG.md | 3 +- CONTRIBUTING.md | 32 +++++++++++ README.md | 107 ++++++------------------------------ docs/index.md | 85 ++++++++++++++++++++++++++++ test/context-terms.test.mjs | 4 +- test/one-word.test.mjs | 2 +- test/skill-hooks.test.mjs | 2 +- test/stale-text.test.mjs | 9 +-- test/triage-routes.test.mjs | 4 +- test/ui-guidelines.test.mjs | 6 +- 11 files changed, 151 insertions(+), 104 deletions(-) create mode 100644 docs/index.md diff --git a/AGENTS.md b/AGENTS.md index a20e09e..1b9923a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -54,6 +54,7 @@ Every rule in [workflow/safety.md](workflow/safety.md) is a hard limit. For exam ## Sections +- [docs/index.md](docs/index.md): Setup, skill installation and version guidance. - [architecture/index.md](architecture/index.md): Architecture principles. - [coding/index.md](coding/index.md): Coding standards and practices. - [tdd/index.md](tdd/index.md): Test-driven development. diff --git a/CHANGELOG.md b/CHANGELOG.md index 01bdda3..2a502ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,8 @@ change that a consumer must act on has a "Consumer action:" line. ### Changed -- The README leads with setup, a success check, and task examples. Optional installation and contributor checks have separate sections (#381). +- The README leads with setup, a success check, and task examples (#381). +- `docs/index.md` holds manual setup, optional skill installation, versions, and the rule directory. Validation details move to `CONTRIBUTING.md` (#381). ## [1.7.0] - 2026-11-25 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1534f14..21bfe39 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,6 +67,38 @@ gets the same checks as work that targets main. The pull request diff checks use The workflow also runs on pushes to main. On a push, the ADR check uses the commit before the push, or the first parent of HEAD if the earlier commit is unavailable. +The workflow checks the following: + +- The pull request title, or each commit title on a push, is a conventional commit. +- On a pull request, a removed page, skill or linked anchor needs `!` in the title and a + "Consumer action:" line under `## [Unreleased]` in CHANGELOG.md. +- The pull request body links an issue and has an Evidence section, one Observability line and a + valid Visual verification line. A bot author is skipped. +- Each skill has the correct folder and frontmatter. +- Relative links and links to this repository resolve, including anchors. +- Markdown files have no em dash or en dash. +- Workflows pin actions, set permissions and set `timeout-minutes` on each job. A release or deploy + workflow starts only by `workflow_dispatch`, checks that the ref is `main`, uses an environment + and sets `concurrency`. The check finds a release job from a list of commands and actions, so a + deploy job must set `environment:` to be checked. Only the release job uses the release app secrets. The allowed secrets + are in [.github/check-workflows.json](.github/check-workflows.json). Jobs must be at 2 spaces under + `jobs:`, with job keys at 4 spaces. Triggers must be on the `on:` line or at 2 spaces under it. + Another form fails, so the check never passes a form that it cannot read. +- actionlint and shellcheck find no fault in the workflows. +- CHANGELOG.md has an entry for the version in `package.json`, an `## [Unreleased]` line and its + compare link. A pull request that adds or renames a page, or adds a skill, also changes + `## [Unreleased]`. +- The maps in `docs/maps/`, `CONTEXT.md` and new ADRs have the correct format. +- The change adds no blanket suppression and no suppression without a reason. A lowered number + directly after a known coverage gate key, or a raised `max-warnings` number, gives a warning + for the reviewer. It does not fail the check. On a push to `main`, the change is empty, so + this check has nothing to check. +- The unit tests pass, and they cover at least 95% of the lines and 90% of the branches in + `scripts/`. +- A long sentence, a long step or a semicolon in Markdown fails the check. + +The validation workflow does not tag, release, or publish. + ## Update bot pull requests An update bot can open a pull request with a title over 50 characters, for example diff --git a/README.md b/README.md index d56df18..11f2ff0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ dkstack gives any team shared rules and task-specific skills for AI coding agent Your project's `AGENTS.md` links your agent to the relevant guidance. It is guidance only, with no service to run. -[Get started](#start) · [Browse skills](skills/index.md) · [Explore the rules](#what-is-in-each-section) · [Get help](#get-help) +[Get started](#start) · [Browse skills](skills/index.md) · [Read the docs](docs/index.md) · [Get help](#get-help) ## Start @@ -37,17 +37,8 @@ If your repository lacks commit, version, and quality rules, setup continues wit Ask, "Which skill will you read first for a task? Open it." It should open [triage](skills/triage/SKILL.md). -
-Set up manually +Prefer manual setup? Use the [manual guide](docs/index.md#manual-setup) and [sample-AGENTS.md](sample-AGENTS.md). -1. Copy [sample-AGENTS.md](sample-AGENTS.md) into a new `AGENTS.md`, or merge it into your existing file. -2. Keep your project facts and record approved rule exceptions in that file. -3. Configure your agent to read `AGENTS.md`, if needed. For Claude Code, add `@AGENTS.md` to `CLAUDE.md`. - -For other clients, see step 5 in the [setup instructions](skills/setup-dkstack/SKILL.md#steps). -Then check the setup in a new session as described above. - -
## How to use @@ -64,89 +55,28 @@ Rules set the standards. Skills give the agent steps to follow. | Set up repository checks and versioning. | [bootstrap](skills/bootstrap/SKILL.md) | [Browse all skills](skills/index.md) for architecture, writing, learning, and other tasks. -Keep project facts and approved rule exceptions in your project's `AGENTS.md`. See [how project rules work with dkstack](AGENTS.md#precedence). -## Install the skills - -Skill installation is optional. The setup above lets your agent read the shared guidance directly. -Install skills so your agent can find them in its local skill folder. -These copies still link to dkstack's rule pages. - -The [skills CLI](https://github.com/vercel-labs/skills#install-a-skill) requires Node.js 22.20 or later. -From your project directory, install `triage`: - -```bash -npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --skill triage -``` - -Replace `triage` with another name from the [skills list](skills/index.md). -To see available skills before installing: - -```bash -npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --list -``` - -Installed skills do not update by themselves. -For skills installed from `v1`, run `npx skills update` after a release. - ## Release status -Read the [latest release notes](https://github.com/daniel-kindl/dkstack/releases/latest) or the full [changelog](CHANGELOG.md). -The setup uses `v1`, the branch for compatible releases. -The `main` branch contains work that is not released yet. +Use `v1` for compatible releases. +Read the [latest release notes](https://github.com/daniel-kindl/dkstack/releases/latest) or [choose a fixed version](docs/index.md#follow-versions). -## Follow versions + + + + + -Choose the version in the dkstack entry URL in your project's `AGENTS.md`. +## Documentation -| What you need | What to use | +| You want to | Read | | --- | --- | -| Compatible updates as they are released. | Keep `v1` in your dkstack URL. | -| A fixed version, or a return to a known good release. | Replace `v1` with a published `vX.Y.Z` tag. | -| The next major version. | Read its changelog and migration steps before changing the URL. | - -When you pin a tag, your agent must read all dkstack files from that tag. -Follow the [version rule](AGENTS.md#version). -If you installed skills, install them again with that same tag in place of `v1` in the install command. -Changing the entry URL does not update local skill copies. - -The documentation calls a repository whose `AGENTS.md` points to dkstack a **consumer**. -See [how consumers follow versions](docs/adr/0001-how-consumers-follow-versions.md) for the release model. - -## What is in each section - -| Find guidance for | Read | -| --- | --- | -| Agent instructions and project rules. | [AGENTS.md](AGENTS.md) | -| Design decisions and code. | [Architecture](architecture/index.md) · [Coding](coding/index.md) | -| Tests and interfaces. | [Test-driven development](tdd/index.md) · [UI and accessibility](ui/index.md) | -| Commits, reviews, and releases. | [Version control](version-control/index.md) · [Workflow](workflow/index.md) · [Versioning](versioning/index.md) | -| Clear text and learning. | [Writing](writing/index.md) · [Learning](learning/index.md) | -| Task instructions and practical advice. | [Skills](skills/index.md) · [Tips](tips/index.md) | - -## Checks - -The [validate workflow](.github/workflows/validate.yml) checks changes to this repository. -It checks links, skill structure, writing, workflow configuration, changelog entries, and tests. -The badge above links to validation results for pushes to `main`. - -
-Run the checks as a contributor - -Use Node 24 or later. From a clone of dkstack, run: - -```bash -npm run check -``` - -The pull request title, body, breaking-change, and actionlint checks are not part of this command. -See [Run the checks](CONTRIBUTING.md#run-the-checks) for the full procedure. - -The changelog check confirms that CHANGELOG.md has an entry for the version in `package.json`. -The validation workflow does not publish. Only the release job uses the release app secrets. - -
+| Set up manually or manage updates. | [Usage guide](docs/index.md) | +| Install optional skills. | [Skill installation](docs/index.md#install-the-skills) | +| Find guidance for code, tests, UI, and other work. | [Rule directory](docs/index.md#what-is-in-each-section) | +| Propose a change or run repository checks. | [Contribution guide](CONTRIBUTING.md) | +| Use the logos, icons, or banners. | [Brand assets](assets/brand/README.md) | ## Get help @@ -160,11 +90,6 @@ To contribute, start with an issue and the [contribution guide](CONTRIBUTING.md) Daniel Kindl ([@daniel-kindl](https://github.com/daniel-kindl)) owns dkstack and approves each change. Propose shared rule changes here instead of editing dkstack from another project. -## Visual identity - -[Use the logos, icons, and banners](assets/brand/README.md). -The asset guide lists colors, typography, and usage instructions. - ## License [MIT](LICENSE). The [asset guide](assets/brand/README.md#license-and-sources) records the font license and artwork sources. diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..b510c2e --- /dev/null +++ b/docs/index.md @@ -0,0 +1,85 @@ +# Using dkstack + +[Start with the setup prompt](../README.md#start) to connect your project to dkstack. +This guide covers manual setup, optional skill installation, and updates. + +[Manual setup](#manual-setup) · [Install skills](#install-the-skills) · [Follow versions](#follow-versions) · [Browse the rules](#what-is-in-each-section) + +## Manual setup + +1. Copy [sample-AGENTS.md](../sample-AGENTS.md) into a new `AGENTS.md`, or merge it into your existing file. +2. Keep your project facts and record approved rule exceptions in that file. +3. Configure your agent to read `AGENTS.md`, if needed. For Claude Code, add `@AGENTS.md` to `CLAUDE.md`. + +For other clients, see step 5 in the [setup instructions](../skills/setup-dkstack/SKILL.md#steps). +Then [check the setup in a new session](../README.md#start). + +## Install the skills + +Skill installation is optional. The setup skill lets your agent read the shared guidance directly. +Install skills so your agent can find them in its local skill folder. +These copies still link to dkstack's rule pages. + +The [skills CLI](https://github.com/vercel-labs/skills#install-a-skill) requires Node.js 22.20 or later. +From your project directory, install `triage`: + +```bash +npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --skill triage +``` + +Replace `triage` with another name from the [skills list](../skills/index.md). +To see available skills before installing: + +```bash +npx skills add https://github.com/daniel-kindl/dkstack/tree/v1 --list +``` + +Installed skills do not update by themselves. +For skills installed from `v1`, run `npx skills update` after a release. + +## Release status + +Read the [latest release notes](https://github.com/daniel-kindl/dkstack/releases/latest) or the full [changelog](../CHANGELOG.md). +The setup uses `v1`, the branch for compatible releases. +The `main` branch contains work that is not released yet. + +## Follow versions + +Choose the version in the dkstack entry URL in your project's `AGENTS.md`. + +| What you need | What to use | +| --- | --- | +| Compatible updates as they are released. | Keep `v1` in your dkstack URL. | +| A fixed version, or a return to a known good release. | Replace `v1` with a published `vX.Y.Z` tag. | +| The next major version. | Read its changelog and migration steps before changing the URL. | + +When you pin a tag, your agent must read all dkstack files from that tag. +Follow the [version rule](../AGENTS.md#version). +If you installed skills, install them again with that same tag in place of `v1` in the install command. +Changing the entry URL does not update local skill copies. + +The documentation calls a repository whose `AGENTS.md` points to dkstack a **consumer**. +See [how consumers follow versions](adr/0001-how-consumers-follow-versions.md) for the release model. + +## What is in each section + +| Find guidance for | Read | +| --- | --- | +| Agent instructions and project rules. | [AGENTS.md](../AGENTS.md) | +| Design decisions and code. | [Architecture](../architecture/index.md) · [Coding](../coding/index.md) | +| Tests and interfaces. | [Test-driven development](../tdd/index.md) · [UI and accessibility](../ui/index.md) | +| Commits, reviews, and releases. | [Version control](../version-control/index.md) · [Workflow](../workflow/index.md) · [Versioning](../versioning/index.md) | +| Clear text and learning. | [Writing](../writing/index.md) · [Learning](../learning/index.md) | +| Task instructions and practical advice. | [Skills](../skills/index.md) · [Tips](../tips/index.md) | + +## Contributing and checks + +Use the [contribution guide](../CONTRIBUTING.md) to propose a change or [run repository checks](../CONTRIBUTING.md#run-the-checks). +The guide also describes the [validation workflow](../CONTRIBUTING.md#validate-workflow). + +## Brand assets + +[Browse the logos, icons, and banners](../assets/brand/README.md). +The asset guide covers colors, type, use, and licensing. + +Return to the [project README](../README.md). diff --git a/test/context-terms.test.mjs b/test/context-terms.test.mjs index 40b6aad..c1ff2a9 100644 --- a/test/context-terms.test.mjs +++ b/test/context-terms.test.mjs @@ -45,8 +45,10 @@ test("no page uses an avoided word of CONTEXT.md", async () => { }); test("a page calls a repository that points to dkstack a consumer", async () => { - for (const file of ["AGENTS.md", "README.md", "skills/triage/SKILL.md"]) { + for (const file of ["AGENTS.md", "README.md", "docs/index.md", "skills/triage/SKILL.md"]) { assert.doesNotMatch(await read(file), /\b(?:project|repository) that points? to\b|\bpoints to them\b/i, file); + } + for (const file of ["AGENTS.md", "docs/index.md", "skills/triage/SKILL.md"]) { assert.match(await read(file), /\bconsumer\b/, file); } assert.match(await read("versioning/index.md"), /A consumer does not use them\./); diff --git a/test/one-word.test.mjs b/test/one-word.test.mjs index 256d27a..f94a19e 100644 --- a/test/one-word.test.mjs +++ b/test/one-word.test.mjs @@ -30,7 +30,7 @@ test("prose says pull request, not PR, outside trigger words", async () => { if (dir.isDirectory()) files.push(`skills/${dir.name}/SKILL.md`); } // The Low on #256: the top-level pages too. An ADR is a record, so docs/adr/ is not changed. - files.push("README.md", "CONTRIBUTING.md", "SECURITY.md", "AGENTS.md", "sample-AGENTS.md"); + files.push("README.md", "docs/index.md", "CONTRIBUTING.md", "SECURITY.md", "AGENTS.md", "sample-AGENTS.md"); for (const file of files) { const text = (await read(file)).replace(/Triggers:[^"\n]*/g, "").replace(/`[^`]*`/g, ""); assert.doesNotMatch(text, /\bPRs?\b/, file); diff --git a/test/skill-hooks.test.mjs b/test/skill-hooks.test.mjs index 219f613..50c16e1 100644 --- a/test/skill-hooks.test.mjs +++ b/test/skill-hooks.test.mjs @@ -50,7 +50,7 @@ test("no skill or entry page names the removed map-work skill", async () => { const skills = (await readdir(join(repoRoot, "skills"), { withFileTypes: true })) .filter((entry) => entry.isDirectory()) .map((entry) => join("skills", entry.name, "SKILL.md")); - for (const file of ["skills/index.md", "AGENTS.md", "README.md", "CONTRIBUTING.md", "sample-AGENTS.md", + for (const file of ["skills/index.md", "AGENTS.md", "README.md", "docs/index.md", "CONTRIBUTING.md", "sample-AGENTS.md", "workflow/index.md", "workflow/safety.md", "workflow/review-and-merge.md", "tips/index.md", ".github/ISSUE_TEMPLATE/external-request.md", ...skills]) { const text = await readFile(join(repoRoot, file), "utf8"); diff --git a/test/stale-text.test.mjs b/test/stale-text.test.mjs index d88f89b..596fd87 100644 --- a/test/stale-text.test.mjs +++ b/test/stale-text.test.mjs @@ -19,12 +19,13 @@ test("README.md and SECURITY.md have no text from before the first release", asy } }); -test("README.md links the latest release, names Node 24 and lists the CHANGELOG check", async () => { +test("entry docs link the release and document contributor checks", async () => { const readme = await read("README.md"); + const contributing = await read("CONTRIBUTING.md"); assert.ok(readme.includes("https://github.com/daniel-kindl/dkstack/releases/latest")); - assert.ok(readme.includes("Node 24 or later")); - assert.ok(readme.includes("Only the release job uses the release app secrets.")); - assert.match(readme, /CHANGELOG\.md has an entry for the version in `package\.json`/); + assert.ok(contributing.includes("Node 24 or later")); + assert.ok(contributing.includes("Only the release job uses the release app secrets.")); + assert.match(contributing, /CHANGELOG\.md has an entry for the version in `package\.json`/); }); test("SECURITY.md says which release gets fixes and how they ship", async () => { diff --git a/test/triage-routes.test.mjs b/test/triage-routes.test.mjs index bc7ad85..e3eb83c 100644 --- a/test/triage-routes.test.mjs +++ b/test/triage-routes.test.mjs @@ -46,11 +46,11 @@ test("triage links AGENTS.md Precedence for a rule conflict and does not restate assert.doesNotMatch(rules, /more specific rule/); }); -test("AGENTS.md and README.md list the learning section and the tips section", async () => { +test("AGENTS.md and the docs index list the learning section and the tips section", async () => { const sections = section(await read("AGENTS.md"), "## Sections"); assert.match(sections, /\[learning\/index\.md\]\(learning\/index\.md\)/); assert.match(sections, /\[tips\/index\.md\]\(tips\/index\.md\)/); - assert.match(await read("README.md"), /\(tips\/index\.md\)/); + assert.match(await read("docs/index.md"), /\(\.\.\/tips\/index\.md\)/); }); test("skills/index.md links the learning section next to learn, and bootstrap matches its description", async () => { diff --git a/test/ui-guidelines.test.mjs b/test/ui-guidelines.test.mjs index 5aa9cd7..c14c29a 100644 --- a/test/ui-guidelines.test.mjs +++ b/test/ui-guidelines.test.mjs @@ -27,14 +27,14 @@ function line(text, prefix) { } test("the entry points link the UI pages and both UI skills", async () => { - const [agents, readme, index, triage] = await Promise.all([ + const [agents, docs, index, triage] = await Promise.all([ document("AGENTS.md"), - document("README.md"), + document("docs/index.md"), document("skills/index.md"), document("skills/triage/SKILL.md"), ]); assert.match(agents, /\(ui\/index\.md\)/); - assert.match(readme, /\(ui\/index\.md\)/); + assert.match(docs, /\(\.\.\/ui\/index\.md\)/); assert.match(index, /\[ui-design\]\(ui-design\/SKILL\.md\)/); assert.match(index, /\[ui-review\]\(ui-review\/SKILL\.md\)/); assert.ok(triage.includes(`New or changed rendered UI: [ui-design](${raw}/skills/ui-design/SKILL.md).`)); From 17d02c16ad031686a24638ccb47f0ff1659539c7 Mon Sep 17 00:00:00 2001 From: Daniel Kindl Date: Wed, 25 Nov 2026 22:00:34 +0100 Subject: [PATCH 4/5] docs: align badge labels with visible text --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11f2ff0..4bc6e49 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ Rules and skills for AI coding agents, in one place. dkstack: rules and skills for AI coding agents. -[![Read the latest release version and notes](https://img.shields.io/github/v/release/daniel-kindl/dkstack?style=flat-square&logo=github&logoColor=c7f36b&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/releases/latest) -[![MIT license](https://img.shields.io/github/license/daniel-kindl/dkstack?style=flat-square&labelColor=111814&color=111814)](LICENSE) -[![Read the latest validation result for pushes to main](https://img.shields.io/github/actions/workflow/status/daniel-kindl/dkstack/validate.yml?branch=main&event=push&style=flat-square&label=checks&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/actions/workflows/validate.yml?query=branch%3Amain+event%3Apush) +[![Release: read the latest version and notes](https://img.shields.io/github/v/release/daniel-kindl/dkstack?style=flat-square&logo=github&logoColor=c7f36b&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/releases/latest) +[![License: MIT](https://img.shields.io/github/license/daniel-kindl/dkstack?style=flat-square&labelColor=111814&color=111814)](LICENSE) +[![Checks: read the latest result for pushes to main](https://img.shields.io/github/actions/workflow/status/daniel-kindl/dkstack/validate.yml?branch=main&event=push&style=flat-square&label=checks&labelColor=111814&color=111814)](https://github.com/daniel-kindl/dkstack/actions/workflows/validate.yml?query=branch%3Amain+event%3Apush) **Use the same coding standards across your projects.** dkstack gives any team shared rules and task-specific skills for AI coding agents. From ef2173fb36fc912cabeda76e6f8cc8d0f3fc3ddc Mon Sep 17 00:00:00 2001 From: Daniel Kindl Date: Wed, 25 Nov 2026 22:02:31 +0100 Subject: [PATCH 5/5] docs: use a plain fence for the setup prompt --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bc6e49..a7cc4ba 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ It is guidance only, with no service to run. In your project, give your coding agent this prompt: -```text +``` Set up dkstack in this repository. Read and follow: https://raw.githubusercontent.com/daniel-kindl/dkstack/v1/skills/setup-dkstack/SKILL.md