neo4j-cypher

生成、优化和验证适用于 Neo4j 2025.x 和 2026.x 的 Cypher 25 查询。

仓库最近推送
GitHub Stars
159
Forks
9
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "neo4j-cypher":https://skillpi.com/zh/skills/deepskill-c0e54bead3ecd76cbc6d803bf3d1ac256b8e6d2f77f35660c5028232fc414cba。安装前核对上游来源和版本:https://github.com/hanamizuki/solopreneur。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

生成、优化和验证适用于 Neo4j 2025.x 和 2026.x 的 Cypher 25 查询。

0 下载

介绍来源: third_party · hanamizuki · 1.0.21 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: neo4j-cypher
description: Generates, optimizes, and validates Cypher 25 queries for Neo4j 2025.x and 2026.x.
  Use when writing new Cypher queries, optimizing slow queries, graph pattern matching, vector
  or fulltext search, subqueries, or batch writes. Covers MATCH, MERGE, CREATE, WITH, RETURN,
  CALL, UNWIND, FOREACH, LOAD CSV, SEARCH, expressions, functions, indexes, and subqueries.
  Does NOT handle driver migration or API changes — use neo4j-migration-skill.
  Does NOT cover DB administration or server ops — use neo4j-cli-tools-skill.
compatibility: Neo4j >= 2025.01 (safe baseline); Cypher 25
version: 1.0.21

When to Use

  • Writing, optimizing, or debugging Cypher queries
  • Graph pattern matching, QPEs, variable-length paths
  • Vector/fulltext search, subqueries, batch writes, LOAD CSV

When NOT to Use

  • Driver migration/API changes → neo4j-migration-skill
  • DB admin (users, config, backups) → neo4j-cli-tools-skill
  • Hybrid search that combines vector with fulltext or other ranked sources → neo4j-vector-index-skill

GQL conformance note: LET, FINISH, FILTER, and INSERT are valid Cypher 25 clauses (introduced via GQL conformance, mostly in Neo4j 2025.06). On older versions, fall back to WITH / (omit RETURN) / WHERE / CREATE. INSERT requires &-separated multi-labels and does not support dynamic labels/types.


Pre-flight

? Known Unknown
<db-name>-schema.json found in project Use it directly — skip live inspection —
Schema (from context or live DB) Use directly Run Schema-First Protocol
Neo4j version Use version features Default to 2025.01 safe set
Executing (not generating)? Use EXPLAIN + write gate State query is unvalidated

Schema unknown + no tool → produce non-executable sketch outside a code block:

(<SOURCE_LABEL> {<KEY>: $value})-[:<REL_TYPE>]->(<TARGET_LABEL>)

Never fill guessed names — realistic guesses get copied blindly.


Defaults — apply every query

  1. CYPHER 25 — first token; never repeat after UNION or inside subqueries
  2. Schema first — inspect before writing; if schema in prompt, use it directly
  3. MERGE on constrained key only; rel MERGE on already-bound endpoints only
  4. Label-free MATCH (n) forbidden unless bound or followed by WHERE n:$($label)
  5. LIMIT 25 default on all exploratory reads; push WITH n LIMIT before high-cardinality operations (variable-length traversals, fan-out MATCH, Cartesian products)
  6. Comments: // only — -- is SQL, invalid
  7. REPEATABLE ELEMENTS / DIFFERENT RELATIONSHIPS go after MATCH, not end of pattern
  8. SHOW commands: YIELD before WHERE; combinable with general Cypher clauses incl. UNION/RETURN [2026.05] — SHOW DATABASES still requires system db (use USE system)
  9. Inline node predicates (:Label WHERE p=x) — valid in MATCH only
  10. WHERE cannot follow bare UNWIND — use WITH x WHERE
  11. (a)-[:R]-(b) — undirected matches both directions, double-counts; use directed unless unknown
  12. DETACH DELETE — plain DELETE throws if node has relationships

Style

Element Convention
Node labels PascalCase :Person
Rel types SCREAMING_SNAKE_CASE :KNOWS
Properties/vars camelCase firstName
Clauses UPPERCASE MATCH
Booleans/null lowercase true false null
Strings single-quoted; double only if contains '

Schema is truth. :Person, :KNOWS, name in examples are illustrative — substitute real names from schema.


Schema-First Protocol

Priority order:

  1. <db-name>-schema.json anywhere in project → read directly, state file name + schema_retrieved_at, skip live inspection. If significantly outdated and DB reachable, offer re-fetch. Full rules: references/schema-guardrail.md.

    • Existence — labels/rel-types/properties must be in schema; try synonym resolution before asking
    • Property type — reason about intent first (e.g. string vs INTEGER may be null check); ask only if unclear
    • Relationship direction — wrong direction → correct silently and note
    • Synonym mapping — unambiguous → resolve silently; ambiguous → pick most likely, note; ask if unresolvable

    Scripts: generate_schema.py (live DB + APOC), define_schema.py (no DB), import_neo4j_schema.py (converts neo4j-graphrag-python, graph-schema-introspector, graph-schema-json-js-utils, mcp-neo4j-data-modeling).

  2. Schema in context → use it, skip inspection.

  3. Schema missing → run:

    CALL db.schema.visualization() YIELD nodes, relationships RETURN nodes, relationships;
    SHOW INDEXES YIELD name, type, labelsOrTypes, properties, state WHERE state = 'ONLINE';
    SHOW CONSTRAINTS YIELD name, type, labelsOrTypes, properties;
    SHOW PROCEDURES YIELD name RETURN split(name,'.')[0] AS namespace, count(*) AS procedures;

