agentme 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,12 +13,12 @@ metadata:
13
13
 
14
14
  ## Overview
15
15
 
16
- Creates or extends a monorepo that follows the standard layout from [agentme-edr-005](../../005-monorepo-structure.md):
16
+ Creates or extends a monorepo that follows the standard layout from [agentme-edr-005](../../../.xdrs/agentme/edrs/devops/005-monorepo-structure.md):
17
17
  top-level application folders, a shared library area, Mise-managed tooling, and Makefiles at every
18
18
  level so any contributor can build, lint, and test any part of the monorepo with a single,
19
19
  predictable command.
20
20
 
21
- Related EDR: [agentme-edr-005](../../005-monorepo-structure.md)
21
+ Related EDRs: [agentme-edr-005](../../../.xdrs/agentme/edrs/devops/005-monorepo-structure.md), [agentme-edr-013](../../../.xdrs/agentme/edrs/governance/013-contributing-guide-requirements.md)
22
22
 
23
23
  ## Instructions
24
24
 
@@ -96,6 +96,29 @@ Must include four sections:
96
96
  | `<app2>/` | <Short description of app2> |
97
97
  ```
98
98
 
99
+ #### Root `CONTRIBUTING.md`
100
+
101
+ Must explain the contribution workflow in a short, explicit way.
102
+
103
+ ```markdown
104
+ # Contributing
105
+
106
+ ## Bugs
107
+ Report bugs in GitHub issues with steps to reproduce, expected behavior, and actual behavior.
108
+
109
+ ## Features
110
+ Discuss feature ideas in an issue before opening a pull request so scope and approach can be agreed first.
111
+
112
+ ## Pull requests
113
+ Submit fixes and features through pull requests from feature branches targeting `main`.
114
+
115
+ ## Review etiquette
116
+ Use [Conventional Comments](https://conventionalcomments.org/) in review feedback.
117
+
118
+ ## Keep changes focused
119
+ Keep pull requests small and focused enough that review and discussion stay efficient.
120
+ ```
121
+
99
122
  ---
100
123
 
101
124
  ### Phase 3: Create the `shared/` area
@@ -219,6 +242,7 @@ After scaffolding, run the following checks and fix any issues:
219
242
  - `make lint` at the repository root passes.
220
243
  - `make test` at the repository root passes.
221
244
  - All folder and file names are lowercase and use hyphens.
245
+ - A `CONTRIBUTING.md` exists at the repository root and covers bugs, feature discussions, pull requests, Conventional Comments, and small focused changes.
222
246
  - Every application folder has a `README.md` covering all four required sections.
223
247
  - A `.mise.toml` exists at the repository root with all required tool versions pinned.
224
248
 
@@ -267,4 +291,4 @@ test:
267
291
  - **Cross-application dependency requested:** Refuse and suggest publishing the shared code as a library in `shared/libs/` instead.
268
292
  - **Module with no compilable output (e.g., pure scripts):** Still create the Makefile; `build` can be a no-op (`@true`) but the target must exist.
269
293
  - **Language not listed above:** Mirror the pattern — `build` produces an artifact, `lint` runs static analysis, `test` runs tests. Adapt commands to the actual toolchain.
270
- - **Existing files:** Never overwrite existing `README.md` or `Makefile` files without user confirmation. Diff and propose additions instead.
294
+ - **Existing files:** Never overwrite existing `README.md`, `CONTRIBUTING.md`, or `Makefile` files without user confirmation. Diff and propose additions instead.
@@ -0,0 +1,37 @@
1
+ # agentme-edr-013: Contributing guide requirements
2
+
3
+ ## Context and Problem Statement
4
+
5
+ Projects often document contributor expectations inconsistently or only inside README files, PR templates, or tribal knowledge. That causes avoidable review churn, premature feature implementation, and unfocused pull requests.
6
+
7
+ What contributor workflow guidance must every project publish so contributors know how to report bugs, discuss features, and submit changes?
8
+
9
+ ## Decision Outcome
10
+
11
+ **Every project must publish a root CONTRIBUTING.md with a small, explicit contribution workflow.**
12
+
13
+ Projects must keep a `CONTRIBUTING.md` file at the repository root. The file must explain where bugs, feature discussions, and code changes belong so contributors follow a predictable workflow before opening pull requests.
14
+
15
+ ### Implementation Details
16
+
17
+ - Every project **MUST** have a root `CONTRIBUTING.md`.
18
+ - The guide **MUST** direct bug reports to issues.
19
+ - The guide **MUST** direct feature ideas and feature discussions to issues before implementation starts.
20
+ - The guide **MUST** state that fixes and features are contributed through pull requests.
21
+ - The guide **MUST** state that pull requests come from feature branches targeting `main`.
22
+ - The guide **MUST** ask reviewers and contributors to use [Conventional Comments](https://conventionalcomments.org/) for review feedback.
23
+ - The guide **MUST** ask contributors to keep pull requests small enough to keep review and discussion focused.
24
+ - Project scaffolding skills **SHOULD** create the file by default when they initialize a repository.
25
+ - The content **SHOULD** stay concise and practical; do not turn `CONTRIBUTING.md` into a duplicate of `README.md`.
26
+
27
+ ## Considered Options
28
+
29
+ * (REJECTED) **Keep contribution rules implicit** - Rely on README text, issue templates, or maintainers explaining the workflow ad hoc.
30
+ * Reason: Inconsistent contributor behavior and avoidable review overhead.
31
+ * (CHOSEN) **Require a dedicated CONTRIBUTING.md** - Publish a short, explicit contribution workflow in a predictable location.
32
+ * Reason: Easy to discover, simple to scaffold, and clear enough for both humans and agents.
33
+
34
+ ## References
35
+
36
+ - [agentme-edr-005 - Monorepo structure](../devops/005-monorepo-structure.md)
37
+ - [002-monorepo-setup skill](../devops/skills/002-monorepo-setup/SKILL.md)
@@ -4,12 +4,6 @@ Engineering decisions specific to the agentme project: a curated library of XDRs
4
4
 
5
5
  Propose changes via pull request. All changes must be verified for clarity and non-conflict before merging.
6
6
 
7
- ## Related scope indexes
8
-
9
- - [_core EDRs Index](../../_core/edrs/index.md) - Cross-business general standards (overridden by this scope where conflicts are documented)
10
-
11
- XDRs in scopes listed last override the ones listed first.
12
-
13
7
  ## Principles
14
8
 
15
9
  Foundational standards, principles, and guidelines.
@@ -18,6 +12,13 @@ Foundational standards, principles, and guidelines.
18
12
  - [agentme-edr-004](principles/004-unit-test-requirements.md) - **Unit test requirements**
19
13
  - [agentme-edr-007](principles/007-project-quality-standards.md) - **Project quality standards**
20
14
  - [agentme-edr-009](principles/009-error-handling.md) - **Error handling**
15
+ - [agentme-edr-012](principles/012-continuous-xdr-enrichment.md) - **Continuous xdr improvement policy**
16
+
17
+ ## Articles
18
+
19
+ Synthetic views combining agentme XDRs and skills around a specific topic.
20
+
21
+ - [agentme-article-001](principles/articles/001-continuous-xdr-improvement.md) - **Continuous XDR improvement** (what an XDR is, when to write one, how to discuss it, how to organize it, workflow)
21
22
 
22
23
  ## Application
23
24
 
@@ -25,6 +26,7 @@ Language and framework-specific tooling and project structure.
25
26
 
26
27
  - [agentme-edr-003](application/003-javascript-project-tooling.md) - **JavaScript project tooling and structure** *(includes skill: [001-create-javascript-project](application/skills/001-create-javascript-project/SKILL.md))*
27
28
  - [agentme-edr-010](application/010-golang-project-tooling.md) - **Go project tooling and structure** *(includes skill: [003-create-golang-project](application/skills/003-create-golang-project/SKILL.md))*
29
+ - [004-select-relevant-xdrs](application/skills/004-select-relevant-xdrs/SKILL.md) - **Select relevant XDRs**
28
30
 
29
31
  ## Devops
30
32
 
@@ -34,6 +36,12 @@ Repository structure, build conventions, and CI/CD pipelines.
34
36
  - [agentme-edr-006](devops/006-github-pipelines.md) - **GitHub CI/CD pipelines**
35
37
  - [agentme-edr-008](devops/008-common-targets.md) - **Common development script names**
36
38
 
39
+ ## Governance
40
+
41
+ Contribution and collaboration standards shared across projects.
42
+
43
+ - [agentme-edr-013](governance/013-contributing-guide-requirements.md) - **Contributing guide requirements**
44
+
37
45
  ## Observability
38
46
 
39
47
  Health, metrics, logging, and monitoring standards.
@@ -0,0 +1,39 @@
1
+ # agentme-edr-012: Continuous xdr improvement policy
2
+
3
+ ## Context and Problem Statement
4
+
5
+ Teams using AI agents, vibe coding, and SDD often keep important implementation guidance only in prompts, review comments, or local habits. This slows delivery, fragments practices across teams, and forces repeated clarification.
6
+
7
+ Question: What policy should developers follow to continuously enrich XDRs so reusable engineering decisions are shared instead of remaining implicit?
8
+
9
+ ## Decision Outcome
10
+
11
+ **Develop features with shared-first XDR enrichment and controlled divergence**
12
+
13
+ Developers must treat reusable missing guidance discovered during implementation as an XDR gap to be proposed and reviewed, not as permanent prompt-only context or repeated vibe coding.
14
+
15
+ ### Implementation Details
16
+
17
+ - The main objective is sharing, discussing, and converging practices across teams. Controlled divergence during exploration is acceptable, but recurring successful decisions must be converged into shared XDRs.
18
+ - The non _local scope exists to share practices across projects, company areas, and functionally organized teams. Decisions placed in `_local` should be truly specific to the needs of a single application or repository.
19
+ - When developers or coding agents need too much detailed steering to complete a task, they must reflect on whether those details would help other teams or future implementations. If yes, create or update an XDR proposal in the broadest appropriate shared scope.
20
+ - This includes cases where an agent implemented a feature without a framework, pattern, coding standard, or other practice that should likely be standardized. Missing reusable guardrails should trigger an XDR proposal.
21
+ - Teams should aim to keep at least 80% of big coding decisions covered by accepted XDRs. Big decisions include framework or tool selection, overall code organization, monorepo structure, complex business flows, and coding standards.
22
+ - If a big decision is not yet covered, developers should either propose a new XDR or document why the decision is intentionally local and should not be shared.
23
+ - Leaders responsible for the affected scope are accountable for reviewing XDR proposals, adjusting them, and publishing the accepted decision.
24
+ - It is good practice to ask the coding agent which missing XDRs made the task harder, increased adjustment rounds, or forced more vibe coding. Those gaps should feed the XDR backlog.
25
+ - In SDD, specifications describe the feature being built; XDRs describe reusable decisions and guardrails that should survive beyond one feature. Do not keep durable engineering policy only inside feature specs.
26
+
27
+ ## Considered Options
28
+
29
+ * (REJECTED) **Force all decisions into local scopes first** - Safer for a single repository but weak for reuse.
30
+ * Reason: It overuses `_local`, reduces cross-team discussion, and turns shared practices into isolated variants.
31
+ * (CHOSEN) **Promote reusable development guidance into shared XDRs while keeping truly specific decisions local** - Balance exploration with convergence.
32
+ * Reason: It preserves local autonomy for application-specific needs while making reusable practices discussable, reviewable, and distributable.
33
+
34
+ ## References
35
+
36
+ - [_core-adr-001](../../../_core/adrs/principles/001-xdr-standards.md)
37
+ - [_core-article-001](../../../_core/adrs/principles/articles/001-xdrs-overview.md)
38
+ - [agentme-article-001](articles/001-continuous-xdr-improvement.md)
39
+ - [002-write-xdr skill](../../../../.github/skills/002-write-xdr/SKILL.md)
@@ -0,0 +1,93 @@
1
+ # agentme-article-001: Continuous XDR improvement
2
+
3
+ ## Overview
4
+
5
+ This article explains how architects, engineers and business professionals should recognize, organize, and promote reusable delivery decisions into XDRs as a continuous improvement activity. It is aimed at people working with coding agents, vibe-coding loops, or SDD-oriented delivery who need a practical path from task friction to shared documentation.
6
+
7
+ Continuous improvement matters because delivery decisions do not stay correct forever. Team structures change, platforms evolve, tools mature, and the trade-offs behind earlier choices shift over time. If XDRs are not revisited and improved continuously, previously useful decisions become stale guidance and eventually turn into a form of legacy documentation that misleads delivery instead of guiding it.
8
+
9
+ Continuous improvement also keeps the target state explicit. As XDRs evolve across projects and tracks, teams need a clear shared view of where they are trying to converge, what remains intentionally different, and what should be treated as technical debt on the path toward that target. Keeping XDRs current reduces confusion about the desired future state and helps each project evolve toward it deliberately instead of drifting through ad hoc local decisions.
10
+
11
+ ## Content
12
+
13
+ ### Start from delivery friction
14
+
15
+ The trigger for a new XDR is usually undocumented work that creates friction. That friction often appears when a feature needs repeated clarification about a business flow, integration pattern, code organization rule, or tool choice before the agent can produce acceptable code.
16
+
17
+ Common signals:
18
+
19
+ - The coding agent needs the same steering more than once.
20
+ - Reviews keep repeating the same correction or design preference.
21
+ - A flow depends on rules that are stable beyond one feature.
22
+ - A team solved a delivery problem in a way that other teams could reuse.
23
+
24
+ ### What is an XDR?
25
+
26
+ An XDR is a short decision record that captures a reusable choice and the reason for it. XDRs can be architectural (ADR), business (BDR), or engineering (EDR). They are the durable source of truth; prompts, review comments, and specs are not.
27
+
28
+ ### Decide whether it should become an XDR
29
+
30
+ Write or propose an XDR when a task depends on a decision that will likely be reused beyond one feature or repository. Common triggers are repeated prompt explanations, recurring review comments, and cases where an agent needed heavy steering on a framework, coding standard, tool, architecture pattern, or business flow.
31
+
32
+ Keep genuinely application-specific details in `_local`. Shared XDRs should capture decisions that help more than one team, product area, or recurring workflow.
33
+
34
+ Before drafting, reduce the issue to one reusable decision:
35
+
36
+ 1. Name the friction clearly.
37
+ 2. Identify the decision behind it.
38
+ 3. Decide whether it is shared or local.
39
+ 4. Choose the right XDR type and subject.
40
+ 5. Capture only durable guidance, not ticket-specific detail.
41
+
42
+ ### How do you initiate the discussion?
43
+
44
+ Start with the decision gap, not the preferred answer. Explain what slowed the work down, what had to be clarified manually, and who else would benefit from the guidance. If useful, ask the coding agent which missing XDRs made the task harder or caused extra vibe coding rounds.
45
+
46
+ Good opening questions:
47
+
48
+ - Which reusable decision was missing during this feature?
49
+ - Should this live in a shared scope or stay local to one repository?
50
+ - What trade-off are we trying to standardize?
51
+
52
+ ### How should you organize the XDR?
53
+
54
+ Follow the XDR template from [_core-adr-001](../../../_core/adrs/principles/001-xdr-standards.md). Keep the document small, explicit, and decision-focused.
55
+
56
+ Use this checklist:
57
+
58
+ 1. Choose the right type: ADR for architecture, BDR for business, EDR for engineering practice.
59
+ 2. Choose the broadest safe scope; use `_local` only for repository-specific decisions.
60
+ 3. Pick the subject folder that best matches the topic.
61
+ 4. Write the context as a problem statement ending with a clear question.
62
+ 5. State one chosen outcome and the concrete implementation details.
63
+ 6. Add considered options only when the alternatives matter.
64
+ 7. Link to related XDRs, skills, and discussions instead of duplicating long instructions.
65
+
66
+ ### Promote it into shared documentation
67
+
68
+ Once the decision is organized, move it from local discussion into a proposal that can be reviewed and published.
69
+
70
+ The practical workflow is:
71
+
72
+ 1. Notice the gap during development, review, or specification.
73
+ 2. Check existing XDRs first to avoid duplicates or conflicts.
74
+ 3. Decide whether the guidance is shared or truly local.
75
+ 4. Draft a concise XDR proposal with the standard template.
76
+ 5. Ask the leaders responsible for that scope to review, adjust, and publish it.
77
+ 6. Update the relevant index and any related skills or articles.
78
+ 7. On later reviews, check whether big decisions are now covered well enough to keep the team near the 80% target.
79
+
80
+ ### How does this fit coding agents, vibe coding, and SDD?
81
+
82
+ Coding agents are effective when durable guardrails already exist. Vibe-coding loops are useful for exploration, but if the same correction keeps being typed, the team is paying a documentation debt. SDD should keep feature-specific intent and acceptance criteria, while XDRs should hold reusable rules that must survive across features.
83
+
84
+ ### Practical rule of thumb
85
+
86
+ If the same clarification would likely be needed in another feature, by another team, or by another agent, it is a good XDR candidate. Move it into an XDR when the guidance is reusable, stable enough to standardize, and broad enough to help future delivery.
87
+
88
+ ## References
89
+
90
+ - [_core-adr-001](../../../_core/adrs/principles/001-xdr-standards.md) - XDR structure, numbering, and mandatory template
91
+ - [_core-article-001](../../../_core/adrs/principles/articles/001-xdrs-overview.md) - XDR introduction and general adoption guidance
92
+ - [agentme-edr-012](../012-continuous-xdr-enrichment.md) - Shared-first XDR enrichment policy and 80% coverage target
93
+ - [002-write-xdr skill](../../../../../.github/skills/002-write-xdr/SKILL.md) - Step-by-step procedure for drafting new XDRs
package/.xdrs/index.md CHANGED
@@ -28,5 +28,3 @@ Project-local XDRs that must not be shared with other contexts. Always keep this
28
28
  [View _local BDRs Index](_local/bdrs/index.md)
29
29
 
30
30
  [View _local ADRs Index](_local/adrs/index.md)
31
-
32
- [View _local EDRs Index](_local/edrs/index.md)
package/README.md CHANGED
@@ -4,6 +4,8 @@ Curated distribution package of XDRs and speckit agent workflow files for AI-ass
4
4
 
5
5
  This collection is being updated as we develop applications and feel the need for new instructions and skills to help with AI agents.
6
6
 
7
+ For guidance on turning recurring delivery friction into reusable decision records, see [Continuous XDR improvement](.xdrs/agentme/edrs/principles/articles/001-continuous-xdr-improvement.md).
8
+
7
9
  ## Getting Started
8
10
 
9
11
  This will extract all the features of agentme (skills, github configurations, speckit, xdrs collection):
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "agentme",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "",
5
5
  "dependencies": {
6
- "filedist": "^0.24.0",
7
- "xdrs-core": "^0.4.2"
6
+ "filedist": "^0.26.0",
7
+ "xdrs-core": "^0.7.1"
8
8
  },
9
9
  "bin": "bin/filedist.js",
10
10
  "files": [