agentleFS
aws-solutions-library-samplesaws-solutions-library-samples/accelerated-intelligent-document-processing-on-aws/.claude/skills/update-solution-profile/SKILL.md

update-solution-profile

Skill329 starsChanged 6 days agoMIT-0View on GitHub

Use at release time, after the CHANGELOG is cut, to review the solution profile, add its changes.yaml entry and set reviewed_for_version.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill at release time, after the CHANGELOG section for the release is cut (cut-release-changelog) and before publishing.

    line 8
  2. Very specific:

    If the manifest's version does not equal VERSION, make version was not used.

    line 42
  3. Distinctive:

    Read the release's CHANGELOG section in full.

    line 47
  4. Very specific:

    Ids are stable: Never rename or reuse an id.

    line 68
  5. Very specific:

    Add one entry at the top of releases (newest first):

    line 74
  6. Distinctive:

    Leave out an item whose action is simply "none".

    line 88
  7. Distinctive:

    Only do this after Steps 2 and 3: the field is a person's statement that the curated files were checked against this release, and consumers …

    line 96
  8. Very specific:

    After the GitHub Release is created (docs/release-runbook.md Step 6), the

    line 107

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

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

Update the solution profile for a release — GenAI IDP Accelerator

Use this skill at release time, after the CHANGELOG section for the release is cut (cut-release-changelog) and before publishing. It reviews the curated files in solution-profile/ against what the release changed, records the release in changes.yaml, and marks the profile as reviewed for it.

Trigger phrases: "update the solution profile for the release", "review the profile for 0.6.16", or the failure message make solution-profile-check prints on a release-prep commit, which names this file.

The profile is described in docs/solution-profile.md. Its contract is vendored in solution-profile/schema/v1/; read its README.md for the meaning of every field. Do not edit the vendored files.

Why this step exists

make solution-profile-check applies the contract's release rules whenever VERSION is a final X.Y.Z: reviewed_for_version must equal version, and changes.yaml must have an entry for it. So once make version V=<x.y.z> has run, the check (and with it make lint, make lint-cicd and both CIs) stays red until this skill has been followed. That is deliberate: the release cadence is weekly, and nothing else would stop the profile quietly describing an older release.

The cross-checks (hook points, presets, file formats, selectable models, launch Regions, recent releases) have already been enforcing coverage on every pull request, so what is left here is judgement about content that no gate can derive.

Step 1 — Confirm the version

cat VERSION                                              # final X.Y.Z, not .devN or rcN
grep -n '^version:' solution-profile/solution-profile.yaml   # make version wrote the same value
make solution-profile-check                              # expect the release-rule failures only

If the manifest's version does not equal VERSION, make version was not used; run it rather than editing either file.

Step 2 — Review the curated files against the release

Read the release's CHANGELOG section in full. For each entry, decide whether it changes something the profile states, and edit the item that states it:

CHANGELOG entry is aboutReview
a new feature or a feature leaving previewcapabilities.yaml (status, since, description, configuration)
a limit, a measured size, or a refusallimitations.yaml (numbers and their conditions, impact, mitigations)
a hook, a configuration route, the extension frameworkextension-points.yaml (constraints, modes, effort, upgrade_risk)
a new Region, partition or deployment optiondeployment.yaml
a new question a delivery must now askdiscovery-questions.yaml
the Capacity Planning page or the cost calculatorsizing.yaml

Rules for the content, which review is the only thing that enforces:

  • Every number keeps its conditions. Copy a measured figure with what it was measured on ("on the v0.6.14 grid, at the shipped default model"). Never round a measurement into a guarantee, and say "not measured" where the docs do.
  • Evidence must still say what the item says. An item whose evidence page was rewritten may now be wrong while every path still resolves.
  • Customer-safe and generic. Nothing in the profile may name a customer, a consumer, an internal programme, team, person, tool or URL.
  • Ids are stable. Never rename or reuse an id. A capability that goes away stays in its file with status: retired for at least one release.
  • No counts of repository files or tests in descriptions.

Step 3 — Add the release to changes.yaml

Add one entry at the top of releases (newest first):

  - version: <x.y.z>
    date: <YYYY-MM-DD>          # the day the release is tagged
    summary: <one or two sentences: the headline changes>
    action_required:            # every non-"none" Action item in the CHANGELOG section
      - text: <what a user must do when upgrading>
        affects: [capability:<id>]
    affects: [capability:<id>, deployment:<id>]
    evidence: [CHANGELOG.md]

action_required mirrors the CHANGELOG's **Action:** and ⚠️ **Action:** items. Leave out an item whose action is simply "none"; keep one that says "none, except …" and write the exception as the text. Keep at least the latest ten releases; the cross-check fails if one of the latest ten in CHANGELOG.md has no entry, or has an action item in the CHANGELOG and an empty action_required.

Step 4 — Mark the profile reviewed

Set reviewed_for_version: <x.y.z> in solution-profile/solution-profile.yaml. Only do this after Steps 2 and 3: the field is a person's statement that the curated files were checked against this release, and consumers rely on it.

Step 5 — Verify

make solution-profile-check            # release rules ON, validator "valid", cross-checks passed
make solution-profile-build            # writes dist/solution-profile-genai-idp-accelerator-<x.y.z>.tar.gz
make solution-profile-build            # again: the .sha256 must not change

After the GitHub Release is created (docs/release-runbook.md Step 6), the Solution profile release asset workflow attaches the tarball and its .sha256 to it. If that run failed or did not start, run it for the tag:

gh workflow run solution-profile-release.yml -f tag=v<x.y.z>

After the release

The next make version V=<x.y.z+1>.dev1 writes the development version into the manifest and turns the release rules off again. reviewed_for_version stays at the release until the next time this skill runs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.