AGENT SKILL

get-connected

Chat and Claude Code: Step 0 of the discover journey: confirms the repository and issue tracker are reachable, finds the evidence level and saves the connection setup. Use when the journey directs it to step 0, not directly.

License 许可
MIT
所属仓库
Eliyce/paqad-ai
最近更新
2026-11-13
Stars
★ 8
Forks
0

01 前言 Front Matter

name
get-connected
description
Chat and Claude Code: Step 0 of the discover journey: confirms the repository and issue tracker are reachable, finds the evidence level and saves the connection setup. Use when the journey directs it to step 0, not directly.
compatibility
claude.ai chat, Cowork or Claude Code; reads project docs and code through a connector, uploaded files or the open folder

02 资源文件 9

03 SKILL.md 正文

get-connected

How to talk: follow references/voice.md. Short, answer first, plain business words, no narration, one short sources line. Those rules win.

Step 0: get connected. Fills the setup block.

When this runs

Directed by the discover journey; not started directly.

What it does

Work out which sources can be read, the repository first and the tracker second, and record them in order in setup.grounding_sources (references/ground-from-tracker.md).

  1. Choose and reach the repository by capability (references/connect-repository.md), then detect its evidence level (references/evidence-levels.md) with scripts/check_onboarded.py. project-docs (ready): carry on from project docs. docs-and-code (partly ready): carry on, say its message once and name the areas without a summary as not documented. code-only (not set up, with reachable code): carry on from code by names, as what the code suggests. Stop only when nothing is readable. Store the choice in setup.repository, its state in setup.repository_state, and the level in setup.evidence_level. When a repository connector is switched on but offers no list or read action, say this once and carry on tracker only, with setup.repository_state connector-unreadable: "GitHub is connected, but I can't read any repositories through it from here. I'll work from the tickets for now. To use the code and docs, attach the repository or its docs folder." A read that fails on sign-in or a rate limit is not this case and never gets that sentence. With no readable tracker either, say nothing can be read, as in step 3, and stop.
  2. Find the Jira project from the repository, before any tracker read. With no readable repository skip this and ask which project to use. With the repository connector's list actions, resolved by capability, read up to 100 branch names and the subjects of the last 50 commits on the default branch, newest first, and pipe them one per line to scripts/find_ticket_keys.py. Store only its counts in setup.ticket_key_scan: lines_read, each prefix with its count, and github_refs. Drop each prefix's examples list before recording; never store examples, branch names or commit text, or the record check refuses the scan. Then, by the top prefix's hits:
    • One clear prefix (at least 3 hits and at least twice the next): set setup.tracker_kind to jira, check that project with one read, then recommend it in one choice prompt, with a different project as the other option, saying, with ABC the prefix found: "Your branches and commits mostly mention ABC tickets, so I'll use the ABC project in Jira." If that one read fails (not found, renamed or not visible), say once why and ask instead.
    • Several close prefixes (at least 3 hits, less than twice the next): one choice prompt, most hits first, the top one recommended, plus a different project.
    • Fewer than 3 hits: recommend nothing; ask which Jira project to use, with the prefixes found as plain choices plus a different project.
    • Only GitHub refs such as #123: set setup.tracker_kind to github and follow references/tracker-profiles-github.md.
    • Nothing found, nothing read or no list actions: ask which Jira project to use. A list that errors or is cut short still counts: scan the lines read and record lines_read; ask only when nothing was read. A failed list read never makes the repository unreadable. When the keys point clearly to a Jira project but only GitHub is connected, name that Jira project once and let the person choose: connect Jira now, or carry on with GitHub and export the tickets. Record setup.project_key_source as repository when the person takes the recommended project, and asked otherwise. Never search the tracker broadly to pick a project.
  3. With no readable repository, skip scripts/check_onboarded.py and check the tracker next. If the tracker is readable, set setup.evidence_level to tracker-only and say once: "No repository is connected, so I'll work from the tickets in your tracker. Tickets show what was planned or asked for, not what is built." If neither is readable, say this, invent nothing and stop: "I can't read a repository or the tracker from here, so there is nothing to ground this on. Attach the repository or its docs folder, or switch on the tracker connector, and I'll carry on."
  4. Check the tracker for reading and for writing separately (references/connect-tracker.md). Readable: one read-only search in the target project answers. Store setup.tracker_readable. Writable: the connector offers a create action for the target project and the user can create issues there (PUB-7). Store the project's issue types, required fields, link types and the size and sprint field ids (PUB-1) in setup.
  5. If the tracker is readable but not writable, do not stop: say once, before grounding starts, that the tickets will leave by export, and carry on. If it is neither, stop before drafting. Say plainly what is missing (connector off, no write tools, or no create permission) and who usually fixes it, and offer the export fallback (PUB-7, PUB-8).
  6. Warn once, here, that every created issue carries a run label and run labels accumulate in the site's label list (PUB-4).

Action names differ by connector version: resolve each from what the connector exposes, never a hard-coded tool name. Jira specifics: references/tracker-profiles-jira.md.

GitHub follows references/tracker-profiles-github.md: GitHub Issues is export only (host GitHub connectors are read only). Record the kind as GitHub, export only, and route the hand off to the export fallback (PUB-7, PUB-8) without checking for a create action.

