[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79TNPJRV3J63R2015RE3F2B":3,"skill-same:01M79TNPJRV3J63R2015RE3F2B":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79TNPJRV3J63R2015RE3F2B","understand-chat",null,"Use when you need to ask questions about a codebase or understand code using a knowledge graph","nahid-sparktales\u002Flocus","nahid-sparktales","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F278225096?v=4","01M79TH2FX7X29N8H3X182C80G","01M79TH2H2GAQMG6QSF80M16G8",22,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Funderstand-anything\u002Fupstream\u002Fskills\u002Funderstand-chat\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: understand-chat\ndescription: Use when you need to ask questions about a codebase or understand code using a knowledge graph\nargument-hint: \"[query]\"\n---\n\n# \u002Funderstand-chat\n\nAnswer questions about this codebase using the knowledge graph in the project's data directory (`.ua\u002Fknowledge-graph.json`, or the legacy `.understand-anything\u002Fknowledge-graph.json` when that directory is present).\n\n## Graph Structure Reference\n\nThe knowledge graph JSON has this structure:\n- `project` — {name, description, languages, frameworks, analyzedAt, gitCommitHash}\n- `nodes[]` — each has {id, type, name, filePath?, summary, tags[], complexity, languageNotes?}\n  - Code node types: file, function, class, module, concept\n  - Non-code node types: config, document, service, table, endpoint, pipeline, schema, resource\n  - Domain\u002Fknowledge node types: domain, flow, step, article, entity, topic, claim, source\n  - IDs use the node type as prefix, e.g. `file:path`, `function:path:name`, `config:path`, `article:path`\n- `edges[]` — each has {source, target, type, direction, weight}\n  - Key types: imports, contains, calls, depends_on, configures, documents, deploys, triggers, contains_flow, flow_step, related, cites\n- `layers[]` — each has {id, name, description, nodeIds[]}\n- `tour[]` — each has {order, title, description, nodeIds[]}\n\n## How to Read Efficiently\n\n1. Use Grep to search within the JSON for relevant entries BEFORE reading the full file\n2. Only read sections you need — don't dump the entire graph into context\n3. Node names and summaries are the most useful fields for understanding\n4. Edges tell you how components connect — follow imports and calls for dependency chains\n\n## Instructions\n\n1. **Resolve the data directory `$UA_DIR`.** Run `UA_DIR=$([ -d .understand-anything ] && echo .understand-anything || echo .ua)` — this is the legacy `.understand-anything\u002F` when it already exists, otherwise the new `.ua\u002F`. Check that `$UA_DIR\u002Fknowledge-graph.json` exists in the current project root. If not, tell the user to run `\u002Funderstand` first.\n\n2. **Check graph freshness before using graph-derived context**:\n   - Read `project.gitCommitHash` from the graph metadata as `GRAPH_COMMIT_RAW`. Resolve it as a commit before using it in any Git diff, then compare it with `git rev-parse HEAD` and inspect project-scoped committed and working-tree changes from the project root:\n     ```bash\n     GRAPH_COMMIT=$(git rev-parse --verify --end-of-options \"${GRAPH_COMMIT_RAW}^{commit}\" 2>\u002Fdev\u002Fnull)\n     git rev-parse HEAD\n     git diff --name-only \"$GRAPH_COMMIT\" HEAD -- .\n     git diff --cached --name-only -- .\n     git diff --name-only -- .\n     git ls-files --others --exclude-standard -- .\n     ```\n   - The `-- .` pathspec is required: commits that only touch a sibling monorepo project must not make this graph stale. A hash mismatch alone is not stale when the project diff is empty.\n   - Ignore the selected data directory (`.ua\u002F` or legacy `.understand-anything\u002F`) in every command's output because it contains generated graph artifacts, not project source drift.\n   - If the committed diff or any working-tree command reports project files, warn before answering that graph-derived context may omit those changes. Suggest: Run `\u002Funderstand` to refresh the graph.\n   - Run the commit diff only when `GRAPH_COMMIT_RAW` resolves successfully. If the graph commit or Git metadata is missing, invalid, or unavailable, give a brief best-effort warning and continue instead of blocking.\n\n3. **Read project metadata only** — use Grep or Read with a line limit to extract just the `\"project\"` section from the top of the file for context (name, description, languages, frameworks).\n\n4. **Search for relevant nodes** — use Grep to search the knowledge graph file for the user's query keywords: \"$ARGUMENTS\"\n   - Search `\"name\"` fields: `grep -i \"query_keyword\"` in the graph file\n   - Search `\"summary\"` fields for semantic matches\n   - Search `\"tags\"` arrays for topic matches\n   - Note the `id` values of all matching nodes\n\n5. **Find connected edges** — for each matched node ID, Grep for that ID in the `edges` section to find:\n   - What it imports or depends on (downstream)\n   - What calls or imports it (upstream)\n   - This gives you the 1-hop subgraph around the query\n\n6. **Read layer context** — Grep for `\"layers\"` to understand which architectural layers the matched nodes belong to.\n\n7. **Answer the query** using only the relevant subgraph:\n   - Reference specific files, functions, and relationships from the graph\n   - Explain which layer(s) are relevant and why\n   - Be concise but thorough — link concepts to actual code locations\n   - If the query doesn't match any nodes, say so and suggest related terms from the graph\n","# \u002Funderstand-chat\n\nAnswer questions about this codebase using the knowledge graph in the project's data directory (`.ua\u002Fknowledge-graph.json`, or the legacy `.understand-anything\u002Fknowledge-graph.json` when that directory is present).\n\n## Graph Structure Reference\n\nThe knowledge graph JSON has this structure:\n- `project` — {name, description, languages, frameworks, analyzedAt, gitCommitHash}\n- `nodes[]` — each has {id, type, name, filePath?, summary, tags[], complexity, languageNotes?}\n  - Code node types: file, function, class, module, concept\n  - Non-code node types: config, document, service, table, endpoint, pipeline, schema, resource\n  - Domain\u002Fknowledge node types: domain, flow, step, article, entity, topic, claim, source\n  - IDs use the node type as prefix, e.g. `file:path`, `function:path:name`, `config:path`, `article:path`\n- `edges[]` — each has {source, target, type, direction, weight}\n  - Key types: imports, contains, calls, depends_on, configures, documents, deploys, triggers, contains_flow, flow_step, related, cites\n- `layers[]` — each has {id, name, description, nodeIds[]}\n- `tour[]` — each has {order, title, description, nodeIds[]}\n\n## How to Read Efficiently\n\n1. Use Grep to search within the JSON for relevant entries BEFORE reading the full file\n2. Only read sections you need — don't dump the entire graph into context\n3. Node names and summaries are the most useful fields for understanding\n4. Edges tell you how components connect — follow imports and calls for dependency chains\n\n## Instructions\n\n1. **Resolve the data directory `$UA_DIR`.** Run `UA_DIR=$([ -d .understand-anything ] && echo .understand-anything || echo .ua)` — this is the legacy `.understand-anything\u002F` when it already exists, otherwise the new `.ua\u002F`. Check that `$UA_DIR\u002Fknowledge-graph.json` exists in the current project root. If not, tell the user to run `\u002Funderstand` first.\n\n2. **Check graph freshness before using graph-derived context**:\n   - Read `project.gitCommitHash` from the graph metadata as `GRAPH_COMMIT_RAW`. Resolve it as a commit before using it in any Git diff, then compare it with `git rev-parse HEAD` and inspect project-scoped committed and working-tree changes from the project root:\n     ```bash\n     GRAPH_COMMIT=$(git rev-parse --verify --end-of-options \"${GRAPH_COMMIT_RAW}^{commit}\" 2>\u002Fdev\u002Fnull)\n     git rev-parse HEAD\n     git diff --name-only \"$GRAPH_COMMIT\" HEAD -- .\n     git diff --cached --name-only -- .\n     git diff --name-only -- .\n     git ls-files --others --exclude-standard -- .\n     ```\n   - The `-- .` pathspec is required: commits that only touch a sibling monorepo project must not make this graph stale. A hash mismatch alone is not stale when the project diff is empty.\n   - Ignore the selected data directory (`.ua\u002F` or legacy `.understand-anything\u002F`) in every command's output because it contains generated graph artifacts, not project source drift.\n   - If the committed diff or any working-tree command reports project files, warn before answering that graph-derived context may omit those changes. Suggest: Run `\u002Funderstand` to refresh the graph.\n   - Run the commit diff only when `GRAPH_COMMIT_RAW` resolves successfully. If the graph commit or Git metadata is missing, invalid, or unavailable, give a brief best-effort warning and continue instead of blocking.\n\n3. **Read project metadata only** — use Grep or Read with a line limit to extract just the `\"project\"` section from the top of the file for context (name, description, languages, frameworks).\n\n4. **Search for relevant nodes** — use Grep to search the knowledge graph file for the user's query keywords: \"$ARGUMENTS\"\n   - Search `\"name\"` fields: `grep -i \"query_keyword\"` in the graph file\n   - Search `\"summary\"` fields for semantic matches\n   - Search `\"tags\"` arrays for topic matches\n   - Note the `id` values of all matching nodes\n\n5. **Find connected edges** — for each matched node ID, Grep for that ID in the `edges` section to find:\n   - What it imports or depends on (downstream)\n   - What calls or imports it (upstream)\n   - This gives you the 1-hop subgraph around the query\n\n6. **Read layer context** — Grep for `\"layers\"` to understand which architectural layers the matched nodes belong to.\n\n7. **Answer the query** using only the relevant subgraph:\n   - Reference specific files, functions, and relationships from the graph\n   - Explain which layer(s) are relevant and why\n   - Be concise but thorough — link concepts to actual code locations\n   - If the query doesn't match any nodes, say so and suggest related terms from the graph\n",{"name":5,"description":7,"argument-hint":23},"[query]","main","f208867dc28cb250af1bb839cc9eb78d5bdf8df1","agent\u002Follama_code\u002Fbuiltin_skills\u002Funderstand-anything\u002Fupstream\u002Fskills\u002Funderstand-chat",1,"https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus","https:\u002F\u002Flocushost.co","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales","2026-10-23 06:15:17",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add nahid-sparktales\u002Flocus --skill understand-chat",{"tool":38,"command":39},"bunx","bunx skills add nahid-sparktales\u002Flocus --skill understand-chat",{"tool":41,"command":42},"pnpm","pnpm dlx skills add nahid-sparktales\u002Flocus --skill understand-chat","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Funderstand-anything\u002Fupstream\u002Fskills\u002Funderstand-chat\u002FSKILL.md",true,[],[47,56,64,72,80,88],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":52,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M79TQNH2XPDQRDZCJKZ5FMQY","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","MIT","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fwriting-skills\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M79TQH62FT3Q5WNFSNYPHW5Q","writing-plans","Prepare a saved implementation plan for a substantial multi-step request.","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fwriting-plans\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M79TQBAG6D20EPN45KZ2G1Y5","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fverification-before-completion\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M79TQ2TH5FW4KQZ5194BB961","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fvercel-react-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M79TPXZHP81WAXKW9CVMXACB","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fusing-superpowers\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":51,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M79TPR4TSQ1YXAPRXR0778HV","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fusing-git-worktrees\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnahid-sparktales\u002Flocus\u002Fblob\u002Fmain\u002Fagent\u002Follama_code\u002Fbuiltin_skills\u002Fusing-git-worktrees\u002FSKILL.md",[],[]]