Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
constructive-io avatar

Constructive Events

  • 2 installs
  • Updated August 4, 2026
  • constructive-io/constructive-skills

Helps with ai & agent building tasks.

About

constructive-events is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • constructive-events
  • AI & Agent Building
  • AI-coding skill

Constructive Events by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #13,958 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/constructive-io/constructive-skills --skill constructive-events

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
Last updatedAugust 4, 2026
Repositoryconstructive-io/constructive-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Constructive Events

Event tracking, gamification, and achievement-based credit rewards. Configured through blueprints (EventTracker nodes + achievements[]) and managed via the ORM.

When to Apply

Use this skill when:

  • Adding event tracking to tables (EventTracker node)
  • Defining achievements with requirements and credit rewards
  • Building invite virality chains (EventReferral with max_depth)
  • Implementing period-aware recurring achievements
  • Tracking analytics events on row changes

Architecture

Table row change
  → EventTracker trigger (compound conditions evaluated)
    → record_event(event_name, actor_id)
      → app_events log (partitioned, time-based retention)
      → upsert_achievement() → event_aggregates updated
        → tg_check_achievements
          → level_achieved() → level_grants created
            → tg_achievement_reward → credits granted
            → tg_invitee_achievement → record_event for inviter

Capabilities

CapabilityNode/ConfigPurpose
EventTrackerTable nodes[]Record events on row INSERT/UPDATE/DELETE
achievements[]Top-level blueprintLevels with requirements and rewards
has_invite_achievementsEntity type flagAuto-wire invitee achievement chain
EventReferralTable nodes[]Attribute events to inviters (multi-level)
period_intervalEvent type configAuto-reset counts for recurring achievements

EventTracker

{
  "tables": [{
    "table_name": "user_profiles",
    "nodes": [
      { "$type": "EventTracker", "data": {
        "event_name": "avatar_uploaded",
        "events": ["UPDATE"],
        "watch_fields": ["avatar_url"],
        "conditions": { "field": "avatar_url", "op": "IS NOT NULL" }
      }}
    ]
  }]
}

EventReferral (Multi-Level Referral)

{ "$type": "EventReferral", "data": {
  "event_name": "purchase_completed",
  "max_depth": 3
}}

max_depth (1–10) walks up the claimed_invites chain N levels, crediting each ancestor inviter.

References

FileContent
event-tracker.mdEventTracker configuration reference
achievements.mdAchievement levels, requirements, rewards
event-referral.mdReferral attribution and multi-level chains
invite-virality.mdInvite virality chain wiring
triggers.mdTrigger internals and compound conditions

Cross-References

  • Limits and credits: `constructive-billing`
  • Entity types and invites: `constructive-entities`
  • Background jobs (shared conditions system): `constructive-jobs`
  • Blueprint definitions: `constructive-blueprints`

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.