If the checks cannot run

Do the onboarded check by hand:

  • List the docs/modules folders and read each one's index/summary.md. Treat an empty or whitespace-only summary as missing.
  • Look for docs/instructions/registries/modules.md, the modules list; empty counts as missing.
  • project-docs (ready): the modules list plus at least one summary. docs-and-code (partly ready): a summary but no modules list; carry on as above and say the exact sentence in references/connect-repository.md once. code-only (not set up): no summary; carry on from code by names as what the code suggests, never stopping a readable-code repository. Record the level in setup.evidence_level.

With no readable repository, skip the onboarded check: follow references/ground-from-tracker.md for the tracker-only sentence, or the stop sentence when the tracker cannot be read either.

Pick the Jira project by hand as in references/connect-tracker.md: count the ticket key prefixes in the branch names and commit subjects you can see, with the same thresholds, and ask when none reaches 3 hits. Record only the counts in setup.ticket_key_scan, never the example keys.

Then do the tracker checks by hand (PUB-1 and PUB-7):

  • Try one read-only search in the target project and record whether it answered.
  • Confirm a create-issue action exists for the target project and the user can create issues there; if not, offer the export fallback, and stop only when the tracker cannot be read either.
  • Record the issue types, required fields, link types, and the size and sprint custom field ids (from the issue type's full field list) in setup.

Output

The setup block: the readable sources in order (setup.grounding_sources), the chosen repository (setup.repository), its state (setup.repository_state, ready or partly-ready) and its evidence level (setup.evidence_level, project-docs, docs-and-code or code-only, or tracker-only with no repository), whether the tracker can be read (setup.tracker_readable), tracker kind, project key, epic and story types, issue types, required fields, link types, size and sprint field ids, whether the user can create issues, the run label (the run id in lowercase), where the project key came from (setup.project_key_source) and the ticket key counts (setup.ticket_key_scan).

04 同仓库更多 Skills

Eliyce
Eliyce/paqad-ai

start

Chat and Claude Code: One place to start for product work, routing you to the capability that fits. Use it when you want help with product work and a single place to begin ("help me with this ticket", "I have an idea", "what can you do here?", "where do I start?"). It reads what you are after, names the capability that handles it, and hands you straight to it behind the scenes, so you only have to remember one entry. It is a thin router: it does no drafting, keeps no record, and writes nothing to the tracker itself; the capability it hands you to does that work.

★ 8
Eliyce
Eliyce/paqad-ai

ask

Chat and Claude Code: Answers business questions about the product from the project's own documentation and code, in plain words with sources. Use it when someone asks what the product is, what it does or what areas it has ("what is this product?", "what does this project do?", "what areas does it have?"), when a repository is attached or connected and the user asks what it is or what it does, or when they ask how something works today ("can customers pause a subscription today?", "who uses the export screen?", "which orders go to the finance system?"). It works on any repository at the best evidence level it can reach, reads only what the question needs, leads with the answer, adds one short Sources line and one short source line for the level, shows the project's own term on first use, and says honestly where the documents cannot confirm something. It never writes to the tracker, and it can offer to carry a question into the idea journey when the answer reveals a gap.

★ 8
Eliyce
Eliyce/paqad-ai

front-door

Chat and Claude Code: One place to start for product work, routing you to the capability that fits. Use it when you want help with product work and a single place to begin ("help me with this ticket", "I have an idea", "what can you do here?", "where do I start?"). It reads what you are after, names the capability that handles it, and hands you straight to it behind the scenes, so you only have to remember one entry. It is a thin router: it does no drafting, keeps no record, and writes nothing to the tracker itself; the capability it hands you to does that work.

★ 8
Eliyce
Eliyce/paqad-ai

ask-project

Chat and Claude Code: Answers business questions about the product from the project's own documentation and code, in plain words with sources. Use it when someone asks what the product is, what it does or what areas it has ("what is this product?", "what does this project do?", "what areas does it have?"), when a repository is attached or connected and the user asks what it is or what it does, or when they ask how something works today ("can customers pause a subscription today?", "who uses the export screen?", "which orders go to the finance system?"). It works on any repository at the best evidence level it can reach, reads only what the question needs, leads with the answer, adds one short Sources line and one short source line for the level, shows the project's own term on first use, and says honestly where the documents cannot confirm something. It never writes to the tracker, and it can offer to carry a question into the idea journey when the answer reveals a gap.

★ 8
Eliyce
Eliyce/paqad-ai

write-tickets

Chat and Claude Code: Step 5 of the discover journey: drafts epics and user-story tickets with Given/When/Then acceptance criteria into the ticket set and a preview. Also redrafts the ticket set and its preview when the person changes the draft during the journey, for example moving a group of tickets to a different epic or a new one, and asks for approval again. Use when the journey directs it to step 5 or back to it for a redraft, not directly.

★ 8
Eliyce
Eliyce/paqad-ai

shape-idea

Chat and Claude Code: Step 3 of the discover journey: plays the idea back with options, trade-offs and a recommendation. Use when the journey directs it to step 3, not directly.

★ 8