Skip to content

monte-carlo-data/mc-agent-toolkit / .claude/skills/toolkit-skill-author

toolkit-skill-author

Verified

Authors or extends a skill in mc-agent-toolkit. Gates for forbidden buckets and name collisions, applies CONTRIBUTING's extend-or-split rules, then edits a peer skill or hands off to Anthropic's skill-creator and walks the registration checklist.

scripts/tests/test_portable_frontmatter.py

View on GitHub
"""Portable metadata frontmatter remains compatible with legacy skill linting."""
import contextlib
import importlib.util
import io
from pathlib import Path
import tempfile
import unittest

spec = importlib.util.spec_from_file_location('lint_skill', Path(__file__).parents[1] / 'lint-skill.py')
linter = importlib.util.module_from_spec(spec)
spec.loader.exec_module(linter)


class PortableFrontmatter(unittest.TestCase):
    def check(self, extra):
        with tempfile.TemporaryDirectory() as directory:
            root = Path(directory)
            (root / 'example').mkdir()
            (root / 'example' / 'SKILL.md').write_text(
                '---\nname: monte-carlo-example\ndescription: Connect a warehouse.\n'
                + extra + '\n---\nWorkflow.\n')
            with contextlib.redirect_stdout(io.StringIO()):
                return linter.lint('example', root)

    def test_standard_metadata_without_vendor_extension(self):
        self.assertEqual(self.check('metadata:\n  bucket: Setup'), ([], []))

    def test_invalid_metadata_bucket(self):
        errors, _ = self.check('metadata:\n  bucket: Wrong')
        self.assertTrue(any('not a valid capability bucket' in e for e in errors))

    def test_legacy_bucket_and_trigger(self):
        self.assertEqual(self.check('bucket: Setup\nwhen_to_use: When connecting data.'), ([], []))

    def test_legacy_warning_preserved(self):
        errors, warnings = self.check('bucket: Setup')
        self.assertFalse(errors)
        self.assertTrue(any('when_to_use' in w for w in warnings))

    def test_missing_metadata_bucket_still_fails(self):
        errors, _ = self.check('metadata:\n  owner: example')
        self.assertTrue(any('bucket is missing' in e for e in errors))


if __name__ == '__main__':
    unittest.main()
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall