Skip to content

flurdy/agent-skills / skills/beads-migrate-to-dolt

beads-migrate-to-dolt

Verified

Safely migrate classic Beads data or upgrade a Dolt schema, preserving backups and remote history. Repository aftercare is a separate, explicitly selected mode.

FileKindSize
SKILL.mdskill md17.2 KB
references/aftercare.mdmarkdown5.9 KB
references/compatibility.mdmarkdown11.2 KB
tests/check_cli_help.pyscript3.7 KB
tests/test_cli_help.pyscript1.9 KB
tests/test_contract.pyscript8.9 KB

tests/test_cli_help.py

View on GitHub
"""Offline parser fixtures; no installed bd or database needed."""

import unittest

from check_cli_help import check_help


class HelpContractTests(unittest.TestCase):
    def test_prose_changes_do_not_hide_declared_capabilities(self):
        check_help('''New wording, independent of the checked version.
Usage:
  bd migrate [flags]
Flags:
      --inspect   New description
Global Flags:
  -C, --directory string   New description
      --sandbox   New description
''', 'bd migrate', ['--inspect', '-C', '--directory', '--sandbox'])

    def test_flag_prefix_is_not_a_flag_match(self):
        with self.assertRaisesRegex(AssertionError, 'missing declared flags: --all'):
            check_help('''Usage:
  bd export [flags]
Flags:
      --allow-stale   Not the requested flag
''', 'bd export', ['--all'])

    def test_prose_and_examples_are_not_flag_definitions(self):
        with self.assertRaisesRegex(AssertionError, 'missing declared flags: --dry-run'):
            check_help('''Modes:
  --dry-run  Historical description
Examples:
  bd import --dry-run
Usage:
  bd import [flags]
Flags:
  -h, --help   Help
''', 'bd import', ['--dry-run'])

    def test_parent_help_is_not_subcommand_help(self):
        with self.assertRaisesRegex(AssertionError, 'did not identify command'):
            check_help('''Example: bd migrate hooks --dry-run
Usage:
  bd migrate [command]
Flags:
      --dry-run   Preview
''', 'bd migrate hooks', ['--dry-run'])

    def test_command_prefix_is_not_a_command_match(self):
        with self.assertRaisesRegex(AssertionError, 'did not identify command'):
            check_help('Usage:\n  bd migrate hooks-extra [flags]\n', 'bd migrate hooks', [])

    def test_unknown_help_topic_is_not_success(self):
        with self.assertRaisesRegex(AssertionError, 'did not identify command'):
            check_help('Unknown help topic: init-safety\n', 'bd init-safety', [])


if __name__ == '__main__':
    unittest.main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall