project-object
БесплатноЗапускает вложенные скриптыНе проверенSession memory that compounds - remember decisions, patterns, and corrections across AI coding sessions. Includes standards injection for consistent code…
от Equilateral-AI★ 61 звезда на GitHubОб этом скилле
Project/Object - Session Memory for AI Agents
You have access to a session memory system that persists context between conversations. This skill teaches you two protocols: session memory (remember what matters) and standards injection (enforce project rules automatically).
1. Session Memory Protocol
On Session Start
Read the project context file to restore memory from previous sessions:
Determine the project name:
- Try:
git remote get-url originand extract the repo name - Fallback: use the basename of the current working directory
- Try:
Read the context file at:
~/.project-object/{project-name}/context.mdIf the file exists, treat its contents as established project knowledge. These are decisions, patterns, and corrections from previous sessions that should inform your current work.
If the file does not exist, this is a new project. Create the context file using the template in the Context Format section below after the first meaningful session.
Context Authority
- Decisions in the context file represent explicit user choices. Do not second-guess them unless the user raises the topic.
- Patterns in the context file represent established conventions. Follow them consistently.
- Corrections represent past mistakes. Avoid repeating them.
- Notes are informational. Reference them when relevant.
Context Staleness
Context files grow stale. If a context file hasn't been updated in 30+ days and contains information that contradicts what you observe in the codebase, flag the contradiction to the user rather than silently following outdated context.
2. Context Format
The context file uses markdown with four standard sections:
# Project Context: {project-name}
## Decisions
- Key decisions made during sessions
- Example: Using PostgreSQL instead of DynamoDB for relational data
- Example: All API responses use camelCase, not snake_case
## Patterns
- Patterns and conventions to follow
- Example: All handlers use wrapHandler pattern
- Example: Tests go in __tests__/ directory next to source files
## Corrections
- Important corrections from past sessions
- Example: Main branch is 'main', not 'master'
- Example: Don't use connection pools in Lambda functions
## Notes
- General notes and reminders
- Example: CI runs on push to main only
- Example: The database migration tool is in scripts/migrate.sh
Rules
- Each item is a single markdown bullet (
-) - Keep items concise (one line each)
- Aim for fewer than 200 lines total
- Deduplicate: if two items say the same thing, keep the more specific one
- Organize by importance within each section (most important first)
3. Harvesting Rules
Before a session ends or when conversation is being compacted, extract new context from the conversation transcript.
What to Harvest
Scan the conversation for signals that indicate persistent knowledge:
Decisions (user made a choice):
- Phrases: "let's go with", "decided", "chose", "going with", "we'll use", "switching to", "prefer"
- Example: User says "let's go with Tailwind instead of styled-components" -> Add to Decisions: "Using Tailwind CSS for styling, not styled-components"
Patterns (recurring convention established):
- Phrases: "always", "never", "pattern", "convention", "standard", "rule", "every time"
- Example: User says "always put the error handler last" -> Add to Patterns: "Error handlers are always the last middleware"
Corrections (user corrected the agent):
- Phrases: "actually", "no", "not X but Y", "correction", "wrong", "that's incorrect", "I said"
- Example: User says "no, the deploy script is in ops/ not scripts/" -> Add to Corrections: "Deploy scripts are in ops/ directory, not scripts/"
Notes (useful project knowledge):
- Phrases: "remember", "note", "FYI", "keep in mind", "important", "don't forget"
- Example: User says "remember the API rate limits reset at midnight UTC" -> Add to Notes: "API rate limits reset at midnight UTC"
What NOT to Harvest
Never persist:
- Passwords, secrets, tokens, API keys, credentials
- Temporary debugging context ("add a console.log here")
- One-time tasks ("fix this typo")
- Personal information unrelated to the project
- Speculative ideas that weren't confirmed ("maybe we could...")
Merge Protocol
When adding new items to an existing context file:
- Read the existing context file
- For each new item, check if a similar item already exists
- If duplicate: keep the more specific or more recent version
- If new: append to the appropriate section
- If contradicts existing: replace the old item with the new one
- Write the updated file back to disk
4. Standards Injection Protocol
If the project has a standards directory with YAML rule files, load and enforce those standards during the session. This provides consistent code quality across all sessions and all contributors.
Detection
On session start, check for standard
Установить project-object в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл project-object?
Session memory that compounds - remember decisions, patterns, and corrections across AI coding sessions. Includes standards injection for consistent code quality.
Как установить скилл project-object?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-object запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic