From appmaker
Compact context retrieval for codebase questions. Uses Graphify data when available, falls back to standard file discovery, and writes small context packets to appmaker/context/ for PRD/decompose/TDD/review reuse. Invoked by other commands when they need codebase awareness. User can invoke manually for ad-hoc queries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/appmaker:contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Codebase context retrieval. Graphify = read-only intelligence layer. AppMaker persists only small context packets, never raw graph state.
Codebase context retrieval. Graphify = read-only intelligence layer. AppMaker persists only small context packets, never raw graph state.
grill, interview, prd, decompose, diagnose, tdd, review when they need codebase context/appmaker:context "<topic>" for ad-hoc queries--no-save (print only), --feature <NNN-slug>, --backlog <NNN>--no-save)appmaker/context/<YYYY-MM-DD>-<topic-slug>.md unless --no-saveRead:
appmaker/config.yaml for graphify_enabled, graphify_out_dir, graphify_context_packet_dir<graphify_out_dir>/GRAPH_REPORT.md<graphify_out_dir>/graph.jsonCheck Graphify CLI availability with a small command discovery (graphify --help or equivalent).
If config enables Graphify + report exists + graph exists + CLI exists → Graphify mode. Else → standard mode.
Use Graphify's public surface. Do not reimplement graph traversal.
<graphify_out_dir>/GRAPH_REPORT.md first: communities, god nodes, surprising connections.graphify query "<topic>".graphify path "<A>" "<B>".graphify explain "<concept>".appmaker/templates/context-packet-template.md.Token budget: aim for <2k tokens.
README.md, package.json (or equivalent) for project shape.source: standard.Token budget: aim for <5k tokens.
Default packet dir: appmaker/context/ unless config overrides graphify_context_packet_dir.
Claude MUST persist via Bash tool — DO NOT only print packet content to chat. Past sessions showed 9 context invocations with 0 packets persisted due to skipping this step.
Persist via Bash tool (use heredoc):
mkdir -p appmaker/context
PACKET_PATH="appmaker/context/$(date -u +%Y-%m-%d)-<topic-slug>.md"
cat > "$PACKET_PATH" <<'PACKET_EOF'
---
id: <date>-<topic-slug>
topic: <topic>
source: graphify # or "standard"
generated: <ISO timestamp>
graphify_out_dir: graphify-out
queries:
- graphify query "<topic>"
- graphify path "A" "B" # if used
related_feature: <NNN-slug or empty>
related_backlog_item: <NNN or empty>
---
# Context Packet: <topic>
## Summary
[3-6 bullets — what matters for current task]
## Relevant Communities
| Community | Why it matters | Confidence |
|---|---|---|
| ... | ... | high/medium/low |
## Key Files
| File | Why relevant | Read? |
|---|---|---|
| `path/to/file.ts` | ... | yes/no |
## Graph Relationships (Graphify mode only)
| Relationship | Evidence | Confidence |
|---|---|---|
| `A` → `B` | `graphify path` | medium |
## Risks / Constraints
- ...
## Open Questions
- ...
## Source Notes
- Graphify data is read-only context. Treat inferred/ambiguous edges as hypotheses.
PACKET_EOF
echo "✓ Context packet: $PACKET_PATH"
Verification before returning: test -f "$PACKET_PATH" to confirm. Return packet path to caller (other skill or user). Without persistence, downstream commands can't reference packet via context_packets field.
Packet captures:
graphify or standard)Downstream commands consume packet path instead of re-querying broad context.
If standard mode was used and topic is broad or repeated, suggest:
Graphify not available. Consider enabling:
graphify .
graphify claude install
Then re-run /appmaker:context "<topic>"
Never auto-install.
## Context: <topic>
**Source:** Graphify graph (4041 nodes, 185 communities) -- OR --
**Source:** Standard file discovery (no Graphify)
**Packet:** appmaker/context/2026-05-11-auth-tenancy.md
### Relevant files
- `src/auth/middleware.ts` — extracts tenant from subdomain
- `src/auth/jwt.ts` — JWT augmentation with tenant claim
- `lib/db/rls.sql` — Supabase RLS policies on tenant_id
### Community context (Graphify mode only)
- **Auth & tenancy** community: 12 files, central concepts: tenant, JWT, RLS
### Risks / constraints
- Auth changes may affect Supabase RLS assumptions.
### Token cost
~1.2k tokens (Graphify mode)
graph.json unless implementing checklist-level validation.appmaker/context/; don't save raw Graphify output.Source: Standard.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub paweldobrzynski/appmaker --plugin appmaker