基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zocomputer/skills --skill plan-code-changes命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Fetch live portfolio positions, balances, and daily transactions from TastyTrade. Outputs a structured JSON snapshot and a human-readable summary to ~/clarion/portfolio/. Use when the user asks for portfolio status, net liquidation value (NLV), position P/L, daily fills, or needs current holdings for the investor letter or thesis monitoring. Requires TastyTrade OAuth credentials (client secret + refresh token) stored as Zo secrets.
Reads the SPY/TLT/RSP color regime and the equity hurdle rate. Use when the user asks about the market regime, risk-on / risk-off, market color, SPY/TLT regime, breadth, or what hurdle rate to use for new positions. Pulls daily bars via yfinance (cached locally). Optionally accepts a 1Y T-bill yield to compute the equity hurdle rate. Requires clarion-setup to have been run.
Pull, index, and search SEC EDGAR filings for any public company. Supports 10-K and 10-Q (annual/quarterly with curated section extraction for risk factors, MD&A, business, and financials), Form 3/4/5 (insider transactions), 8-K (material events), DEF 14A (proxy/governance), S-1 (IPO/registration), 20-F (foreign private issuers), and any other SEC form by name. Use when the user asks about a company's SEC filings, risk factors, MD&A, insider transactions, executive compensation, business description, or wants to analyze a specific filing in plain English. Single ticker or multiple tickers (comma-separated). On first request for a ticker+form, indexing happens in the background (1-5 min). Subsequent queries are fast. Requires clarion-setup to have been run.
| name | plan-code-changes |
| description | Plan out code changes using a plan file. |
| metadata | {"author":"0.zo.computer","category":"Community","display-name":"Plan code changes","emoji":"🧑🏻💻"} |
Ask the user clarifying questions to understand what they want to accomplish.
If the user is working with an existing code project, research the code to understand the current setup. Use any existing code as the foundation for your plan.
Create a plan markdown file within the project folder, prefixed with plan- and followed by a slug describing the plan, e.g. plan-do-something.md
Describe the specific code changes required concisely, with minimal surrounding prose. Design the code changes so that they can be implemented incrementally. Do not break up the changes too much: there should generally be two or three phases of work that logically go together, and can be stacked on each other.
Any new or changed interfaces in your planned code should be well-typed, self-documenting, and self-consistent with surrounding code. If there are existing naming conventions, follow them. Method, parameter, and field names should be terse-but-descriptive, idiomatic to the language, and consistent with naming conventions in surrounding code.
If the existing abstractions need to be adjusted for a clean, self-consistent end result, include the refactoring required as an independent phase before the implementation that uses these abstractions.
DO NOT include exploration steps in your plan. EXAMPLE: DO NOT include "grep for X" or "consult docs" as part of the plan. You MUST perform all file or web searches required as part of the work to craft a precise, meticulous plan.
In each phase, look out for complex logic that has been added, and describe how it can be unit tested (describe the specific unit tests), searching for existing tests that can be updated, or describing new test files as needed. The unit tests should be grouped with the relevant phases to help us incrementally check our work. IMPORTANT: I am NEVER interested in QA/integration testing/manual testing. NEVER add non-automated tests to the plan. NEVER add tests that require complex mocking. In general, UI and integration tests should be avoided because they slow down iteration speed.
NEVER worry about backwards compatibility, we always prefer a streamlined plan resulting in a clean codebase with NO intermediate shims. IMPORTANT: NEVER complicate your plan or code with backwards compatibility or migrations unless explicitly instructed to. DO NOT worry about feature gating or a "release plan" – that is never our convern.
NEVER add any concluding errata (e.g. future considerations, next steps, etc), because ALL important future work should be handled in your plan. Instead, ALWAYS call out open questions if there are complex edge cases or considerations. Always ask for additional guidance from me in order to produce the highest quality plan possible. FLAG any open questions clearly at the TOP of the plan.
DO NOT add any introductory or concluding remarks, I am ONLY interested in a concise overview specific code changes and I NEVER want to see irrelevant, unhelpful, redundant content. Examples of what NOT to include: "Benefits" concluding section (this is unhelpful), "Testing strategy" section (unit tests should be inlined with the appropriate plan phases), "Implementation summary" section (this is redundant).
After you've written the implementation + unit test plan, add a section to the top of each phase that (1) lists the affected files and (2) concisely summarizes the changes in each file. When asked to create or update the plan's task checklist, make sure the tasks are concise but specific one-liners that are self-consistent with the plan, ALWAYS at the top of the plan, organized by phase with checkboxes (☐) that can be marked as complete (☑) as you implement each part. ALWAYS update the plan to reflect the latest state of the implementation files.
Follow Rich Hickey's "Simple Made Easy" principles—privileging objective simplicity over subjective ease, avoiding complecting, and favoring composable, declarative, value-oriented designs.
Core Principle: Choose SIMPLE over EASY. Strive for un-braided, composable designs that minimize incidental complexity.
Detect Complecting
• Whenever you join concerns (state & time, data & behavior, configuration & code…) pause and seek an alternative that keeps them independent.
• Favor composition (placing things side-by-side) over interleaving.
Prefer Values, Resist State
• Immutable data is the default.
• Mutable state must be narrowly scoped, well-named, and justified.
Assess Constructs by Their Artifacts
• Judge a tool, abstraction, or pattern by the long-term properties of the running system it produces: clarity, changeability, and robustness.
• "Easy to start" is not sufficient.
Declarative > Imperative
• Describe WHAT, not HOW.
• Lean on data, configuration, queries, and rule systems where possible.
Polymorphism à la Carte
• Separate data definitions, behavior specifications, and their connections.
• Avoid inheritance hierarchies that entangle unrelated facets.
Guard-rails Are Not Simplicity
• Tests, static checks, and refactors are valuable, but cannot compensate for a complex design. Seek to remove complexity first.
Vigilance & Sensibility
• Continuously ask: "Is this simple? Could these parts remain independent?"
• Be willing to trade immediate ease for lasting simplicity.
Success Criteria: A reader unfamiliar with the code should be able to locate, understand, and replace a part without untangling others.
Measure decisions by how much braid they remove, not how quickly they compile.
ALWAYS review your plan to make sure it is precise and consistent with both itself and the guidelines above.