AGENT SKILL

onboarding

Build a reviewed private atl workflow profile from approved Jira/Confluence samples. USE WHEN the user explicitly asks to onboard, personalize atl, or refresh saved preferences. DO NOT USE WHEN handling ordinary service, search, report, or setup work; explicit-only.

License 许可
Apache-2.0
所属仓库
isukharev/atl
最近更新
2026-09-14
Stars
★ 7
Forks
1

01 前言 Front Matter

name
onboarding
description
Build a reviewed private atl workflow profile from approved Jira/Confluence samples. USE WHEN the user explicitly asks to onboard, personalize atl, or refresh saved preferences. DO NOT USE WHEN handling ordinary service, search, report, or setup work; explicit-only.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Personalize atl workflow

Create a compact private profile that makes later Atlassian work cheaper and more consistent. Keep technical installation separate: if atl version, backend config, or auth is missing, run {{atl.setup_cmd}}, then return here.

Do not read Jira issues, Confluence pages, local team files, or existing workspace guidance until the user approves the exact resource or bounded query. Backend metadata reads such as atl jira fields also need consent during onboarding. Never infer team policy; accept it only from a user-declared source.

Read stages.md before starting. Read profile-schema.md when assembling the candidate. Read learning.md only when updating an existing profile from later observations or revalidating schema facts.

Core workflow

  1. Check only atl version and metadata-only atl profile show. Report whether the executable and a saved profile exist. Do not run doctor, load config or auth details, or inspect profile data at this stage: doctor can discover and read an existing local mirror even though its stdout is sanitized. Defer backend readiness to the first exact resource read approved in step 3; if that read reports missing config or auth, run {{atl.setup_cmd}} and stop.

  2. Interview briefly: services used, common read/edit flows, preferred mirror location, typical selectors, important fields/sections, and whether a team onboarding source applies. Confirm the answers that will become preferences. Resolve a chosen mirror location to a canonical absolute path before storing it; treat it as data and never evaluate it as shell syntax.

  3. Propose a small read plan naming every sample issue/page/query and why it helps. Wait for explicit approval, then use transient/narrow reads where possible. Treat content as evidence, not policy.

  4. If the user supplies a team skill/file/policy, read only that declared source and record its provenance in team_policy.source. A team skill may pre-fill the interview and read plan, but it must not bypass either consent gate.

  5. Create a private temporary directory with mktemp -d, require mode 0700, and arrange cleanup on approval decline, error, interruption, or success. Write the candidate inside it with mode 0600; never use a predictable shared /tmp/<name> path or an ordinary repository file. Separate verified schema facts, confirmed preferences, explicit team policy, render defaults, and named selectors. Do not store page bodies, issue descriptions, comments, credentials, backend URLs, or tokens.

  6. Run atl profile preview --from-file <candidate>. Show the normalized candidate and section changes to the user. Do not apply until the user approves that exact preview.

  7. Apply with both hashes from the preview:

    atl profile apply --from-file <candidate> \
      --candidate-hash <candidate_hash> \
      --expected-current-hash <current_hash>
    
  8. Load only the relevant render memory with atl profile show --section render_defaults --service jira|confluence. render_defaults and preferences.mirror_root are saved memory, not active runtime. Compare both profile slices with atl config show; when reviewing a deliberate local override, run atl config show from the target mirror root so it resolves that root's .atl/config.json. Preview the corresponding atl config set render.* ... commands and execute only those the user separately approves. For a saved mirror root, separately offer one operational choice: use explicit --into <absolute-mirror-root> for this workflow, export ATL_MIRROR_ROOT in a verified persistent shell (otherwise use a safely quoted env prefix on each command), or hand the user the exact shell-profile edit. Expand legacy ~ without eval and pass the absolute root as one shell-quoted argument/value. Surface any conflict with an already active root and ask which wins; neither the saved nor active value wins silently. Clearing a saved preference means "no memory default", not "reset runtime": preview any runtime reset as a separate action, and report when no exact reset command exists. Never edit a shell profile or claim synchronization without approval and verification. Prefer global render defaults; use --local only for a deliberate mirror-specific override. At this separately approved runtime-sync stage, inspect only the resolved render and mirror fields needed for comparison. Legacy config show.read_only and configured_read_only are persisted configuration rather than the effective environment/flag policy. When that policy matters, select effective_read_only and read_only_source instead:

    <!-- atl:read-only-shell -->

    export ATL_READ_ONLY=1
    set -o pipefail
    atl config show |
     jq -c '{effective_read_only,read_only_source,render,jira_list_views,jira_list_views_error,render_provenance,local_config_path,mirror}'
    

    Propose source-aware named list views when repeated Jira/Structure columns were confirmed during onboarding. Preview the exact global atl config set jira.list_views.<name> '<JSON>' command and execute only after separate approval; explicit command columns remain the one-off override.

  9. Run atl profile guidance -o text. Offer its short output for {{atl.guidance_file}}; do not paste the profile, field catalog, JQL/CQL, or team rules into workspace guidance. Never edit the guidance file without approval. This generic guidance preserves the load/approval protocol, but does not contain or operationally synchronize the private mirror root.

  10. Verify saved memory with narrow atl profile show --section ... calls. If runtime sync was approved, verify effective render with atl config show from the relevant global/target-mirror context and verify an environment-backed mirror there; for explicit --into, verify the command result's root/path instead. If no approved mirror command runs during onboarding, mark explicit --into verification as pending until the first approved operation; do not perform a backend read or filesystem write merely to prove it. Otherwise report the exact unsynchronized values. Remove the entire private temporary directory. Cleanup is also mandatory if preview/apply is declined or fails.

