AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Specrail Workflow

skill-majiayu000-harness-specrail-workflow · by majiayu000

Use when working in this repository with SpecRail for issue-first, spec-first, AI-assisted development. Handles triage, product specs, tech specs, PR bodies, review summaries, and handoffs using English-only repository artifacts.

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add skill-majiayu000-harness-specrail-workflow

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-majiayu000-harness-specrail-workflow)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Specrail Workflow? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

SpecRail Workflow

Use this skill as the entrypoint for SpecRail-governed repository work.

Startup

  1. Search before creating a new issue, spec, template, policy, schema, or workflow.
  2. Read applicable AGENTS.md.
  3. Read workflow.yaml, states.yaml, labels.yaml, and relevant templates.
  4. Identify the route:
  • triage_issue
  • write_spec
  • implement
  • review_pr
  • fix_ci
  • draft_release_note
  1. Run checks/route_gate.py for the selected route when the repository includes

it. Treat allowed as permission to proceed, warn as proceed-with-caution, needs_human as a maintainer gate, and blocked as a stop condition.

Default to write_spec before implement for product-facing, architecture, cross-module, public API, workflow-policy, or ambiguous behavior changes. Choose direct implement only when the change is already covered by an approved spec, is a small mechanical fix, is a test-only/doc-only correction, is a focused CI fix, or the user explicitly asks to skip spec creation.

If write_spec is selected and no GitHub issue number is available, search for an existing issue first. If none exists and GitHub workflow is in scope, create or request a linked issue before writing specs/GH/product.md and tech.md. Do not treat a missing issue number as permission to skip the spec.

Language

Harness repository artifacts must be written in English. Use English for issue bodies, product.md, tech.md, PR bodies, review summaries, handoffs, error explanations, and generated templates even when chat with the user happens in another language.

Keep stable machine-facing identifiers unchanged:

  • action IDs such as write_spec
  • state IDs such as ready_to_spec
  • decision values such as needs_human
  • artifact IDs such as product_spec
  • file paths such as specs/GH1/product.md
  • command names and CLI flags
  • JSON keys and schema field names

Spec Creation

For feature work that needs a spec:

  1. Confirm or create a linked GitHub issue before creating a numbered spec.
  2. Use specs/GH/product.md and specs/GH/tech.md.
  3. Use the root templates in templates/.
  4. Keep behavior in product spec and implementation plan in tech spec.
  5. Run:
python3 checks/route_gate.py --repo . --route write_spec --issue  --state ready_to_spec --json
python3 checks/check_workflow.py --repo . --spec-dir specs/GH

Before implementation, run:

python3 checks/route_gate.py --repo . --route implement --issue  --state ready_to_implement --json

Merge Readiness

Before reporting a pull request as merge-ready, collect PR evidence and run the offline gate when available:

python3 checks/github_pr_evidence.py --github-repo  --pr  --json > 
python3 checks/pr_gate.py --repo . --evidence  --json

checks/github_pr_evidence.py is a read-only collector for GitHub CLI output, not a policy engine and not remote automation. The evidence may come from that adapter, a threads lane, or another read-only adapter. It should include PR head SHA, linked issue, CI/check rollup, review decision, review-thread resolution, merge state, and human merge authorization. allowed means the evidence is merge-ready. needs_human means deterministic checks passed but merge authorization is missing. blocked means do not merge.

Optional Threads Integration

If the task is a GitHub issue or PR queue, needs disjoint parallel lanes, or requires review-thread, CI, merge-gate, or closure-audit handling, read integrations/threads.md after this startup flow and use an available threads skill for orchestration.

Keep the boundary clear:

  • SpecRail owns policy, required artifacts, human gates, and

deterministic verification.

  • Threads owns lane maps, queue gates, remote truth refresh, review-thread

handling, and closure audit.

  • If no threads skill or native subagent capability is available, continue with

the single-agent SpecRail flow and report that no native threads were launched.

Agent Boundaries

Agents may draft, review, diagnose, and propose labels.

Agents must not:

  • provide final approval
  • merge without explicit user authorization
  • force push without explicit user authorization
  • publish secrets or private security details
  • change repository permissions
  • bypass human gates

Output

When reporting completion, include:

  • issue or PR link, if created
  • spec paths
  • English-only repository artifact policy
  • stable IDs kept unchanged
  • verification commands and results
  • PR gate decision when merge readiness was evaluated

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.