highway-implementation
Manages one reference implementation from one accepted reference architecture. Use when a reference architecture is accepted and the person wants the implementation that realizes it, or when another highway skill hands one off.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- highway-implementation
- license
- Apache-2.0
- metadata
- { "usage": "Run highway-implementation with one architecture id.", "version": "7.16.0" }
- description
- Manages one reference implementation from one accepted reference architecture. Use when a reference architecture is accepted and the person wants the implementation that realizes it, or when another highway skill hands one off.
02 资源文件 4
- 资产文件assets/implementation-record.md3.3 KB
- 参考文档references/amend.md4.8 KB
- 参考文档references/proposal.md3.2 KB
- 参考文档references/record.md10.8 KB
03 SKILL.md 正文
highway-implementation
Purpose
Creates one proposed Reference Implementation from an accepted Reference Architecture after the person accepts the proposed realization, and records new realized capabilities on an accepted implementation when highway-codify-config passes them, and sets the preferred delivery platforms on an accepted implementation when highway-codify hands it off.
When to use
- The person invokes
highway-implementationwith one Reference Architecture id. - The person invokes
highway-implementationwithout a Reference Architecture id. highway-codify-confignames an accepted implementation, new realized capabilities, and a return step.highway-codifynames an accepted implementation and a return step.highway-onboardinghands off an accepted Reference Architecture id, a provider, and the capabilities it serves.
When not to use
Do not select an architecture by recency, filename, or batch.
Do not use a Reference Architecture whose status is not accepted.
Do not change the architecture, Discovery, Request, Profile, Objectives, Controls, or NFRs.
Do not change the ADR.
Do not create plans, tasks, source code, or infrastructure definitions.
Do not authorize deployment.
Do not create a capability record file or a capability workflow.
Do not report Status, Summary, Next Action, Blocking Reason, Missing, Complete, or Blocked.
Inputs
- One Reference Architecture id that matches one row in
architectures/architectures.md, when the person supplies one. - The accepted architecture at
architectures/[ID].md. - Accepted Profile, Objectives, Controls, and NFRs when present.
clarifications/clarifications.mdwhen present, forCLAR-[RA id]only.architectures/architectures.mdandimplementations/implementations.md.assets/implementation-record.md.implementations/capabilities.mdandlibrary/coding-standards/codify-platforms.md.- The highway-experience skill, activated first.
Outputs
The complete structure is assets/implementation-record.md. implementations/implementations.md, implementations/capabilities.md, and library/coding-standards/codify-platforms.md keep the structure highway-setup seeded.
- One implementation record at
implementations/[ID].mdafter the person accepts the proposed realization, or whenhighway-onboardinghands off an accepted Reference Architecture id. - An updated
implementations/implementations.mdwritten with that record. - An updated
implementations/capabilities.mdwritten with that record. - One row in
library/coding-standards/codify-platforms.md, with blank When to use and When not to use, when the accepted implementation can start automation. - A closing message that names the implementation.
- New realized capabilities appended to an accepted implementation and to its rows in
implementations/capabilities.md, whenhighway-codify-configpasses them. - Rewritten Execution lines on an accepted implementation, when
highway-codifyhands it off and the person accepts. - No implementation when the architecture is missing, not accepted, incompatible, or a write fails.
Procedure
Activate the highway-experience skill before any output the person sees, and follow it for Highway's identity, the Experience Standard, and the storage contract.
Before the first question, confirm these seeded files exist: implementations/implementations.md, implementations/capabilities.md, library/coding-standards/codify-platforms.md.
When any is absent, emit the message below exactly, stop, and write nothing.
Oops... we need to setup your repository.
Highway needs to gather your organizational preferences and set up your repository. Run highway-setup to get started.
Emit only the active template. Follow this order: onboarding when highway-onboarding hands off an accepted Reference Architecture id; add capabilities when highway-codify-config passes new realized capabilities; delivery platforms, with delivery decline, when highway-codify hands off an accepted implementation; choose when no architecture id is supplied; otherwise start, which follows execution, then identifier, title when needed, write, platforms, and close. The accepted Reference Architecture remains authoritative. A realization cannot redesign it or override the ADR. A missing Profile, Objective, Control, or NFR continues without invented evidence. A malformed one of those baselines stops the skill and writes nothing. Clarification is read-only. An open finding can inform a risk. It cannot block the proposal.
One accepted architecture can have more than one current implementation. A current implementation is an accepted implementation-catalog row for that architecture. A removed row does not count and does not block a new one. Creating another leaves every existing implementation in place and does not change the decision or the architecture.
Before a step in this table, read its file and follow it to the end.
| File | Steps |
|---|---|
references/proposal.md |
start |
references/record.md |
identifier, title, write, platforms |
references/amend.md |
add capabilities, delivery platforms, delivery decline |
Entry
When highway-onboarding hands off an accepted RA id, a provider, and the capabilities it serves, go to onboarding.
- When the invocation names an accepted implementation, new realized capabilities, and a return step, go to
add capabilities. - When the invocation names an accepted implementation and a return step, and names no realized capabilities, go to
delivery platforms. - Read the invocation for one Reference Architecture id. When it has none and contains the exact title of one accepted architecture, that architecture's id is present. Compare without regard to case.
- When none is present, go to
choose. - When an id is present, resolve it. When it matches no architecture, stop. Say the architecture was not found. Write nothing.
- When that architecture status is not
accepted, stop. Say the architecture is not accepted. Write nothing. - When that architecture already has current implementations, show each current implementation, then go to
start. A new implementation can still be proposed. - Otherwise go to
start.
choose
Read architectures/architectures.md and implementations/implementations.md. Every architecture whose Status is accepted can be chosen, including one that already has current implementations. Count current implementations from accepted rows for that Architecture ID. A removed row does not count. Do not open architecture records to build this list.
When none are accepted, say that no accepted Reference Architecture is available. Write nothing.
Otherwise emit one numbered line per accepted architecture, starting at 1, in architecture catalog order. Show the Architecture ID, its title, and how many current implementations it has. A stated number selects that architecture.
1. [Architecture ID]: [Architecture Title] — [count] current implementations
Which Reference Architecture would you like to realize?
Classify the reply:
- A Reference Architecture id, a listed architecture title, or its number: follow Entry from case 4.
unknown: re-emit this list. Stay onchoose.decline: stop. Write nothing.
onboarding
highway-onboarding hands off one accepted RA id, the provider, and the capabilities it serves. Write the implementation as accepted without asking the person, except for the question in step 4. Emit nothing else. This visit returns only to highway-onboarding. Do not go to a step another highway-implementation visit holds.
- Resolve the architecture as Entry does from case 5. When Entry would stop, return to
highway-onboardingand say why. Do not show current implementations. - Build the realization as
startdoes, without emitting it. Do not followexecution. The technology choice is the provider. Followcapability titlefor each capability the provider serves. When the realization would contradict the architecture, write nothing. Return tohighway-onboardingand say the implementation could not be written. - Execution is
Deployed by: Needed,Managed by: Needed, andLanguage: Needed. - Derive the title and the id as
identifierdoes. Ask only thetitlemessage, whenidentifierwould go totitle. Write nothing until the person gives a usable title. Adeclinewrites nothing and returns tohighway-onboardingwithout an implementation. - When
identifierreuses the existing record, go to step 6. Otherwise write aswritedoes. A failed write leaves every existing implementation and capability-catalog byte unchanged. Return tohighway-onboardingand say the implementation could not be written. - Follow
platforms. Return theRIid tohighway-onboarding, and whetherplatformsincluded the platform.
Classify
Classify the latest reply before any other action.
edit: adds, removes, corrects, or replaces realization text.accept: affirms the proposed realization and adds no fact.unknown: the person says they do not know.question: asks for an explanation.decline: the person stops or cancels.
On start, "looks good" is accept.
execution
Read library/coding-standards/codify-platforms.md when present. A row with a blank Kind is not a candidate. This implementation's row is not a candidate. Read library/coding-standards/coding-standards.md when present.
- Deployed by is the earliest candidate whose Kind is
pipeline. When none, the earliestorchestrator. When none, the earliestdesired-state. When none, the earliestagent. - Managed by is the earliest candidate whose Kind is
self-service. When none, the earliestagent. When none, the Deployed by row. - Language is the earliest standard whose Technology appears on its own in a Technology Choice
Choice:. Compare without regard to case. A boundary on each side makes an entry appear on its own. When none match, Language is None. - When Deployed by or Managed by has no row, hold
Needed. Do not take the first catalog row. - Return to the step that named this one.
field
- A platforms-catalog row replaces Deployed by or Managed by. Show its title.
- When the name has an accepted implementation and no row, emit "Let's configure [Platform]." Then follow
highway-codify-configfor [Platform], with the return stepexecutioninhighway-implementation. - When the name has no accepted implementation, emit "Let's onboard [Platform]." Then follow
highway-onboardingfor [Platform], with the return stepexecutioninhighway-implementation. - A listed coding-standard title, or None, replaces Language. Any other title is left out. Say: [Title] is not a listed coding standard. To add it, run highway-codify-config.
- Re-emit the proposal. Stay on
start.
why it matters
[Product title] is the implementation title. [codify platform] is the platform the field names. [Language] is the standard Language names. Emit the line that fits each field:
- Deployed by names a platform: highway-codify will use [codify platform] to get [Product title] up and running.
- Deployed by is Needed: highway-codify needs a codify platform to get [Product title] up and running.
- Managed by names a platform: highway-codify will use [codify platform] for managing [Product title] once its running.
- Managed by is Needed: highway-codify needs a codify platform for managing [Product title] once its running.
- Language names a standard: highway-codify will treat [Product title] as a [Language] coding project.
- Language is None: highway-codify will treat this as a Platform to manage as opposed to a coding project to write.
capability title
- Each capability title follows the capability title rule.
- Split a title that joins two things into one capability per part, in its place in the list. Do not ask first. Each part keeps every other value of the entry it came from.
- Shorten a title of six or more words to five words or fewer. Keep its meaning.
- Leave out a part that matches a capability already listed.
- When step 2 changed an edit, its consequence sentence is: [Entry] is now [Part] and [Part]. If one is later done apart from the other, one joined capability would compound the effect of that change.
- When step 3 changed an edit, its consequence sentence is: [Entry] is now [Title].
- Return to the step that named this one.
close
Reference Implementation recorded
- Implementation record:
implementations/[RI id].md - Title: [Title]
- Identifier:
[RI id] - Architecture:
[RA id]
This is a realization blueprint. It does not authorize deployment.
Verification
- A Reference Architecture id for an accepted architecture opens the proposed realization.
- An invocation without an id lists every accepted architecture. Each line shows the Architecture ID, its title, and how many current implementations it has. The list is numbered. A stated number selects that architecture. A removed implementation row does not count as current.
- When an architecture already has current implementations, those implementations are shown and a new one can still be proposed.
- Declining a proposal writes nothing, and existing implementations stay as they were.
- An architecture that is not accepted writes nothing.
- One accepted architecture can have more than one current implementation. Creating another leaves the existing ones in place.
- The proposed realization is accepted before the record is written.
- A contradiction with the architecture writes nothing.
- Each capability title follows the capability title rule. A title that joins two things becomes two capabilities without a question, and the consequence sentence names the compounding effect.
- The record contains no plans, tasks, source code, or infrastructure definitions.
- The skill does not change the Reference Architecture, the decision statement, the rationale, the selected option, or the decision status.
- The skill does not write an implementation id onto the ADR.
- A handoff from
highway-onboardingwrites an accepted implementation without a proposal and returns itsRIid to highway-onboarding, never to a step another visit holds. It asks only the title message, when the title cannot be used. Adeclinewrites nothing. - An onboarded implementation stores Deployed by, Managed by, and Language as
Needed. - The
startproposal and the delivery platforms view follow Deployed by, Managed by, and Language each with its Why it matters line fromwhy it matters.
Error Handling
- A missing or unknown architecture stops the skill and writes nothing.
- An architecture that is not accepted stops the skill and writes nothing.
- A realization that contradicts the architecture stops the write and names the conflict.
- A malformed present Profile, Objective, Control, or NFR baseline stops the skill and writes nothing.
- A failed write leaves the architecture and every other implementation unchanged, and leaves existing implementation, implementation-catalog, and capability-catalog bytes unchanged.
- Declining a proposal writes nothing.
Example
/highway-implementation RAb7c41e20
04 同仓库更多 Skills
valid-skill
A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
invalid_skill_bad_id
Fixture whose directory name is not kebab-case, to test the id failure path. Use when the tests exercise the validator.
invalid-skill-undeclared-key
A fully conformant fixture skill used only by the tests to validate the authoring framework. Use when the tests exercise the validator.
invalid-skill-short-description
暂无简介
invalid-skill-relative-link
Fixture whose body carries a relative Markdown link target, to test the P8.7 failure path. Use when the tests exercise the validator.
invalid-skill-nondeterministic-criterion
Fixture whose decision criteria depend on when they are read, to test the P6.4 failure path. Use when the tests exercise the validator.