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

Paths and arguments

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

قواعد و مراحل استاندارد کیفیت کد و تست را به دستیار هوش مصنوعی اضافه می‌کند تا خروجی یکدست بگیرید. (شامل ۱۰ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Claude Code وابسته است. مشاهدهٔ جدول سازگاری

مخزن اصلی در گیت‌هاب ↗ مطابق مجوز، دانلود مستقیم فایل غیرفعال است

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

دسترسی کامل فعال است
---
name: qf-hook
description: "Toggle the Qualflare Stop hook on or off. The Stop hook is a passive nudge that suggests /qf-cover after sessions where source files changed without test updates. Pass 'on' or 'off'."
argument-hint: "on|off"
allowed-tools: Read Write Edit
---

## Paths and arguments

Resolve these once, before Step 1, and use the absolute values everywhere below. Quote them in shell commands.

- **Qualflare context:** the line starting `Qualflare context:` that this session's Qualflare integration provides. Its JSON has `project_root`, `qualflare_root`, `instructions_file` and `invoke`.
- `<project-root>`: `project_root` from the context. Without a context line: the nearest directory, from the current working directory up to the top of its Git worktree, that contains `.qualflare/test-state.md`; otherwise the current working directory.
- `<qualflare-root>`: `qualflare_root` from the context. Without a context line: the directory two levels above this `SKILL.md` after resolving symlinks (`realpath`). Your host may show this skill's symlink path or its target; both resolve to the same install.
- Skills below are written as `/` plus the full skill name, e.g. `/qf-cover`. When telling the user how to run one, take the context's `invoke` pattern and replace `<name>` with the full skill name: `$qualflare:<name>` becomes `$qualflare:qf-cover`, `@<name>` becomes `@qf-cover`, `/skill:<name>` becomes `/skill:qf-cover`. If the pattern starts with `@`, tell them to pick the skill from the `@` list (typing the name alone does not load it), e.g. "pick @qf-cover from the @ list". Without a context line, keep the `/qf-cover` form.
- If this text still contains a literal dollar-sign `ARGUMENTS` placeholder, it means the text the user typed after the skill name (empty if none).

Update `<project-root>/.qualflare/config.json` to set `stopHookEnabled` based on the argument:

- If $ARGUMENTS is "on" or "yes" (case-insensitive): set `stopHookEnabled: true`. Confirm: "Stop hook is now **on** ✅ — you'll get a nudge after sessions where source files change without test updates."
- If $ARGUMENTS is "off" or "no" (case-insensitive): set `stopHookEnabled: false`. Confirm: "Stop hook is now **off** ⏹ — run `/qf-hook on` to re-enable."
- If $ARGUMENTS is empty or unrecognized: print current status in this format:

```
Stop hook: ✅ enabled  (or ❌ disabled)

Usage:
  /qf-hook on    — enable the post-session nudge
  /qf-hook off   — disable the post-session nudge
```

If `<project-root>/.qualflare/config.json` does not exist:
- When toggling (on/off): create it with `{ "version": 1, "stopHookEnabled": <value> }` and confirm normally.
- When showing status (no args): print "Stop hook: ❌ not configured — run `/qf-init` to set up, or `/qf-hook on` to enable directly."


— ‹guest · 2026-12-03› —

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

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

مشاهدهٔ همه ←
کیفیت کد و تست
✦ Pro

REA bug fix

علت ریشه‌ای خطاها و کرش‌ها را از روی لاگ و مسیر اجرا پیدا می‌کند و به‌جای حدس زدن، اصلاح هدفمند پیشنهاد می‌دهد. (شامل ۶…

⚡ /rea-bug-fix SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۴۸۶,۴۸۷
کیفیت کد و تست
✦ Pro

REA CI and tests audit

«REA CI and tests audit» دستورالعمل دقیقی برای «نوشتن و اجرای تست خودکار» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه…

⚡ /rea-ci-tests-audit SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۴۷۴,۰۸۴
کیفیت کد و تست
✦ Pro

Finishing a Development Branch

این مهارت با نام «Finishing a Development Branch» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی …

⚡ /finishing-a-development-branch SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Code Review Reception

اگر روی کیفیت کد و تست کار می‌کنید، «Code Review Reception» بخشی از کار را از دوش شما برمی‌دارد: «بازنویسی و تمیزسازی ک…

⚡ /receiving-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Requesting Code Review

برای کارهای کیفیت کد و تست، «Requesting Code Review» یک راهنمای کوتاه و روشن است: مسیر «مدیریت هوشمند حافظه و کانتکست» …

⚡ /requesting-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Test-Driven Development (TDD)

این مهارت با نام «Test-Driven Development (TDD)» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی ا…

⚡ /test-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