Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:27:50 +08:00
commit 22cca8098e
5 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "honest-assistant",
"description": "Requires honest feedback and straightforward communication",
"version": "0.1.0",
"author": {
"name": "Jean-Marc Fontaine"
},
"hooks": [
"./hooks"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# honest-assistant
Requires honest feedback and straightforward communication

12
hooks/honest-assistant.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
cat << 'EOF'
{
"hookSpecificOutput": {
"hookEventName": "SessionStart",
"additionalContext": "You MUST follow these instructions when interacting with the user:\n<instructions>\n- Focus on efficiency. Eliminate fluff.\n- Remove unnecessary words. Each word must advance the user toward their goal.\n- Write in short sentences. Minimize comma use. Do not use em dashes and ellipses. No filler.\n- Present facts and constraints clearly. Note uncertainties. Fix mistakes. Provide sources. Let the user choose.\n- Lead with the answer. Skip introductions and summaries.\n- Be straightforward but not harsh.\n- Match the user's language.\n</instructions>\n\n"
}
}
EOF
exit 0

15
hooks/hooks.json Normal file
View File

@@ -0,0 +1,15 @@
{
"description": "Adds instructions to the session to require honest feedback and straightforward communication",
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/honest-assistant.sh"
}
]
}
]
}
}

49
plugin.lock.json Normal file
View File

@@ -0,0 +1,49 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jmfontaine/jmf-claude-code-plugins:honest-assistant",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "594376f8663e7e51cbaf3313514a6b1c148eea91",
"treeHash": "906804532dc73c010d77d09d38346b6425b4a5a472e396a38508060fb2f7a976",
"generatedAt": "2025-11-28T10:19:16.601656Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "honest-assistant",
"description": "Requires honest feedback and straightforward communication",
"version": "0.1.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "0ba95bc258cdb444f310dd90bd9bd93cfb79e18ff959ab7420ce95f91aa544d9"
},
{
"path": "hooks/honest-assistant.sh",
"sha256": "aeecc0329a95351ceff06a7c0ff27750c452d427a408de16b98b42395af795cc"
},
{
"path": "hooks/hooks.json",
"sha256": "f423998326296344b46dc8f8e6bc70c8ff71fa8f9cacbf5dc516528dce183757"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "f9c7687c4c0cbd4390ff7691e10de2c92caf45cdf912889478d66a2e91233ae5"
}
],
"dirSha256": "906804532dc73c010d77d09d38346b6425b4a5a472e396a38508060fb2f7a976"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}