Property types per label — check APOC first:

// If APOC available (preferred — use this):
CALL apoc.meta.schema() YIELD value RETURN value;

// No APOC AND database ≤ 100k nodes/rels only (expensive on large graphs):
CALL db.schema.nodeTypeProperties() YIELD nodeType, propertyName, propertyTypes, mandatory;
CALL db.schema.relTypeProperties() YIELD relType, propertyName, propertyTypes, mandatory;

Validate before returning any query: label exists · rel type+direction correct · property on that label · index ONLINE.


Key Patterns

MERGE

// MERGE on constrained key; set extras in ON CREATE/ON MATCH
CYPHER 25
MATCH (a:Person {id: $a}) MATCH (b:Person {id: $b})
MERGE (a)-[r:KNOWS]->(b)
  ON CREATE SET r.since = date()
  ON MATCH  SET r.lastSeen = date()

SET n = {} replaces all props. SET n += {} merges (safe partial update). Use += for updates.

WITH scope

CYPHER 25
MATCH (a:Person)-[:KNOWS]->(b:Person)
WITH a, count(*) AS friends   // b dropped here
WHERE friends > 5
RETURN a.name, friends ORDER BY friends DESC

Every var not listed in WITH is dropped. WITH * carries all forward.

Subqueries — cheat sheet

EXISTS { (a)-[:R]->(b) }                           // boolean check
COUNT  { (a)-[:R]->(b) WHERE a.x > 0 }             // count
COLLECT { MATCH (a)-[:R]->(b) RETURN b.name }       // collect list (full MATCH+RETURN required)
CALL (p) { MATCH (p)-[:ACTED_IN]->(m) RETURN m }    // correlated subquery (explicit import)
OPTIONAL CALL (p) { ... }                           // nullable subquery

CALL { WITH x ... } deprecated → CALL (x) { ... }. COLLECT {} returns exactly one column.

CALL IN TRANSACTIONS (bulk writes)

CYPHER 25
LOAD CSV WITH HEADERS FROM 'file:///data.csv' AS row
CALL (row) {
  MERGE (p:Person {id: row.id}) SET p += row
} IN TRANSACTIONS OF 1000 ROWS ON ERROR CONTINUE REPORT STATUS AS s

Input stream must be outside subquery. Auto-commit only — never wrap in beginTransaction(). PERIODIC COMMIT deprecated.

DISJOINT BY [2026.06, Cypher 25] on IN CONCURRENT TRANSACTIONS prevents deadlocks by scheduling batches that share lock-prone resources sequentially — use when importing relationships:

CYPHER 25
LOAD CSV WITH HEADERS FROM 'file:///rels.csv' AS line
CALL (line) {
  MATCH (a:Movie {id: line.movieId}), (b:Person {id: line.personId})
  MERGE (b)-[:ACTED_IN]->(a)
} IN CONCURRENT TRANSACTIONS OF 1000 ROWS DISJOINT BY (line.movieId, line.personId)

DISJOINT BY (expr,...) declares lock keys (outer-query variables only); DISJOINT BY AUTO infers them via static analysis; DISJOINT BY NONE disables. Overrides dbms.cypher.transactions.default_subquery_batch_strategy. EXPLAIN/PROFILE shows keys in DISJOINT BY (...) on TransactionForeach.

QPE basics

CYPHER 25
MATCH SHORTEST 1 (a:Person {name:'Alice'})(()-[:KNOWS]->()){1,}(b:Person {name:'Bob'})
RETURN b.name

// ACYCLIC [2026.03] — no repeated nodes within a path (prevents cycles)
CYPHER 25
MATCH p = ACYCLIC (start:Router {name: $from})-[:LINK]-+(end:Router {name: $to})
RETURN [n IN nodes(p) | n.name] AS route
ORDER BY length(p) LIMIT 5

Quantifier outside group: (pattern){N,M}. Groups start+end with node. REPEATABLE ELEMENTS needs bounded {m,n}. ACYCLIC implies nodes cannot repeat within a path (stronger than default DIFFERENT RELATIONSHIPS).

Match mode — add after MATCH:

  • DIFFERENT RELATIONSHIPS (default) — each rel traversed once per path
  • REPEATABLE ELEMENTS [2025.x] — nodes/rels revisitable; use for circular routes, weight-optimized paths, constrained backtracking; requires bounded {m,n}

Conditional CALL subqueries [2025.06]

