agentleFS
warpdotdevwarpdotdev/oz-for-oss/.agents/skills/create-tech-spec/SKILL.md

create-tech-spec

Skill313 starsChanged 5 months agoMITView on GitHub

Create a technical spec from a GitHub issue in this repository by applying the shared `write-tech-spec` workflow with Oz-specific issue context and output paths. Use when an issue should be turned into a tech spec artifact stored under `specs/GH<issue-number>/tech.md` and the agent should prepare file changes only, without creating commits or pull requests itself unless a cloud workflow explicitly asks for it.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a tech spec from a GitHub issue for this repository.

    line 8
  2. Distinctive:

    Use that shared skill as the base behavior and structure unless this wrapper overrides it.

    line 16
  3. Distinctive:

    do not create or edit Linear issues as part of this workflow

    line 24
  4. Very specific:

    When available, the product spec at specs/GH<issue-number>/product.md should be treated as the primary input for understanding the intended …

    line 30
  5. Very specific:

    Start from the shared write-tech-spec guidance and follow its structure and writing standards unless this wrapper says otherwise.

    line 34
  6. Very specific:

    Read the issue details carefully.

    line 35
  7. Very specific:

    Create or update specs/GH<issue-number>/tech.md.

    line 37
  8. Distinctive:

    Use the shared skill's structure as the baseline, adapted to this repository and issue format.

    line 38
  9. Distinctive:

    follow-ups or open technical questions

    line 46
  10. Distinctive:

    Keep the tech spec concise, actionable, and grounded in actual code paths and ownership boundaries in this repository.

    line 47
  11. Very specific:

    Do not include issue number references (e.g.

    line 49
  12. Distinctive:

    Leave the repository with the new or updated tech spec file ready to be committed by the workflow.

    line 56
  13. Very specific:

    When requested by the prompt, leave a ready-to-use pr-metadata.json with branch_name, pr_title, and pr_summary.

    line 57
  14. Distinctive:

    If the issue is underspecified, still produce the best possible tech spec and clearly capture assumptions or open questions in the spec …

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

create-tech-spec

Create a tech spec from a GitHub issue for this repository.

Overview

This skill is a thin Oz wrapper around the shared tech-spec workflow:

  • write-tech-spec

Use that shared skill as the base behavior and structure unless this wrapper overrides it. Keep the same emphasis on grounding the plan in current code, documenting relevant files and data flow, explaining tradeoffs, and defining validation.

The Oz-specific differences are:

  • the primary input is a GitHub issue, not a Linear issue
  • the output path is specs/GH<issue-number>/tech.md
  • issue_comments.md and triggering-comment context are additional design inputs
  • a workflow may also request a structured PR metadata file in pr-metadata.json
  • do not create or edit Linear issues as part of this workflow

Inputs

Expect issue details in the prompt, including the issue number, title, description, labels, assignees, and optional prior discussion captured in issue_comments.md.

When available, the product spec at specs/GH<issue-number>/product.md should be treated as the primary input for understanding the intended behavior. The tech spec translates that product intent into an implementation approach.

Process

  1. Start from the shared write-tech-spec guidance and follow its structure and writing standards unless this wrapper says otherwise.
  2. Read the issue details carefully. If a product spec exists at specs/GH<issue-number>/product.md, read it first to understand the intended behavior. If issue_comments.md exists, review it for clarifications, prior decisions, and design nuance that should influence the tech plan.
  3. Inspect the repository to understand the current implementation and the likely scope of the requested work before writing the spec. Do not guess about current architecture when the code can be inspected directly.
  4. Create or update specs/GH<issue-number>/tech.md.
  5. Use the shared skill's structure as the baseline, adapted to this repository and issue format. At minimum, cover:
    • problem
    • relevant code
    • current state
    • proposed changes
    • end-to-end flow when useful
    • risks and mitigations
    • testing and validation
    • follow-ups or open technical questions
  6. Keep the tech spec concise, actionable, and grounded in actual code paths and ownership boundaries in this repository.
  7. Do not implement the feature or modify production code as part of this task. Limit changes to the tech spec artifact and any minimal repository metadata needed to support it. Treat temporary context files such as issue_comments.md as scratch input only and do not commit them.
  8. Do not include issue number references (e.g. (#N), Refs #N) in commit messages. The issue is already linked in the PR.
  9. If the prompt asks for it, write pr-metadata.json at the repository root containing a JSON object with the fields branch_name, pr_title, and pr_summary. The pr_summary should summarize the resulting spec changes, validation, and any reviewer-relevant assumptions or open questions. For spec-only PRs, include a non-closing reference to the source issue such as Related issue: #<issue-number> rather than closing keywords like Closes or Fixes.
  10. Default behavior: do not stage files, create commits, push branches, open pull requests, or use the GitHub CLI. If the prompt explicitly instructs you to publish a named branch, you may commit and push exactly the requested spec changes to that branch, but still do not open or update the pull request yourself unless the prompt explicitly asks for it.
  11. In your final response, provide a brief summary of the tech spec and call out any assumptions or open questions so the workflow can reuse that summary when creating the PR.

Outputs

  • Leave the repository with the new or updated tech spec file ready to be committed by the workflow.
  • When requested by the prompt, leave a ready-to-use pr-metadata.json with branch_name, pr_title, and pr_summary.
  • If the issue is underspecified, still produce the best possible tech spec and clearly capture assumptions or open questions in the spec file and final response.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.