Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devrel-frictionlog-codelab

БесплатноЗапускает вложенные скриптыНе проверен

🥑 [DevRel] Automates friction logging for Google Codelabs (v2.0) with multi-instance collision guards, reentrant gcloud configs, pre-teardown UAT gates, and…

palladiusот palladius★ 45 звёзд на GitHub

Об этом скилле

DevRel Friction Log Codelab

This skill automates the process of going through a Google Codelab, reproducing its steps, systematically documenting the experience (a "friction log"), identifying bugs in external repositories, and producing actionable reports.

🚫 Golden Rules

1. Commit Hook Progression (Never Run 2 FLs on the Same Commit!)

  • Do NOT run multiple Friction Log iterations (FL001, FL002, ...) against the exact same unpatched Commit SHA (X)!
  • Every Friction Log iteration (FLXXX) must record the exact Git Commit SHA and Commit Timestamp (git log -1 --format="%h (%ci)") of the repository/codelab being tested (REPO_COMMIT_HOOK).
  • The mandatory iterative cycle is:
    1. Run FL001 on initial commit X (recording Commit SHA X + its timestamp).
    2. Log all defects in BUGS.md, open a GitHub/GitLab Issue (GHI/GLI) or Buganizer bug tagged with friction-log and FL001.
    3. Create a Pull Request / Merge Request (PR/MR) attached to the issue (Fixes #N), review/test it, and merge it into main to produce a new Commit SHA Y.
    4. Run FL002 on the new commit Y to verify fixes and iterate until the scorecard is 100% 🟢 GREEN.

2. Buganizer Hotlist Mandate (#8950858)

  • Whenever you create or update a Buganizer issue (b/<BUG_ID>) during a Friction Log campaign, you MUST tag the bug with hotlist #8950858 (HOTLIST+=8950858)!
  • Note on bugged CLI: If bugged blocks AI agents (bugged is not suitable for AI agents), invoke it with a clean environment and place bugspec tags at the very bottom of stdin:
    echo -e "Friction Log update summary...\n\nHOTLIST+=8950858" | env -i PATH="$PATH" HOME="$HOME" USER="$USER" bugged edit <BUG_ID>
    

3. Virgin Local Baseline & Virgin GCP Project Mandate

  • Always reproduce from a clean, virgin local baseline: Run reproduction in a dedicated clean directory, worktree, or fresh clone representing the exact student baseline (git checkout main or release tag).
  • Always use a brand-new, virgin GCP Project: A Friction Log MUST start on a clean, empty GCP project with zero pre-enabled APIs and zero pre-existing resources. Never recycle dirty projects or previously deployed resources (e.g. leftover Cloud SQL instances or GCS buckets) from previous runs!
  • Assign a different dedicated GCP Project (e.g. from the 90-day pool 011F17-0F9CE4-E03264) to each iteration (FL001, FL002, FL003) to guarantee clean state isolation.
  • Include 2-3 lines of explicit justification/delta in the campaign master README.md explaining what changed between Commit X (FL001) and Commit Y (FL002) to justify running the new Friction Log.

4. Narrative Intent vs. Executed Mechanism (Semantic Drift Check)

  • Never accept exit 0 as proof of success: A command returning 0 only proves valid syntax, not that the author's educational goal was achieved.
  • The Semantic Drift Invariant: Before certifying any step, contrast the Narrative Promise (what the title, prose, and diagrams claim to teach) with the Executed Mechanism (what the commands actually perform). If the commands take a degraded shortcut or bypass the promised architecture, flag a P1 Semantic Drift Defect.
  • Empirical State Verification: Always formulate an assertion that queries the live platform state directly to prove architectural compliance, rather than relying on command exit codes.

5. The "Less is More" Sacred Covenant: High Friction for Codelab Edits

  • Every single line added to student-facing codelab text must be weighed with a heavy heart.
  • Never bloat the codelab with 10 lines of rare edge-case workarounds, compiler warnings, or esoteric shell fixes.
  • Hierarchy of Resolution:
    1. Fix it silently in application code, dependencies, or automated wrappers (just recipes, npm test, etc.).
    2. Add unit/integration tests in the repository test suite.
    3. Document the tribal knowledge in an Agent Skill (skills/how-to-use-this-repo/references/).
    4. Only if 50%+ of all students will hit the issue, add a concise 1-line note to the codelab.

6. The Proactive Visual Mandate (Eliminate Bystander Effect on TODO Screenshots)

  • Whenever the agent encounters a > 📸 TODO(riccardo): add screenshot of ... in the codelab, it is strictly forbidden to ignore it or leave it as a TODO.
  • The agent has live credentials, headless Chrome (google-chrome --headless), local ports/proxies, and running services.
  • The agent MUST proactively:
    1. Trigger or render the relevant UI / terminal state.
    2. Capture, crop, and save the image into assets/images/ and the staging directory.
    3. Replace the TODO with the markdown image tag and verify visual rendering.

7. Enforce IaC Single Source of Truth (No Terraform vs CLI Collisions)

  • Infrastructure provisioned by Terraform (secrets, buckets, service accounts, databases) must **never be redundantly re-created via
Полный SKILL.md на GitHub

Установить devrel-frictionlog-codelab в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mdgenesis/README.mdgenesis/devrel-frictionlog-codelab.prompt.mdreferences/README.template.mdreferences/env.templatereferences/friction_log.yamlscripts/extract_codelab.pyscripts/extract_codelab_test.pyscripts/setup_scaffold.shscripts/setup_scaffold_test.shscripts/validate_telemetry.pyscripts/validate_telemetry_test.py

FAQ

Что делает скилл devrel-frictionlog-codelab?

🥑 [DevRel] Automates friction logging for Google Codelabs (v2.0) with multi-instance collision guards, reentrant gcloud configs, pre-teardown UAT gates, and deterministic telemetry.

Как установить скилл devrel-frictionlog-codelab?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devrel-frictionlog-codelab запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить devrel-frictionlog-codelab с