CYPHER 25
MATCH (move:Item {id: $id})
OPTIONAL MATCH (insertBefore:Item {id: $before})
OPTIONAL MATCH (insertAfter:Item  {id: $after})
CALL (move, insertBefore, insertAfter) {
  WHEN insertBefore IS NULL THEN {
    MATCH (last:Item) WHERE NOT (last)-[:NEXT]->() AND last <> move
    CREATE (last)-[:NEXT]->(move)
  }
  WHEN insertAfter IS NULL THEN {
    CREATE (move)-[:NEXT]->(insertBefore)
  }
  ELSE {
    CREATE (insertAfter)-[:NEXT]->(move)
    CREATE (move)-[:NEXT]->(insertBefore)
  }
}

Use WHEN…THEN…ELSE for if-else-if write logic; mutually exclusive (first match wins). Not available pre-2025.06.

Dynamic relationship types [2025.x]

// Create/match/merge with dynamic rel type (must resolve to exactly one STRING)
CYPHER 25 CREATE (a:Node)-[:$($relType)]->(b:Node)
CYPHER 25 MATCH  (a:Node)-[:$($relType)]->(b:Node) RETURN a.name, b.name

Spatial / Point

// WGS84 geographic point
SET n.coords = point({longitude: $lon, latitude: $lat})

// Distance in metres; requires POINT index for performance
MATCH (a:Place {name: $origin}) MATCH (b:Place)
RETURN b.name, point.distance(a.coords, b.coords) AS distM
ORDER BY distM LIMIT 10

// Bounding-box pre-filter (uses POINT index) then distance
MATCH (b:Place)
WHERE point.withinBBox(b.coords,
        point({longitude: $west, latitude: $south}),
        point({longitude: $east, latitude: $north}))
RETURN b.name, point.distance(b.coords, $origin) AS distM

Create POINT index: CREATE POINT INDEX name IF NOT EXISTS FOR (n:Place) ON (n.coords)

Aggregation grouping keys

Non-aggregating expressions in RETURN/WITH are implicit grouping keys — no GROUP BY needed:

// actor + director are grouping keys; count(*) is the aggregate
MATCH (a:Person)-[:ACTED_IN]->(m:Movie)<-[:DIRECTED]-(d:Person)
RETURN a.name, d.name, count(*) AS collaborations
ORDER BY collaborations DESC

Explicit GROUP BY [2026.07, Cypher 25] states grouping keys — GQL-aligned alternative to implicit grouping:

MATCH (a:Person)-[:ACTED_IN]->(m:Movie)<-[:DIRECTED]-(d:Person)
RETURN a.name, d.name, count(*) AS collaborations GROUP BY a.name, d.name
ORDER BY collaborations DESC

Subclause expressions (ORDER BY/WHERE) referencing projection items more complex than a variable or property access are deprecated [2026.07] — alias the expression in RETURN/WITH, then reference the alias.

count(n) counts non-null; count(*) counts rows including nulls. collect(DISTINCT expr) deduplicates. GROUP BY subclause [2026.07] states grouping keys explicitly on WITH/RETURN; implicit grouping stays valid. count() is faster than size(collect()) — count() reads the internal store; collect() builds a list first.

GROUP BY subclause on WITH/RETURN [2026.07, Cypher 25] states grouping keys explicitly (GQL alignment); implicit grouping still valid.

ORDER BY/WHERE subclause expressions referencing a projection item more complex than a variable or var.prop are deprecated [2026.07] — alias the expression in the projection and order by the alias. Same for names that shadow an incoming variable. ORDER BY/WHERE may now call aggregation functions absent from the projection list when the projection clause already aggregates.


Common Syntax Traps (top causes of broken queries)

