لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Manage Tack sources

آزاد تازه‌وارد تاییدشده امن

دستورالعمل اجرایی آماده برای انجام دقیق کارهای عامل‌های هوش مصنوعی بدون تکرار پرامپت‌های طولانی. (شامل ۶ گام عملی · سازگار با Claude Code و Cline).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: manage-tack-sources
description: Author Tack sources, folders of skills, commands and context. Use before editing any file inside a source, to check its maintainers first, and to create or register a source, declare resources in tack.yaml, set dependencies, resolve name clashes or fix catalog issues.
metadata:
  tack: |
    version: 1
    activation: opt-in
    user-activation: default
---

# Manage Tack sources

A source is a directory that holds resources. It is the only grouping Tack has: a resource is identified by its source, its kind and its name. This skill creates, changes and registers sources. `use-tack` operates Tack (pick, sync) and owns the output and preview-before-`--apply` rules that apply here. `author-tack-profiles` owns `profiles` and `bundle-support`. Tack's state files are Tack's to write.

## Before changing a source

Read its `maintainers` and `guidance` and follow them: the generated `tack-sources` skill (`tack-user-sources` for the user) lists both for each linked source. `maintainers` is descriptive contact information, not an edit permission or a resource grouping. Work within the operator's requested scope. Tack's own built-in source stays as shipped.

```sh
tack source            # each source: label, guidance, maintainers, path, health, declarations
tack catalog --details # resources, the declared path that found each, and issues to fix
```

Read both text views before changing anything. `catalog` exits 1 while any issue remains, and `source` stays healthy when a declaration has problems: read `issues` and every declaration's `problems` before you report success.

## Declare resources in `tack.yaml`

Tack reads resources only from the `tack.yaml` at the top of the source. A folder is never read because of its name: a folder called `skills/` means nothing until a declaration names it. List each folder that holds resources under its kind. A folder of one kind alone declares itself as `.`, such as `skills: [{ path: . }]`. A subfolder with its own `tack.yaml` is another source.

```yaml
version: 1
name: quality-tools
skills:
  - path: skills
    exclude: ["**/_*/**"]
```

`version: 1` is the only version. Every key but `version` and `name` is optional. `name` is the label others write, as in `quality-tools:review`: up to 64 lowercase letters, digits and single hyphens, never taken from the folder. `description`, `guidance`, `maintainers` and `depends-on` describe the source; `skills`, `commands` and `context` declare resources; extensions add keys of their own: `tack extension` lists them, and each one that is on brings its own skill. Read [references/tack-yaml.md](references/tack-yaml.md) before writing an entry: paths, overlap, patterns, the leaf rule and the `imports` section Tack writes: never edit it. For a complete source with patterns, dependencies and name clashes, follow [the worked example](references/worked-source.md).

| Kind    | Name                                                                                         |
<!-- ‹guest · 2026-12-04› -->
| ------- | -------------------------------------------------------------------------------------------- |
| skill   | Its folder name, which must match `name` in `SKILL.md`; the file also needs a `description`. |
| command | File name without `.md`.                                                                     |
| context | Path inside the declared folder, with its extension, such as `notes.md`. One file: its name. |

Skill and command names use lowercase letters, digits and single hyphens. Two resources of one kind and name in one source are both quarantined.

Skills and commands may carry Tack metadata in the `metadata.tack` YAML string of their frontmatter: `activation`, `user-activation`, `projects` and `dependencies`. `depends-on` in `tack.yaml` is the source-level allow list a dependency on another source needs. Read [references/metadata.md](references/metadata.md) before writing either.

## Create and register a source

1. Look inside the folder, then ask the person what each folder holds and which ones Tack should serve. `PATH/SKILL.md` makes PATH one skill: offer its parent as a folder of skills, or `tack import add` for a remote repository.
2. Without `tack.yaml`: preview its declaration with `tack source add PATH --config '<json>'` (or `--config -` from standard input), such as `{"version": 1, "name": "skills", "skills": [{"path": "."}]}`. `tack guide tack-yaml` lists every key. Show the preview, ask once, rerun with `--apply` ([declaration creation](references/tack-yaml.md#declaration-creation)).
3. Edit an existing `tack.yaml` by hand, then run `tack check /absolute/path` (with any companion source folders), or a bare `tack check` from inside the source folder, until clean. It reads no state and runs no authored code. Errors exit 1.
4. With an existing `tack.yaml`, `tack source add /absolute/path` previews the registration: the name the source takes, its counts and issues. `--apply` registers it, links its default resources in every project and for the user, and sets up state when Tack has none. `--config` on such a source fails with `declaration-exists`.
5. Run `tack catalog --details`, fix every issue and repeat. `doctor` and `status` show health. Deliver with `use-tack`.

To add a folder such as `vendor/skills`, add `- path: vendor/skills` under its kind. Never declare a folder inside or around another declared folder unless the outer entry excludes it (`exclude: ["vendor/**"]`). Then run `tack catalog` and `tack source`, and suggest `sync` only when the catalog is clean.

A moved source keeps its registration: `tack source relocate REGISTRATION_ID /new/path`. A retired one leaves with `tack source remove SOURCE`, which previews first and never touches its files. Registering, relocating, removing, `sync` and `pick` happen only when the operator asks.

## Resolve name clashes

The same kind and name in different sources gives two healthy resources; a bare reference fails when it cannot choose. Qualify it as `source:name` with the source label:

```sh
tack pick include base-skills:lint --project PROJECT
tack pick exclude audit-tools:lint --project PROJECT
```

Within one source, rename one skill's folder and frontmatter `name`, or exclude it. Group folder names never qualify a resource. Two default-activated skills with one name are both withheld until the operator includes one or excludes the other. See [the worked example](references/worked-source.md#resolve-name-clashes).

## Fix catalog issues

[references/catalog-issues.md](references/catalog-issues.md) gives the fix for each code `catalog` and `source` report, such as `declaration-path-overlap`, `declaration-reaches-source` and `resource-boundary-violation`, and the rules for bundle-provided sources. Read it before fixing an issue.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

REA

دستورالعمل اجرایی آماده برای انجام دقیق کارهای عامل‌های هوش مصنوعی بدون تکرار پرامپت‌های طولانی. (شامل ۶۵ گام عملی · سا…

⚡ /reverse-engineer-anything SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۴/۱۰۰ ★ ۴۷۹,۷۷۳
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