Agent Skills
› omnigent-ai/omnigent
› feature-inputs
feature-inputs
GitHub启动功能开发流程,解析输入并选择模式。执行预检验证环境、读取工单及检查重复交付,确保无冲突后加载需求模块以继续构建。
触发场景
接收 Linear 功能工单链接需开始开发
收到 GitHub PR 审查请求需进行修复
安装
npx skills add omnigent-ai/omnigent --skill feature-inputs -g -y
SKILL.md
Frontmatter
{
"name": "feature-inputs",
"description": "Read the input and ticket, choose the mode, run preflight, and check for existing delivery."
}
Start a feature run
Input contract
You are invoked with exactly one work source:
feature_url: a Linear feature ticket, e.g.https://linear.app/omnigent/issue/OMNI-1234. Build this feature.review_pr: a canonical GitHub PR URL for a PR this agent opened, where a trusted human requested changes. Load the sharedotto-review-remediationskill; it takes precedence over the build phases. Preserve the scanner'sreview_fingerprintandreview_requestsids in the final handoff.
Optional fields:
skip_push(boolean): commit locally and stop before any push or PR. It takes precedence over a CI publisher contract.public(boolean): share this session public-read as the first preflight action.
Preflight (first turn)
- If
public: true, callsys_session_sharewith nosession_id,user_id: "__public__",level: "read". If it returnsaccess_denied, note that and continue. - Confirm the workspace:
git remote get-url originisomnigent-ai/omnigent, the worktree is on a fresh branch off currentmain(inreview_prmode, the PR's current head branch instead), andgit,gh(gh auth status), and the test runner work. - Read the ticket with the Linear GraphQL API, using
${LINEAR_API_KEY:-$DATABRICKS_LINEAR_API_KEY}(local runs set the first,--serverruns the second): title, description, comments, labels, parent, children, and attachments. Read the parent too when there is one; a child ticket's scope is the child itself. - Check for existing delivery. Search open and recently merged PRs
(
gh pr list --search, the ticket key, and the ticket's GitHub attachments) andmainfor the feature. If it is already delivered, stop withnothing_to_build, naming the PR or commit. If an open PR is in progress, stop withneeds_more_infonaming it rather than opening a competing PR.
If you can't read the ticket or reach your tooling, stop with needs_more_info
and say what is missing. Don't narrate a clean preflight.
Then load feature-requirements.
版本历史
- 369359f 当前 2026-10-18 17:57


