documentation-and-adrs
Skill32 starsChanged 5 months agoApache-2.0View on GitHub
Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.
- Reads credentials
37 other projects use a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- addyosmani/agent-skillstheir own version, first seen Oct 3, 2026
- weisser-dev/agentic-skillstheir own version, first seen Oct 3, 2026
- Rvey/agent-engineering-kittheir own version, first seen Oct 1, 2026
- JPeetz/agent-skillstheir own version, first seen Sep 29, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use constraint-driven-development, doubt-driven-development and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
vinvcnSkillconstraint-driven-development
把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。
Also in 4 projects that use this
mycelium-hqSkilldoubt-driven-development
Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under uncertainty, work in unfamiliar code, or assert what the compiler cannot check (''this is safe'', ''thread-safe'', ''this scales'', ''matches the spec''). Strongest on high-stakes surfaces (production deploys, security-sensitive logic, data migrations, irreversible operations) and when the user asks to sanity-check, red-team, double-check, or get a second opinion on a decision.
Also in 15 projects that use this
luischanciSkillinterview-me
Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy.
Also in 12 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 4 projects that use this
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- addyosmani/agent-skills★ 101ksame name
- shashankswe2020-ux/whoop-mcp★ 165same name
- muratgur/ordinus★ 109same name
- thiientv/godmode★ 96same name
- az9713/addyosmani-agent-skills★ 38same name
- vinvcn/addyosmani-agent-skills-zh★ 38same name
- sampleXbro/agentsmesh★ 25same name
- ishandutta2007/Awesome-Agent-Skills★ 21same name
- borhen68/SkillEngine★ 17same name
- kevinnft/ai-agent-skills★ 13same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository53 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- ad-creativeSkill
- addyosmani-agent-skillsSkill
- api-and-interface-designSkill
- brandkitSkill
- browser-testing-with-devtoolsSkill
- chef-assistantSkill
- ci-cd-and-automationSkill
- cloud-run-basicsSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- design-taste-frontendSkill
- design-taste-frontend-v1Skill
- frontend-ui-engineeringSkill
- full-output-enforcementSkill
- gemini-apiSkill
- git-workflow-and-versioningSkill
- googlecloudplatform-knowledge-catalogSkill
- google-cloud-recipe-authSkill
- google-cloud-recipe-networking-observabilitySkill
- google-cloud-recipe-onboardingSkill
- google-cloud-waf-cost-optimizationSkill
- google-cloud-waf-reliabilitySkill
- google-cloud-waf-securitySkill
- gpt-tasteSkill
- high-end-visual-designSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- image-to-codeSkill
- incremental-implementationSkill
- industrial-brutalist-uiSkill
- marketing-ideasSkill
- minimalist-uiSkill
- nvidia-skillspectorSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- pricing-strategySkill
- programmatic-seoSkill
- redesign-existing-projectsSkill
- security-and-hardeningSkill
- seo-auditSkill
- shipping-and-launchSkill
- social-contentSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- stitch-design-tasteSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
- videoSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Document the why, not the what.
- Distinctive: line 117
Write docstrings for all public functions in the API:
- Distinctive: line 139
When shipping a feature, update the README if it changes:
- Distinctive: line 144
Do not update the README to describe implementation details — only what operators and users need to know.
- Distinctive: line 164
After making a significant decision or shipping a feature:
“Common” is measured: kept by at least 6 in 10 of the 36 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.
Files
Documentation and Architecture Decision Records
Overview
Document the why, not the what. Code explains what it does. Documentation explains why it does it that way, what alternatives were rejected, and what constraints apply. Architecture Decision Records (ADRs) are the canonical tool for capturing decisions that would be painful to reverse.
When to Use
- Making an architectural decision (choosing a library, pattern, or approach)
- Changing a public-facing API
- Adding a new feature that introduces a non-obvious constraint
- Resolving a significant technical debate
- Any decision that future agents or engineers would otherwise re-litigate
Architecture Decision Records (ADRs)
An ADR is a short document that records a single decision. It is immutable — once made, an ADR is never edited. Superseding decisions get a new ADR.
ADR Location
.agents/decisions/
ADR-001-skill-assembly-approach.md
ADR-002-secret-management-gcp.md
ADR-003-file-preview-truncation.mdADR Template
# ADR-[NNN]: [Short descriptive title]
**Date:** YYYY-MM-DD
**Status:** Proposed | Accepted | Superseded by ADR-[NNN]
**Deciders:** [Who was involved]
## Context
What situation or problem prompted this decision? Include constraints,
requirements, and any relevant background. Keep this to 1-3 paragraphs.
## Decision
The decision that was made. State it clearly and directly:
"We will use X because Y."
## Alternatives Considered
| Alternative | Why Rejected |
|---|---|
| Option A | Reason it was ruled out |
| Option B | Reason it was ruled out |
## Consequences
**Positive:**
- What becomes easier or possible
**Negative / Trade-offs:**
- What becomes harder or is given up
## See Also
- Link to related ADRs, docs, or issuesADR Examples for GitScape
# ADR-001: Use Cloud Run for API Hosting
**Date:** 2026-06-01
**Status:** Accepted
## Context
GitScape's API is stateless — no database, no persistent file storage.
Requests process a GitHub repository and return a generated skill zip.
## Decision
Host the API on Cloud Run (fully managed) rather than GKE or GCE.
## Alternatives Considered
| Alternative | Why Rejected |
|---|---|
| GKE | Requires cluster management; no benefit for a stateless service |
| GCE | Requires OS management; too much operational overhead |
| App Engine | Less flexible for Python async workloads; Cloud Run preferred |
## Consequences
**Positive:** Zero cluster management, scales to zero, pay-per-use.
**Negative:** Cold start latency (~1-2s) on first request after idle.Inline Code Documentation
When to Write Comments
# GOOD: Explains WHY, not WHAT
# GitHub's API rate-limits to 5000 requests/hour for authenticated users.
# We batch file fetches to minimize API calls during skill generation.
async def fetch_repo_files_batched(repo: str) -> list[File]:
...
# BAD: Explains WHAT (the code already does this)
# Loop through files and add to list
for f in files:
result.append(f)Docstrings
Write docstrings for all public functions in the API:
async def generate_skill(repo: str, tier: str = "standard") -> SkillBundle:
"""Generate a skill bundle from a GitHub repository.
Args:
repo: GitHub repository in "owner/repo" format.
tier: Skill tier. "standard" uses the base model;
"hd" uses the enhanced model (requires HD_TIER env var).
Returns:
SkillBundle containing the assembled SKILL.md and supporting files.
Raises:
RepoNotFoundError: If the repository does not exist or is private.
RateLimitError: If the GitHub API rate limit is exceeded.
"""README Updates
When shipping a feature, update the README if it changes:
- How to run the project locally
- A new environment variable that is required
- A new endpoint or behavior that users interact with
Do not update the README to describe implementation details — only what operators and users need to know.
Common Rationalizations
| Rationalization | Reality |
| "The code is self-documenting" | Code explains what. Documentation explains why. Both are needed. |
| "We'll document it later" | There is no later. The decision context is freshest right now. |
| "ADRs are too formal for a small project" | The size of the project doesn't change the cost of re-litigating a decision 6 months later. |
| "I'll remember why we did this" | You won't. Future-you and future-agents will thank present-you for writing it down. |
Red Flags
- Architectural decisions with no record of why alternatives were rejected
- "Obvious" design choices that turn out to be load-bearing constraints
- New environment variables with no documentation
- Code comments that say "don't change this" without explaining why
Verification
After making a significant decision or shipping a feature:
- ADR created for any architectural decision that took more than 5 minutes to make
- ADR is in
.agents/decisions/with sequential numbering - Inline comments explain why, not what
- Public API functions have docstrings
- README updated if user-visible behavior changed
- New environment variables are documented in
.env.example
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.

