CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/coding-policy

General-purpose coding policy for Baruch's AI agents

76

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

diagnostics.pyskills/herdr-teamlead/teamlead/

"""The one place diagnostics go.

stdout carries the command's JSON document and nothing else, so every warning
teamlead emits goes to stderr. Modules take an injected `warn` callable that
defaults to `stderr_warn`, which is what lets tests capture warnings instead
of printing them.
"""

import sys

#: Prefix on every line, so a warning is attributable when it lands in a log
#: interleaved with herdr's own output.
PREFIX = "teamlead: "


def stderr_warn(message):
    """Write one diagnostic line to stderr."""
    print("{}{}".format(PREFIX, message), file=sys.stderr)

skills

README.md

tile.json