From 4fd2f6595c8b56c44307ca91d2107160dfabe0d7 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:22:14 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ SKILL.md | 49 ++++++++++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 SKILL.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..b7d85ee --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "prime-skill", + "description": "Quickly understand and load a codebase by examining repository structure, README, and AI documentation. Use when starting work on a new project, need to refresh context about how a project is organized, or want to get a quick overview of a codebase's architecture and purpose.", + "version": "1.0.0", + "author": { + "name": "Don Jacobsmeyer", + "email": "hello@donjacobsmeyer.com" + }, + "skills": [ + "./" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3d78703 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# prime-skill + +Quickly understand and load a codebase by examining repository structure, README, and AI documentation. Use when starting work on a new project, need to refresh context about how a project is organized, or want to get a quick overview of a codebase's architecture and purpose. diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..6fec572 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,49 @@ +--- +name: prime-skill +description: Quickly understand and load a codebase by examining repository structure, README, and AI documentation. Use when starting work on a new project, need to refresh context about how a project is organized, or want to get a quick overview of a codebase's architecture and purpose. +allowed-tools: Bash, Read, Glob +--- + +# Prime + +Quickly understand and load a codebase context. This skill examines the repository structure, documentation, and AI docs to give you a comprehensive overview of how the project is organized and what it does. + +## Prerequisites + +- You're in a git repository or project directory +- The project has a README.md file +- Optionally, the project has an `ai_docs/` directory with additional documentation + +## Workflow + +1. **List repository files** - Get an overview of what's tracked in the repository +2. **Read main README** - Understand the project's purpose and structure +3. **Read AI documentation** - Load any additional AI-focused documentation if it exists +4. **Summarize understanding** - Provide a concise summary of the codebase + +## Instructions + +Execute these sections in order to understand the codebase: + +1. Run `git ls-files` to see what's tracked +2. Read and analyze `@README.md` to understand project purpose +3. If available, read and analyze `@ai_docs/README.md` for technical architecture +4. Summarize your findings in a clear, structured format + +## Examples + +**Example 1: Priming a Node.js project** +``` +User: Prime this codebase for me +Claude: [Lists files with git ls-files] +[Reads README.md] +[Reads ai_docs/README.md if exists] +Summary: This is a Node.js web application with... +``` + +**Example 2: Getting quick context** +``` +User: I'm back on this project, what was it about? +Claude: [Executes prime workflow] +Summary: TypeScript-based CLI tool for... +``` diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..786241d --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:djacobsmeyer/claude-skills-engineering:plugins/prime-skill", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "7de6f6d03ba94a216f421b68263cef62318b2940", + "treeHash": "64ec926c3bc3e179f854a0a428e916d8059f98a436615a6b428cf28166750925", + "generatedAt": "2025-11-28T10:16:28.308246Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "prime-skill", + "description": "Quickly understand and load a codebase by examining repository structure, README, and AI documentation. Use when starting work on a new project, need to refresh context about how a project is organized, or want to get a quick overview of a codebase's architecture and purpose.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "7682f12026e84086f0547e599f18eed80188714e6ad6139703311c609e155981" + }, + { + "path": "SKILL.md", + "sha256": "25ff100d7ec60c3b935c04db0427907dcb3c8067e2d1d9a07a23c5286856e7b7" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "775403cb1c6bf3f53383007f23ffa9aeeecffd8b29071e566d44de1752ab8cfa" + } + ], + "dirSha256": "64ec926c3bc3e179f854a0a428e916d8059f98a436615a6b428cf28166750925" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file