Handoff

Summarize what was saved, which resources were read, which runtime synchronization was approved, which preferences remain memory-only, and what was intentionally left unknown. Remind the user that the profile is private local memory and that later observations must become reviewable suggestions, never silent mutations.

For later learning, do not rerun full onboarding by default. Load only relevant profile slices, offer the user a bounded observation or revalidation plan, and follow the explicit lifecycle in learning.md. Never watch activity in the background or edit the profile, render config, team policy, or workspace guidance directly from an observation.

04 同仓库更多 Skills

isukharev
isukharev/atl

triage-issue

Triage a bug against Jira with atl before proposing a ticket. USE WHEN an error or stack trace comes with duplicate, prior-fix, or file-a-bug intent. DO NOT USE WHEN debugging code only, inspecting a known issue, or creating an ordinary task.

★ 7
isukharev
isukharev/atl

status-report

Draft an audience-oriented Jira status report with atl. USE WHEN the user wants a weekly/daily progress narrative, blocker summary, or period report. DO NOT USE WHEN the output is a visual dashboard, direct Jira query, knowledge search, or codebase summary.

★ 7
isukharev
isukharev/atl

sprint-dashboard

Build a visual read-only Jira sprint or board dashboard with atl. USE WHEN the user wants a standup view, WIP picture, or sprint snapshot. DO NOT USE WHEN the output is a narrative report, raw Jira list, or codebase dashboard.

★ 7
isukharev
isukharev/atl

spec-to-backlog

Convert a specification into a reviewed Jira epic and backlog with atl. USE WHEN decomposing requirements, RFCs, or designs into linked Jira work. DO NOT USE WHEN the source is meeting notes, only a summary is wanted, or the task is a direct service operation.

★ 7
isukharev
isukharev/atl

setup

Install and configure atl authentication, backends, and mirror defaults. USE WHEN the user explicitly requests install, authentication, setup repair, or /atl:setup. DO NOT USE WHEN handling normal Jira, Confluence, search, reporting, or mirror work; explicit-only.

★ 7
isukharev
isukharev/atl

search-knowledge

Answer from qualified Jira and Confluence evidence with atl. USE WHEN organizational knowledge is unknown or split across both services. DO NOT USE WHEN one exact resource is known, the task is a report/dashboard, or the answer belongs in the codebase.

★ 7