Add the coreapp skill; fix /data ownership; deploy --recreate, shell <cmd>
skills/coreapp/SKILL.md teaches a Claude Code agent to make or port an app for Federated Core: coreapp.toml, the needs, porting an existing app, the deploy and test loop, troubleshooting, what isn't supported yet and how to report back. update.sh links it into ~/.claude/skills/coreapp; uninstall.sh removes the link. Rehearsed with a small app (memo-board) ported by a fresh agent using only the skill. The installer now gives /data to the image's user before starting the container: Docker created it as root, so non-root apps couldn't write. coreapp deploy --recreate always starts a new container (to test that data survives); coreapp shell '<command>' runs one command without a terminal. PLAN.md: what would change on the Core to put the installer in /federated/bin/coreapps/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -182,4 +182,15 @@ for cmd in coreapp-vm coreapp; do
|
||||
ln -sfn "$SELF/bin/$cmd" "$HOME/.local/bin/$cmd"
|
||||
done
|
||||
|
||||
# The coreapp skill, for Claude Code agents making apps on this computer
|
||||
# (in any repository): a symlink too. A skill of that name that isn't ours
|
||||
# is left alone
|
||||
SKILL_LINK="$HOME/.claude/skills/coreapp"
|
||||
if [ -L "$SKILL_LINK" ] || [ ! -e "$SKILL_LINK" ]; then
|
||||
mkdir -p "$HOME/.claude/skills"
|
||||
ln -sfn "$SELF/skills/coreapp" "$SKILL_LINK"
|
||||
else
|
||||
echo "Note: $SKILL_LINK exists and isn't coreapp-dev's; left it as it is."
|
||||
fi
|
||||
|
||||
echo "coreapp-dev's host software is up to date."
|
||||
|
||||
Reference in New Issue
Block a user