Repository navigation
feat(agent-instructions): use the skill directly from a clone - #21
Merged
Merged
Conversation
Link the skill into the project skill folders and route job-search requests from AGENTS.md, so a cloned repository works without a plugin install and updates with git pull. Refs #20 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With only the plugin loaded, Claude Code registers the skill as headhunter:headhunter. Refs #20 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lets a user clone this repository and start an AI agent in it to use the headhunter skill, with no plugin install. Updating is
git pull..claude/skills/headhunterand.agents/skills/headhuntertoskills/headhunter, which stays the only copy.AGENTS.mdthat routes job-search work toSKILL.mdand limits the repository rules to repository changes./headhunter:headhunter, in the plugin install steps of both READMEs.README.zh-TW.md.Related Issues
Fixes #20
Type of Change
Validation
Run on macOS with Claude Code 2.1.287, on a
git cloneof a snapshot of this change, withHEADHUNTER_DATA_DIRset to a temporary folder and no Candidate data.claude plugin validate .claude plugin validate .claude-plugin/plugin.jsonCLAUDE.mdwarninggit clone../../skills/headhunterhh.py initandhh.py candidate listthrough each linkclaude -pin the clone with no plugin installedheadhunterclaude -p --plugin-dir .in the cloneheadhunterandheadhunter:headhunter, which are the same skillclaude --plugin-dir <repo>from an empty folder outside the repositoryheadhunter:headhunterThe plugin case used
--plugin-dirrather than a marketplace install, to leave the local Claude Code configuration unchanged.Not run:
/headhunterwith only the plugin loaded. The local CLI's OAuth session had expired, so the command never ran and whether the short name resolves is unknown. The README uses the registered name.Final commit:
claude plugin validate .andclaude plugin validate .claude-plugin/plugin.jsonpassed again, and an OpenCC scan of tracked files found no Simplified Chinese characters beyond false positives on valid Traditional text.Checklist
skills/headhunter/SKILL.md,README.mdandREADME.zh-TW.mdupdated when behavior or data layout changed (SKILL.mdis unchanged because skill behavior is unchanged)🤖 Generated with Claude Code