Wrong Right
ORDER BY n.prop AS x DESC ORDER BY n.prop DESC
ORDER BY preAggVar after agg RETURN Use RETURN alias
count(r WHERE r.x=5) sum(CASE WHEN r.x=5 THEN 1 ELSE 0 END)
UNWIND list AS x WHERE x>5 UNWIND list AS x WITH x WHERE x>5
least(a,b) / greatest(a,b) CASE WHEN a<b THEN a ELSE b END
-- comment // comment
shortestPath((a)-[*]->(b)) SHORTEST 1 (a)(()-[]->()){1,}(b)
id(n) elementId(n)
[:REL*1..5] (()-[:REL]->()){1,5}
CALL { WITH x ... } CALL (x) { ... }
COLLECT { (a)-[:R]->(b) } COLLECT { MATCH ... RETURN b }
SET n = {k:v} partial update SET n += {k:v}
DELETE n with relationships DETACH DELETE n
WHERE n.x = null WHERE n.x IS NULL
toInteger(null) throws toIntegerOrNull(null)
n.$key dynamic property n[$key]
SET n:$label SET n:$($label)
ZONED DATETIME >= date(...) → 0 rows Use datetime(...) or .year accessor
ISO string with Z suffix stored/compared as UTC Z ≠ UTC in Neo4j — Z is parsed as an offset, not the UTC timezone; planner and range indexes treat them differently. Explicitly coerce: datetime({datetime: datetime('2025-09-10T03:43:00Z'), timezone: 'UTC'}) (neo4j#13519)
FOREACH ... RETURN UNWIND ... RETURN

Full trap table → references/syntax-traps.md


Output Mode and Write Gate

Default: parameterized queries. *Return named properties, not full nodes or `RETURN `.**

// RIGHT: agent gets named fields it can reason over
CYPHER 25 MATCH (n:Organization {name: $name}) RETURN n.name, n.founded, n.industry LIMIT 10

// WRONG: full node object wastes tokens, leaks all properties, agent can't extract fields cleanly
CYPHER 25 MATCH (n:Organization {name: $name}) RETURN n LIMIT 10

Exception: schema/diagnostic queries (CALL db.schema.visualization(), SHOW INDEXES YIELD *, EXPLAIN) where the object is the point.

Validation workflow:

  1. EXPLAIN before any write — catches syntax errors, missing indexes
  2. New read: test with LIMIT 1 first
  3. Write: verify read half as RETURN before replacing with SET/CREATE/DELETE
  4. PROFILE to measure db hits; check for AllNodesScan, CartesianProduct, Eager

Query API v2 (no driver needed — works for schema inspection, EXPLAIN, reads, writes):

curl -X POST https://<instance>.databases.neo4j.io/db/<database>/query/v2 \
  -u <user>:<password> -H "Content-Type: application/json" \
  -d '{"statement": "EXPLAIN MATCH (n:Person {name: $name}) RETURN n", "parameters": {"name": "Alice"}}'
# Local: http://localhost:7474/db/<database>/query/v2
# Response: {"data": {"fields": [...], "values": [...]}}  — prefix EXPLAIN to plan without executing

Write execution gate — only when agent executes (MCP/cypher-shell/HTTP), NOT when generating for code/scripts/user to run:

  1. Run EXPLAIN → report estimated rows affected
  2. Wait for user confirmation before executing

Version Gates

Default to 2025.01-safe features when version unknown.

Feature Min version Fallback
CYPHER 25, QPEs, CALL (x) {} 2025.01 require 2025+
Match modes (DIFFERENT RELATIONSHIPS, REPEATABLE ELEMENTS) 2025.01 require 2025+
Dynamic labels $($expr), coll.sort() 2025.01 APOC or app-side
CONCURRENT TRANSACTIONS, REPORT STATUS 2025.01 drop / omit
SEARCH clause (vector/fulltext) 2026.01 CALL db.index.vector.queryNodes(...) (deprecated 2026.04)
ACYCLIC path mode (no repeated nodes in path) 2026.03 post-filter with size(nodes(p)) = size(apoc.coll.toSet(nodes(p)))
string.indexOf(), string.join(), string.regexReplace() 2026.05 apoc.text.* or app-side
GQL aliases: FOR=UNWIND, PROPERTY_EXISTS=IS NOT NULL, IS [NOT] LABELED=n:Label; function aliases (local_time, zoned_datetime, duration_between, collect_list, etc.) 2026.02–04 GQL compliance only — use Cypher equivalents; full list → references/cypher-syntax.md
GRAPH TYPE schema DDL (ALTER CURRENT GRAPH TYPE SET/ADD/ALTER/DROP, SHOW CURRENT GRAPH TYPE) 2026.02 (preview), GA 2026.06 Use individual CREATE CONSTRAINT / CREATE INDEX
GROUP BY subclause on WITH/RETURN (explicit grouping keys, GQL alignment) 2026.07 Implicit grouping — list non-aggregating expressions in the projection
cardinality() — keys in a MAP, elements in a LIST, nodes+rels in a PATH 2026.07 size() for LIST/MAP keys, length() for PATH
Aggregation functions in ORDER BY/WHERE that are not projection items (aggregating projection only) 2026.07 Project the aggregate as an alias, then order/filter on the alias

Performance

EXPLAIN/PROFILE red flags: AllNodesScan CartesianProduct NodeByLabelScan Eager

Fix Eager — three approaches (choose simplest that works):

  1. Add specific labels to MATCH nodes to eliminate read/write ambiguity: MATCH (x:CallingPoint) instead of bare MATCH (x) when writing :City nodes
  2. Collect first, then write: WITH collect(u) AS users UNWIND users AS u ...
  3. CALL IN TRANSACTIONS: isolates each batch in its own transaction

Label inference — when planner underestimates selectivity on multi-label queries: [Neo4j 5]

CYPHER inferSchemaParts = most_selective_label
MATCH (admin:Administrator {name: $name}), (resource:Resource {name: $res})
MATCH p=(admin)-[:MEMBER_OF]->()-[:ALLOWED_INHERIT]->(company)
RETURN count(p)

Index anchors: every MATCH/MERGE/WHERE on a property needs an index on the lookup property or Neo4j scans all nodes. Index only activates when the node has a label — MATCH (n {prop: $v}) never uses an index; MATCH (n:Label {prop: $v}) does. MERGE without a constraint has no atomicity guarantee (two concurrent MERGEs can create duplicates). CONTAINS/ENDS WITH → TEXT index (RANGE does not support them). Force a plan with USING INDEX n:Label(prop) when EXPLAIN shows a scan. Chained OPTIONAL MATCH for nested data → replace with COLLECT { MATCH ... RETURN }. Dynamic labels ($($label)) → AllNodesScan+Filter; use static labels when possible.

Full anti-patterns → references/performance.md


Failure Recovery

  • 0 results: check param types, remove WHERE predicates one-by-one, EXPLAIN for index use
  • TypeErrors: use toIntegerOrNull()/toFloatOrNull(); guard with IS NOT NULL
  • Variable out of scope: not listed in WITH → use count(*) not count(droppedVar)
  • Timeouts: fix AllNodesScan → add early LIMIT → CALL IN TRANSACTIONS OF 1000 ROWS
  • Long-running query progress [2026.03]: SHOW TRANSACTIONS YIELD currentQuery, status, currentQueryProgress
  • DateTime mismatch: ZONED DATETIME >= date(...) → 0 rows; use datetime() or .year
  • Z suffix ≠ UTC timezone: ISO strings with Z are stored as a UTC-offset, not the UTC zone — range queries across Z and UTC stored values return 0 rows. Coerce on write: datetime({datetime: datetime($isoStr), timezone: 'UTC'})
  • Duration: .inDays/.inMonths don't exist; use .days/.months
  • Cannot merge node using null property value: MERGE key resolved to null — validate params first
  • IndexNotFoundError: SHOW INDEXES YIELD name, state WHERE state <> 'ONLINE'

References

Load on demand:

  • references/indexes.md — index types (RANGE/TEXT/FULLTEXT/POINT/COMPOSITE/LOOKUP), constraints, MERGE lock semantics, fulltext Lucene syntax, import pre-flight
  • references/cypher-syntax.md — full syntax reference: WITH, DELETE, ORDER BY, CASE, null, lists, strings, dates, spatial/point, LOAD CSV, subqueries, QPEs, dynamic labels, SEARCH; conditional CALL (WHEN/THEN/ELSE); label pattern expressions; allReduce; NEXT clause; compact CASE WHEN; normalize(); index/constraint types table; functions annotated with version introduced
  • references/syntax-traps.md — 40+ syntax trap table
  • references/performance.md — anti-patterns, text vs fulltext indexes, Eager (3 fix strategies), label inference, batching best practices, parallel runtime
  • references/advanced-patterns.md — REPEATABLE ELEMENTS patterns, allReduce stateful traversal, multi-stop QPE, route planning simulation, DAG critical path, temporal fraud detection component graph, cycle detection, OPTIONAL CALL
  • references/apoc.md — APOC Core: refactoring, virtual graph, merge helpers, path expanders, triggers, collections, conditional execution
  • references/graph-type.md — GRAPH TYPE DDL (GA 2026.06): ALTER CURRENT GRAPH TYPE SET/ADD/ALTER/DROP, SHOW CURRENT GRAPH TYPE [AS GRAPH], element type syntax, property types, constraints, label implications, relationship type enforcement, required privileges

WebFetch

Need URL
Clause semantics https://neo4j.com/docs/cypher-manual/25/clauses/{clause}/
Function signatures https://neo4j.com/docs/cypher-manual/25/functions/{type}/
QPE / paths https://neo4j.com/docs/cypher-manual/25/patterns/
Spatial/point functions https://neo4j.com/docs/cypher-manual/25/functions/spatial/
Index/constraint reference https://neo4j.com/docs/cypher-manual/25/indexes/
Full cheat sheet https://neo4j.com/docs/cypher-cheat-sheet/25/all/

Checklist

  • [ ] Schema inspected or confirmed in context
  • [ ] CYPHER 25 prefix on every top-level query
  • [ ] $parameters used (not literals)
  • [ ] LIMIT on exploratory reads (default 25)
  • [ ] EXPLAIN run; red flags resolved
  • [ ] Write half verified as RETURN before executing
  • [ ] Write execution gate applied if agent is executing (not generating)
  • [ ] MERGE on constrained key only
  • [ ] No label-free MATCH (n)
  • [ ] Schema ops not inside explicit transaction

版本历史

  1. solopreneur--v0.6.5 GitHub ↗
    原版更新说明

    ## 2026-11-20 — sign-offs on Codex ### solopreneur 0.6.4 → 0.6.5 `/sign-offs` now ships in the Codex package too (`codex plugin add solopreneur@solopreneur`) and runs in `codex exec`, the TUI and the Codex App. Publishing to the default local folder works inside Codex's workspace-write sandbox, which a trusted project gets in the TUI; `codex exec` starts read-only, so pass `--sandbox workspace-write`. Publishing to a static folder or the bundled server writes outside the workspace and reads the page back over the network, and so does local when its folder lies outside the workspace (from a linked worktree, pages go to the main working tree). The TUI and the App ask for your approval once per publish; `codex exec` cannot ask, so start it with that access (`--add-dir <folder>`, plus `-c sandbox_workspace_write.network_access=true` for static and server) or with `--dangerously-bypass-approvals-and-sandbox`. A blocked publish never hands out a link, and on every host the skill now tells the agent to rerun it with your permission instead of sending the page somewhere else. (#208) --- Full changelog: https://github.com/hanamizuki/solopreneur/blob/main/CHANGELOG.md

  2. solopreneur--v0.6.4 GitHub ↗
    原版更新说明

    **Removed skills:** `taste-soft`, `taste-brutalist`, `taste-minimalist`, `taste-redesign`, `taste-stitch`, `taste-output`, `taste-gpt` and `taste-image-to-code` (designer; folded into `taste-skill` upstream), and `/slide-design` (marketer). Anything that calls them by name stops resolving. ## 2026-11-20 ### solopreneur 0.6.3 → 0.6.4 New `/sign-offs` skill publishes a temporary review page for decisions that need screenshots or a ruling on several items. The reader opens one link on a phone or desktop, taps approve, revise or reject (or choices you define) on each item, adds notes, and copies a single structured reply back into the chat. Pages expire after 7 days by default, and every link is read back before it is handed out. With no setup, pages go to a local folder and open over `file://`. Configured, they go to a folder an existing web server already serves, or to a bundled server behind Tailscale Serve or any reverse proxy, on this machine or another one over SSH. On first use the skill looks at what your setup offers and proposes options. The UI is in English or Traditional Chinese. Claude Code only for now; it needs Python 3.9+ and nothing beyond the standard library. Settings go in a new `signoffs` block of `.solopreneur.json`. Where pages go (`targets` and `defaultTarget`) is read only from your user-level config, `~/.config/solopreneur/config.json` or the absolute path in `$SOLOPRENEUR_CONFIG`; a repo's own `.solopreneur.json` may set only `root`, `lang`, `ttlDays` and `replyTo`, so a cloned repo cannot send your pages anywhere. `/preview` now skips a user-level config that only configures other features. If you save sign-offs settings in `~/.config/solopreneur/config.json` without a `preview` block, update every installed copy of this plugin first: older `/preview` versions report that file as broken. When the Vercel CLI is missing, `/preview` now suggests `brew install --cask vercel`. Homebrew moved the Vercel CLI to a cask, so the old `brew install vercel-cli` hint failed. (#205, #206, #207) ### designer 0.1.11 → 0.1.12 `taste-skill` moves to tasteskill 2.5.1, and upstream folded its eight style variants into it: `taste-soft`, `taste-brutalist`, `taste-minimalist`, `taste-redesign`, `taste-stitch`, `taste-output`, `taste-gpt` and `taste-image-to-code` are removed, so anything that calls them by name stops resolving. The new `taste-skill` builds or redesigns company and product websites, as static HTML/CSS or inside an existing React, Next.js, Vue, Svelte or Astro project, from a bundled kit of photographs, UI fragments, icons and motion. A checker and a finish gate render each page in headless Chrome. The gate also runs as a Stop hook that keeps the agent working while fixable failures remain; it does nothing unless a build is in progress. It needs Node 22+ and Chrome, Edge or Chromium. `impeccable` goes from 4.1.1 to 4.10.0 and now also covers native iOS and Android screens and `DESIGN.md` design systems. Its Node scripts are replaced by a prebuilt engine binary, downloaded on first use from the upstream GitHub releases into `~/.impeccable/bin/` and checked against SHA-256 sums pinned in this plugin. Its commands are no longer pre-approved, so Claude Code may ask before running them. `init` now suggests `npx impeccable login`, which lets it save critiques to an Impeccable account; signing in is optional. The taste-skill kit makes the designer package about 41 MB. Every plugin installs from the same clone of this repo, so the marketplace download grows from about 26 MB to about 129 MB for everyone. (#206) ### marketer 0.0.12 → 0.0.13 `/slide-design` is removed. It wrapped two slide engines you had to install separately, and its AI-pattern review is what `/humanly` already does. For HTML presentations, install [frontend-slides](https://github.com/zarazhangrui/frontend-slides) or [revealjs-skill](https://github.com/ryanbbrown/revealjs-skill) directly; `/rebuild-skill-index` still adds them to the marketer index when they are installed. The `marketer` agent no longer advertises presentation design. `/humanly`'s prewrite briefs now follow their own rule against em dashes: the appendix index is a table and the dashes in the briefs are rewritten. Output did not change measurably. (#199, #205) ### ios-dev 0.4.13 → 0.4.14 The `ios-dev` agent now starts without your user, project and local `CLAUDE.md` files. Subagents don't share the main session's prompt cache, so every spawn paid for those files in full; in one measured repo the agent's starting prompt drops from about 58k to 19k tokens. When a task depends on repository conventions, the agent reads the repo's `CLAUDE.md` itself. Rules that live only in your personal `CLAUDE.md` no longer reach it, so put anything it must follow in the task prompt. Re-syncs the vendored App Store Connect skills (the upstream repo moved to `rorkai/app-store-connect-cli-skills`) and `apple-design`. New workflows cover Asset Library media (product-page headers, search creative, screenshots, previews, event artwork), compiling and packaging a prepared Swift package without an Xcode project (`asc builds compile` / `package`), an experimental read-only Apple Search plan in the ASO audit, per-territory price reads with `--resolved`, and `derive` to keep one subscription priced near a multiple of another. Also new: API-key login from a JSON file, App Store Server API reads under `asc storekit`, `asc status --until review-done`, and `--env-file` for workflows. Notarization troubleshooting now verifies the existing signature instead of removing trust overrides or re-signing the app. (#198, #204, #206) ### android-dev 0.4.13 → 0.4.14 The `android-dev` agent now starts without your user, project and local `CLAUDE.md` files, which keeps its starting prompt small for every spawn. When a task depends on repository conventions, it reads the repo's `CLAUDE.md` itself. Rules that live only in your personal `CLAUDE.md` no longer reach it, so put anything it must follow in the task prompt. The six official Android skills get their first update since August. `r8-analyzer` now ships its own analysis scripts and uses the `analyze<Variant>R8Config` Gradle task on AGP 9.3+; on older AGP it temporarily pins a newer R8 in `settings.gradle`, asking first, and reverts it afterwards. It needs Python with `protobuf` 6.33.4 or later. `agp-9-upgrade` now includes the two reference docs its steps link to (the AGP 9.0 release notes and the built-in Kotlin migration guide), which an ignore rule in this repo had left out since the skill was added. `navigation-3`, `migrate-xml-views-to-jetpack-compose`, `play-billing-library-version-upgrade` and `edge-to-edge` pick up the current upstream docs. (#204, #206) ### ai-engineer 0.3.16 → 0.3.17 Re-syncs the vendored `senior-prompt-engineer` skill. Upstream rewrote only its trigger description, so it now also activates when your prompts, chatbot or RAG answers are unreliable, or when you ask how to test them. The skill's content is unchanged. (#197) ### neo4j-dev 0.0.10 → 0.0.11 Re-syncs the vendored Neo4j skills through the 2026.10 release. `neo4j-cypher` adds Cypher 25 string interpolation, the `UUID` type and `uuid()` functions (2026.08), fulltext search through the `SEARCH` clause and map comprehensions (2026.09), and map addition (2026.10), and corrects its advice on counting days between dates. `neo4j-migration` adds upgrade notes up to the 2026 LTS: skip the 2026.07.0 and 2026.08.0 patch releases, move `high_limit` stores to the `block` format and servers to Java 25 before the LTS, use newer drivers for `UUID` values, and expect a 16-character minimum for native-user passwords. `neo4j-cli-tools` covers splitting `neo4j-admin` backups and dumps into parts. (#196) --- Full changelog: https://github.com/hanamizuki/solopreneur/blob/main/CHANGELOG.md

  3. solopreneur--v0.6.1 GitHub ↗
    原版更新说明

    ## 2026-08-16 ### solopreneur 0.6.0 → 0.6.1 `/preview` now delivers to a local Library by default: it builds a browsable catalog on your machine and returns a `file://` link instead of deploying. Vercel publishing is opt-in — ask for an online or shareable link explicitly — and one-off throwaway previews still write a single ephemeral file. The preview toolchain also works when running under Codex. (#176) Review tooling reaches Codex: `/specialist-review` runs there via a reviewer ladder that reads the specialist plugins' published knowledge skills (#190), and `/greenlight` can drive its Phase 1 review round on Codex too (#191). `/greenlight` also gains Grok CLI as an opt-in local reviewer (#186). The Codex core package grows from four skills to nine: `handoff`, `perspective`, `post-mortem`, `preview`, and `specialist-review` join `autopilot`, `greenlight`, `merge-pr`, and `plan-review` (#182). ### designer 0.1.10 → 0.1.11 Re-syncs the vendored `impeccable` skill across a large upstream cycle (4.0.3 → 4.1.1): a comp-driven design workflow ("comps are shipped screens", comp-fidelity review discipline, hero-first building), a richer decision page (full-fidelity comps, IMPECCABLE'S PICK, Safer/Bolder registers, build-path toggle), Antigravity and Hermes Agent provider support, raster-provenance auditing through the fix loop (`embed-prompt.mjs --scan`), and a batch of detector false-positive and performance fixes. (#149, #185) ### ios-dev 0.4.12 → 0.4.13 Re-syncs the `asc-*` App Store Connect skills to the current `asc` CLI. Signing setup covers App Groups provisioning, private-identity sync with file-based passwords (inline `--password` / `ASC_MATCH_PASSWORD` deprecated), an experimental device/profile reconcile workflow, and one-shot signing with an isolated temporary keychain. Xcode export documents the `release-testing` method that replaces the deprecated `ad-hoc` spelling. Release staging validates build ownership and gates metadata deletes behind `--allow-deletes`; workflows gain bounded per-step retry and timeout; localization picks up Apple's expanded locale list; Apple Ads commands are split between Platform API v1 and the deprecated v5. (#154, #189) ### android-dev 0.4.12 → 0.4.13 Removes two vendored skills that had aged into bad guidance: `gradle-logic` (pinned late-2023 AGP/Kotlin versions, contradicting the bundled `agp-9-upgrade`) and `compose-navigation` (a community Navigation 3 retelling superseded by the official `navigation-3` skill bundled here). Their upstream mappings are dropped so future syncs cannot resurrect them. (#183, #184) ### ai-engineer 0.3.15 → 0.3.16 Removes the in-house `langgraph` skill: it taught an incorrect `interrupt()` contract and an unconditional "never add a checkpointer" rule that breaks human-in-the-loop flows, with 2024-era model pins. Use the `ai-engineer` agent with current LangGraph docs instead. The plugin description now lists `ai-app-templates` as the sole in-house skill. (#183) ### neo4j-dev 0.0.9 → 0.0.10 Re-syncs the vendored Neo4j skills: `neo4j-cypher` now documents GRAPH TYPE schema DDL as GA (2026.06) — the `ALTER CURRENT GRAPH TYPE ADD/ALTER/DROP` forms, element-type syntax, and required privileges — plus the 2026.07 Cypher 25 additions (`GROUP BY` subclause, `cardinality()`, aggregates in `ORDER BY`/`WHERE`). (#153, #187) --- Full changelog: https://github.com/hanamizuki/solopreneur/blob/main/CHANGELOG.md

  4. solopreneur--v0.6.0 GitHub ↗
    原版更新说明

    ## 2026-08-12 — Codex milestone ### solopreneur 0.5.38 → 0.6.0 Promotes the Codex integration introduced in 0.5.38 to a minor release, reflecting the new officially supported platform surface. Codex users can install the verified, filtered core plugin with `autopilot`, `greenlight`, `merge-pr`, and `plan-review`. Unsupported skills remain excluded, and the documented Codex V1 limitations remain unchanged. Claude Code behavior is unchanged. There are no functional differences from 0.5.38; this version corrects the release classification and establishes Codex support as the 0.6 milestone. --- Full changelog: https://github.com/hanamizuki/solopreneur/blob/main/CHANGELOG.md

  5. solopreneur--v0.5.37 GitHub ↗
    原版更新说明

    ### solopreneur 0.5.36 → 0.5.37 `/greenlight` stops hardcoding which review bots it can see. PR-mode detection now recognizes any GitHub App that actually reviews on your repo — CodeRabbit, Cursor, Copilot, and whatever comes next qualify with zero config — while conversation-only automation (dependabot, CI notifiers) is never mistaken for a reviewer. CodeRabbit graduated from "passive, observe-only" to a triggerable reviewer like the rest. A round can now drive several reviewers at once: `select=<ids>` chooses which reviewers run, `gate=<id>` chooses the one whose clean pass ends the loop, and what a run learns about your repo's reviewers is cached per-repo in `solopreneur.json` so later rounds build on it. `/autopilot` dispatches pass the new tokens and always run unattended, so scheduled runs never stall on a reviewer prompt. (#150, #151) ### ai-engineer 0.3.13 → 0.3.14 Housekeeping: re-pinned the vendored `senior-prompt-engineer` skill to upstream's latest revision (2026-07-27). Upstream moved without changing this skill, so content is identical — the release just brings the recorded provenance current. (#131) ### neo4j-dev 0.0.7 → 0.0.8 Housekeeping: no skill or agent changes — realigns the generated Codex-surface manifest that had lagged one release behind the plugin version. --- Full changelog: https://github.com/hanamizuki/solopreneur/blob/main/CHANGELOG.md

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

1.0.21

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值88/100

亮点

  • 为 Neo4j 用户提供高质量的 Cypher 查询生成、优化和验证能力
  • 覆盖图模式匹配、向量/全文搜索、子查询、批量写入等关键场景
  • 明确的版本兼容性和功能边界定义
触发精准92/100

亮点

  • 触发词精准覆盖多种 Cypher 使用场景(MATCH、MERGE、CREATE、WITH、RETURN、CALL、UNWIND、FOREACH、LOAD CSV、SEARCH)
  • 'When NOT to Use' 明确划分了与其他 Skill 的边界
  • GQL 兼容性说明增强了版本适配精度
结构规范95/100

待提升项

  • When to Use 章节位置 原报告严重程度:轻微

    'When to Use'内容存在但位于 frontmatter 下方,未作为独立顶级章节

    改进建议:将 When to Use/When NOT to Use 移至 frontmatter 下方作为独立二级标题,提升可读性

亮点

  • Pre-flight检查表、Defaults规则、Schema-First协议等结构清晰
  • 关键模式(MERGE、WITH、子查询、CALL IN TRANSACTIONS)配有完整示例
  • Version Gates表格明确各特性的最低版本要求
执行可靠90/100

亮点

  • 强调 EXPLAIN 验证、LIMIT 防护、参数化查询等可靠性实践
  • Write Gate机制确保写入操作经过确认
  • Failure Recovery章节覆盖常见错误场景及解决方案
  • Version Gates提供安全的版本回退策略
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 管理员或提升权限

    确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。

    主文档提及 · 第 354 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com
  • localhost
  • neo4j.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。