plastic-intent-creating

Solid

Use when new work begins, the user expresses a new goal, says "new intent", or no active intent exists for the current task. Creates intents in the global store (~/.plastic/store/) or in a project's store (~/.plastic/projects/{slug}/store/) depending on context.

AI & Automation 9 stars 0 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
33
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Creating an Intent ## When to Use - User starts new work ("build X", "fix Y", "research Z") - No active intent matches the current task - User explicitly says "new intent" or "create intent" - An agent discovers work needed during implementation ## Determine Tier **Global intent** (strategic): created when working outside a registered project, or when the user expresses a high-level goal. Stored in `~/.plastic/store/`. **Project intent** (tactical): created when working inside a registered project directory. Stored in `~/.plastic/projects/{slug}/store/`. Automatically linked to the project's governing intent. ### Detection logic: 1. Read `~/.plastic/projects.yml` 2. **CWD match:** Match CWD against registered project paths - If CWD is inside a registered project → **project intent (tactical)** 3. **Explicit mention:** User mentions an existing project by name ("add this to reddit-kb", "new intent for plastic") - Look up project in `projects.yml` by slug - If found → **project intent (tactical)** in that project's store at `~/.plastic/projects/{slug}/store/` - Agent changes working directory to the project path for execution 4. **No match:** CWD is not in a project AND no project mentioned - → **global intent (strategic)** in `~/.plastic/store/` When creating a tactical intent in a project store: - Read the project's `AGENTS.md` for project context and decisions - Link back to the project's governing intent (from `projects.yml` `parent` field) via `sourc...

Details

Author
zalom
Repository
zalom/plastic
Created
2 months ago
Last Updated
1 weeks ago
Language
Ruby
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category