Skip to content

Add first-party Packref agent skill with workflow, command boundaries, and README documentation - #22

Merged
adelrodriguez merged 1 commit into
mainfrom
08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation
Aug 6, 2026
Merged

Add first-party Packref agent skill with workflow, command boundaries, and README documentation#22
adelrodriguez merged 1 commit into
mainfrom
08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation

Conversation

@adelrodriguez

Copy link
Copy Markdown
Collaborator

Adds a first-party packref skill for coding agents, teaching them how to locate, inspect, and reason about exact dependency sources recorded in a project's Packref lockfile.

The skill defines a structured workflow covering lockfile orientation, path resolution for scoped and unscoped packages, tree restoration via packref install, source traversal, and citation practices. It also documents command boundaries to prevent agents from running destructive or interactive commands without explicit user intent, and provides concrete examples for common scenarios including scoped packages, missing trees, untracked packages, and multi-version comparisons.

The README is updated with installation instructions pointing to the skill on skills.sh.

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e333e6be7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread skills/packref/SKILL.md
Comment on lines +14 to +15
1. Check for `.packref/packref-lock.json`, then run `packref list` in an initialized project to
orient before fetching or removing anything.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Read repository instructions before using Packref

When this portable skill runs in a repository whose AGENTS.md imposes command, validation, or source-handling constraints, the workflow begins using Packref without telling the agent to discover and follow those instructions. .plans/08-packref-skill.md:93 explicitly requires that reminder; add it before the workflow so repository-local safety rules are not bypassed.

AGENTS.md reference: AGENTS.md:L5-L9

Useful? React with 👍 / 👎.

@adelrodriguez
adelrodriguez force-pushed the 08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation branch from 2e333e6 to 81d5cd8 Compare August 6, 2026 02:33
@adelrodriguez
adelrodriguez force-pushed the 08-05-implement_install_command_with_committed_lockfile_materialization_and_gitignore_migration branch from 69da968 to 2392326 Compare August 6, 2026 02:33
@adelrodriguez
adelrodriguez force-pushed the 08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation branch from 81d5cd8 to 2b11f85 Compare August 6, 2026 02:41
@adelrodriguez
adelrodriguez force-pushed the 08-05-implement_install_command_with_committed_lockfile_materialization_and_gitignore_migration branch from 2392326 to ce7b7c9 Compare August 6, 2026 02:41
@adelrodriguez
adelrodriguez changed the base branch from 08-05-implement_install_command_with_committed_lockfile_materialization_and_gitignore_migration to graphite-base/22 August 6, 2026 02:54
@adelrodriguez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b11f85e8a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread skills/packref/SKILL.md
@@ -0,0 +1,66 @@
---
name: packref
description: Inspects the exact dependency source a project references through Packref. Use when tracing a package's implementation, debugging exact-version integration behavior, comparing referenced versions, materializing missing Packref source, or when the user mentions Packref.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the catch-all Packref mention trigger

When an ordinary package-management or generic API question merely mentions Packref, this clause tells the agent to activate a source-inspection skill even though .plans/08-packref-skill.md:82-84 explicitly defines those as non-trigger cases. This can inject irrelevant workflow instructions and redirect the agent toward materializing source; narrow the trigger to requests to use Packref or inspect exact dependency source.

AGENTS.md reference: AGENTS.md:L5-L9

Useful? React with 👍 / 👎.

@adelrodriguez
adelrodriguez force-pushed the 08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation branch from 2b11f85 to 921cff5 Compare August 6, 2026 03:09
@adelrodriguez
adelrodriguez changed the base branch from graphite-base/22 to main August 6, 2026 03:09
@adelrodriguez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 921cff5466

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@adelrodriguez
adelrodriguez merged commit 159b84b into main Aug 6, 2026
5 of 10 checks passed
@adelrodriguez
adelrodriguez deleted the 08-05-add_first-party_packref_agent_skill_with_workflow_command_boundaries_and_readme_documentation branch August 6, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant