added
This commit is contained in:
1 parent
ac5d2cb40d
commit
7cc251a47c
4 files changed
+101
-16
No files matched your search
@@ -15,6 +15,7 @@ This repo uses SemVer-style releases:
|
||||
- Added `VERSION` as the one-line local repo version source.
|
||||
- Added `pid-release.json` as the machine-readable release manifest for agents.
|
||||
- Added `skills/PID-version-checker-skill.md` for checking local skill/template freshness before other PID workflows run.
|
||||
- Added `skills/PID-release-compatibility-checker-skill.md` for final release-readiness checks before tagging.
|
||||
- Added freshness preflight expectations for PID creation and maintenance workflows.
|
||||
- Added version-check preferences to the maintenance skill user variables file.
|
||||
- Added `skills-receipts` as the preferred durable receipt folder.
|
||||
|
||||
@@ -50,6 +50,36 @@ Do not include sensitive identifiers such as exact addresses, private account nu
|
||||
|
||||
The recommended pattern is to keep a maintained source document and share a URL to that source, rather than sending static copies that quickly go out of date.
|
||||
|
||||
## You Can Stop Here
|
||||
|
||||
You do not need to read the rest of this document or understand every file in this repo before getting started.
|
||||
|
||||
If you are using a local AI agent such as Codex Desktop, Claude Desktop, or another AI tool with file access, point it to the folder where this repo lives on your machine.
|
||||
|
||||
Tell it:
|
||||
|
||||
```text
|
||||
We need to build my PID. Use the PID skills in this repo. Tell me what you need from me.
|
||||
```
|
||||
|
||||
And once built:
|
||||
|
||||
```text
|
||||
Where do I submit my PID so I can network with others?
|
||||
```
|
||||
|
||||
And to maintain your PID:
|
||||
|
||||
```text
|
||||
What do we need to do on a weekly basis to keep my PID current so I am visible for relevant opportunities?
|
||||
```
|
||||
|
||||
Think of this repo as a lightweight desktop app for your AI agent. Instead of buttons and screens, it gives your AI the instructions, templates, and process files it needs to help you create and maintain your PID.
|
||||
|
||||
Most of the "code" in this repo is written as skills: human-readable documents structured so AI agents know what workflow to follow, what to ask, what to produce, and what not to do.
|
||||
|
||||
Unlike a normal desktop app with a graphical interface, the interface here is your AI agent chat. You ask the agent what to do, and the files in this repo give it the process to follow.
|
||||
|
||||
## What's In This Repo
|
||||
|
||||
This repository contains the core materials for creating and maintaining a PID.
|
||||
@@ -59,6 +89,7 @@ This repository contains the core materials for creating and maintaining a PID.
|
||||
- [skills/PID-update-maintenance-skill.md](skills/PID-update-maintenance-skill.md): an AI-agent skill for reviewing your recent activity and drafting updates to keep your PID fresh. Use this skill to have AI maintain your PID for you.
|
||||
- [skills/PID-update-maintenance-skill-user-variables.md](skills/PID-update-maintenance-skill-user-variables.md): a user-owned companion configuration file for the maintenance skill. Put your PID path, approved source locations, privacy rules, output folders, section preferences, and user-specific workflow adjustments here instead of editing the main maintenance skill.
|
||||
- [skills/PID-version-checker-skill.md](skills/PID-version-checker-skill.md): an AI-agent skill for checking whether this repo, the PID template, and the PID skills are current before a PID workflow runs.
|
||||
- [skills/PID-release-compatibility-checker-skill.md](skills/PID-release-compatibility-checker-skill.md): a maintainer skill to run after repo changes and before tagging a release so version files, changelog, README, manifest, skill preflights, receipt paths, and user-owned file policies stay synchronized.
|
||||
- [VERSION](VERSION): the current repo release version.
|
||||
- [pid-release.json](pid-release.json): a machine-readable release manifest that tells agents which files are maintainer-owned, which files are user-owned, and how updates should be handled.
|
||||
- [CHANGELOG.md](CHANGELOG.md): release notes and historical change notes.
|
||||
@@ -338,6 +369,12 @@ If a newer version is available, the agent should report:
|
||||
|
||||
The agent should then ask whether to update before continuing. Updates should not be applied silently.
|
||||
|
||||
If your local PID template folder is a Git clone, the agent may be able to update it directly after you approve the update, usually by using Git commands such as `git pull` and `git fetch --tags`.
|
||||
|
||||
If you downloaded this repo as a ZIP file or copied the files manually, the agent usually cannot safely retrieve and replace the files automatically. In that case, it should tell you to download the latest repo ZIP or specific updated files, then ask you to point it at the downloaded files. The agent can then help compare and merge the maintainer-owned files while preserving your user-owned files.
|
||||
|
||||
For manual updates, copy or merge maintainer-owned files only. Do not overwrite user-owned files unless you explicitly want to reset them.
|
||||
|
||||
User-owned files include:
|
||||
|
||||
- `skills/PID-update-maintenance-skill-user-variables.md`
|
||||
@@ -361,11 +398,14 @@ Maintainer-owned files include:
|
||||
When maintainers publish a new release:
|
||||
|
||||
1. Update the template, skills, docs, or manifests.
|
||||
2. Update `VERSION`.
|
||||
3. Update `pid-release.json`.
|
||||
4. Update `CHANGELOG.md`.
|
||||
5. Commit the changes.
|
||||
6. Tag the release, for example:
|
||||
2. Run [skills/PID-release-compatibility-checker-skill.md](skills/PID-release-compatibility-checker-skill.md).
|
||||
3. Apply any required compatibility fixes.
|
||||
4. Update `VERSION`.
|
||||
5. Update `pid-release.json`.
|
||||
6. Update `CHANGELOG.md`.
|
||||
7. Run the compatibility checker again.
|
||||
8. Commit the changes.
|
||||
9. Tag the release, for example:
|
||||
|
||||
```powershell
|
||||
git tag v0.2.0
|
||||
|
||||
@@ -56,6 +56,12 @@
|
||||
"owner": "maintainer",
|
||||
"update_policy": "replace"
|
||||
},
|
||||
{
|
||||
"path": "skills/PID-release-compatibility-checker-skill.md",
|
||||
"version": "0.2.0",
|
||||
"owner": "maintainer",
|
||||
"update_policy": "replace"
|
||||
},
|
||||
{
|
||||
"path": "skills/PID-initial-creation-skill.md",
|
||||
"version": "0.2.0",
|
||||
|
||||
@@ -29,6 +29,9 @@ This skill guarantees:
|
||||
- It will check for newer versions using local Git metadata first, then remote Git tags or a remote manifest only when the host has access and the user permits the check.
|
||||
- It will summarize the local version, latest known version, and relevant changelog entries.
|
||||
- It will ask for explicit user approval before applying updates.
|
||||
- It will distinguish Git-managed repos from ZIP/manual-download folders.
|
||||
- It will use Git update commands only when the local folder is a Git repo and the host has permission.
|
||||
- It will instruct non-Git users to download the latest repo ZIP or specific updated files, then help compare and merge those files when available.
|
||||
- It will preserve user-owned files, especially `skills/PID-update-maintenance-skill-user-variables.md`, review drafts, receipts, and personal PID files.
|
||||
- It will continue the calling workflow when remote freshness cannot be verified, unless the user explicitly asks to stop.
|
||||
- It will create or update a durable receipt for serious update checks or any applied update.
|
||||
@@ -41,6 +44,7 @@ The skill expects:
|
||||
- Optional remote URL or Git remote.
|
||||
- Optional user preference about whether to check remote versions.
|
||||
- Optional user preference about whether to apply updates now or only report status.
|
||||
- Optional downloaded latest repo ZIP or extracted latest repo folder for non-Git manual comparison and merge.
|
||||
|
||||
Default local repo files:
|
||||
|
||||
@@ -76,8 +80,9 @@ Optional:
|
||||
|
||||
- Git CLI access for tags, remotes, fetch, pull, and status.
|
||||
- Network access for remote version checks.
|
||||
- A downloaded latest repo ZIP or extracted latest repo folder for non-Git manual comparison and merge.
|
||||
|
||||
If Git or network access is unavailable, report that freshness could not be fully verified and continue using the local version.
|
||||
If Git or network access is unavailable, report that freshness could not be fully verified and continue using the local version. If the folder is not a Git repo, do not attempt Git updates; give the user manual download-and-merge instructions.
|
||||
|
||||
## Ensures
|
||||
|
||||
@@ -89,6 +94,7 @@ Before finishing, this skill ensures:
|
||||
- User-owned files are not overwritten without explicit user request.
|
||||
- Update status is recorded in the calling skill receipt when this skill is used as a preflight.
|
||||
- A standalone update-check receipt is created for serious checks or any applied update.
|
||||
- Non-Git users receive clear download-and-merge instructions instead of unsafe automatic overwrite behavior.
|
||||
|
||||
## Capabilities
|
||||
|
||||
@@ -121,6 +127,7 @@ Map abstract workflow needs to available host actions:
|
||||
- Ask user: ask before remote checks if required by host policy, and always before applying updates.
|
||||
- Read/write files: read version files, changelog, and manifest; write receipts.
|
||||
- Run shell command: optionally run Git commands such as `git status`, `git tag --list`, `git fetch --tags`, `git describe`, and `git pull`.
|
||||
- Manual files: for non-Git users, compare the current folder to a user-downloaded latest repo folder or ZIP extraction before copying maintainer-owned files.
|
||||
- Use connector: not normally required.
|
||||
- Use browser: optional for public release pages.
|
||||
- Create durable report: write the update-check receipt when possible.
|
||||
@@ -135,8 +142,9 @@ If the host cannot provide a required primitive, narrow the workflow and record
|
||||
2. Read `VERSION` if present.
|
||||
3. Read `pid-release.json` if present.
|
||||
4. Read the top of `CHANGELOG.md` if present.
|
||||
5. Optionally inspect local Git tags.
|
||||
6. Determine the best local version value.
|
||||
5. Detect whether the folder is Git-managed by checking for `.git` or successful Git metadata commands.
|
||||
6. Optionally inspect local Git tags.
|
||||
7. Determine the best local version value.
|
||||
|
||||
Completion criteria:
|
||||
|
||||
@@ -177,7 +185,9 @@ If update is available:
|
||||
1. Summarize what changed.
|
||||
2. List likely files to update.
|
||||
3. List user-owned files that will be preserved.
|
||||
4. Ask whether to apply the update now or continue with the current version.
|
||||
4. State whether the current folder appears to be Git-managed or manually downloaded/copied.
|
||||
5. For Git-managed folders, ask whether to apply the update now or continue with the current version.
|
||||
6. For non-Git folders, explain that the agent cannot safely pull updates automatically. Tell the user to download the latest repo ZIP or specific updated files, then ask the agent to compare and merge them.
|
||||
|
||||
Stop here unless the user explicitly approves updating.
|
||||
|
||||
@@ -185,12 +195,22 @@ Stop here unless the user explicitly approves updating.
|
||||
|
||||
If the user approves:
|
||||
|
||||
1. Confirm the worktree status before updating.
|
||||
2. Warn if there are uncommitted local changes that may conflict.
|
||||
3. Prefer normal Git update mechanisms when the repo is Git-managed.
|
||||
4. Preserve user-owned files from `pid-release.json`.
|
||||
5. Re-read `VERSION`, `pid-release.json`, and relevant skill files after updating.
|
||||
6. Report success or any files that need manual review.
|
||||
1. If the repo is Git-managed:
|
||||
- Confirm the worktree status before updating.
|
||||
- Warn if there are uncommitted local changes that may conflict.
|
||||
- Prefer normal Git update mechanisms such as fetch, pull, and tag fetch.
|
||||
- Preserve user-owned files from `pid-release.json`.
|
||||
- Re-read `VERSION`, `pid-release.json`, and relevant skill files after updating.
|
||||
- Report success or any files that need manual review.
|
||||
2. If the folder is not Git-managed:
|
||||
- Do not run Git update commands.
|
||||
- Ask the user to download the latest repo ZIP or specific updated files from the release source.
|
||||
- Ask the user for the path to the extracted latest repo folder or downloaded files.
|
||||
- Compare maintainer-owned files from the downloaded latest copy against the local folder.
|
||||
- Copy or merge only maintainer-owned files after user approval.
|
||||
- Do not overwrite user-owned files unless the user explicitly asks to reset them.
|
||||
- Re-read `VERSION`, `pid-release.json`, and relevant skill files after the manual merge.
|
||||
- Report files changed, files skipped, and any manual review needed.
|
||||
|
||||
Do not use destructive Git commands such as reset, checkout, clean, or force overwrite unless the user explicitly requests them.
|
||||
|
||||
@@ -209,9 +229,11 @@ Write `skills-receipts/PID-version-check-run-receipt-[YYYY-MM-DD].md` when:
|
||||
Before finishing, verify:
|
||||
|
||||
- [ ] Local version source is recorded.
|
||||
- [ ] Repo type is recorded as Git-managed, non-Git/manual, or unknown.
|
||||
- [ ] Remote/latest version source is recorded, or unavailable status is recorded.
|
||||
- [ ] Update status is classified.
|
||||
- [ ] User approval was requested before any update was applied.
|
||||
- [ ] Non-Git users were given download-and-merge instructions instead of Git commands.
|
||||
- [ ] User-owned files were preserved.
|
||||
- [ ] Receipt was written when required, or inability to write it was reported.
|
||||
|
||||
@@ -224,6 +246,7 @@ Run every time:
|
||||
- `VERSION` and `pid-release.json` agree when both exist.
|
||||
- Manifest JSON parses when available.
|
||||
- The changelog contains the current version when available.
|
||||
- Git-managed vs non-Git/manual folder status is classified.
|
||||
- User-owned files are listed before any update proposal.
|
||||
|
||||
### Tier 2: Realistic Workflow Review
|
||||
@@ -232,6 +255,7 @@ Run before applying updates:
|
||||
|
||||
- Check Git worktree status.
|
||||
- Confirm update source.
|
||||
- For non-Git users, confirm the downloaded latest repo folder or files before merging.
|
||||
- Re-read version metadata after update.
|
||||
- Confirm user-owned files still exist.
|
||||
|
||||
@@ -259,7 +283,9 @@ Before finishing a serious update check, map:
|
||||
|
||||
- local metadata files found or missing
|
||||
- Git metadata found or missing
|
||||
- repo type: Git-managed, non-Git/manual, or unknown
|
||||
- remote access available or unavailable
|
||||
- downloaded latest files available or unavailable for manual update
|
||||
- user-owned files detected
|
||||
- update status
|
||||
- receipt status
|
||||
@@ -286,6 +312,10 @@ Actively handle:
|
||||
- local repo is ahead of remote
|
||||
- user variables file contains private paths
|
||||
- user downloaded a ZIP and is not in a Git repo
|
||||
- user has no Git installed
|
||||
- user downloaded the latest ZIP but has not extracted it
|
||||
- user points to a downloaded folder from the wrong repo or wrong version
|
||||
- manual downloaded files omit `pid-release.json`
|
||||
- user wants to continue current skill without updating
|
||||
|
||||
## Regression Rule
|
||||
@@ -324,6 +354,9 @@ Do not:
|
||||
- pretend remote status is known when remote access failed
|
||||
- treat informal changelog notes as the only source of version truth
|
||||
- use destructive Git commands without explicit user request
|
||||
- run Git update commands in a non-Git folder
|
||||
- tell non-Git users that updates were applied when the user has not downloaded the latest files
|
||||
- copy files from a downloaded ZIP over user-owned files
|
||||
- ignore uncommitted local changes
|
||||
- block a PID workflow only because remote freshness could not be checked
|
||||
- bury available updates without telling the user
|
||||
@@ -348,6 +381,8 @@ Use this Markdown structure when writing `PID-version-check-run-receipt-[YYYY-MM
|
||||
|
||||
- Local repo path:
|
||||
- Remote:
|
||||
- Repo type: Git-managed / non-Git manual folder / unknown
|
||||
- Manual latest files path:
|
||||
|
||||
## Local Version
|
||||
|
||||
@@ -378,6 +413,8 @@ Use this Markdown structure when writing `PID-version-check-run-receipt-[YYYY-MM
|
||||
|
||||
- Files modified:
|
||||
- Git commands run:
|
||||
- Manual files copied or merged:
|
||||
- User-owned files preserved:
|
||||
- Nothing changed without explicit approval:
|
||||
|
||||
## Validation Results
|
||||
@@ -407,9 +444,10 @@ When finished, report concisely:
|
||||
- latest known version
|
||||
- whether update is available
|
||||
- whether update was applied or declined
|
||||
- whether the update path was Git-managed or manual download/merge
|
||||
- whether user-owned files were preserved
|
||||
- where the receipt was written, or why it was not written
|
||||
|
||||
## One-Sentence Version
|
||||
|
||||
Check local PID template and skill versions, compare them to the latest available release when possible, ask before updating, preserve user-owned files, and record the result so future agents know what happened.
|
||||
Check local PID template and skill versions, compare them to the latest available release when possible, branch between Git-managed updates and manual download/merge instructions, ask before updating, preserve user-owned files, and record the result so future agents know what happened.
|
||||
Reference in new issue
Block a user