More screenshots

    Works with the AI Agents you already use

    Towards Connected Campus

    by Vinay Babannavar

    0

    Developer assistant for the Towards Connected Campus React/Express platform, focusing on role-based access and AI tools.

    Free

    Security scanned

    Towards Connected Campus

    Example session with this skill installed

    I need to update the gate-pass workflow. How do I ensure only the HOD can approve high-priority requests in the Express backend?

    • Read your context and instructions
    • Compiled the towards connected campus

    I have analyzed the current gate-pass implementation in the server/ directory. To restrict high-priority approvals to the HOD role, we need to modify the approval controller to check the JWT-decoded role before processing the status update.

    HOD-Only Approval Logic

    // server/controllers/gatePassController.js
    const approveGatePass = async (req, res) => {
      const { passId, priority } = req.body;
      const userRole = req.user.role; // Extracted from JWT middleware
    
      try {
        // Check if high priority request is being handled by a non-HOD role
        if (priority === 'high' && userRole !== 'HOD') {
          return res.status(403).json({ 
            message: 'Unauthorized: High-priority passes require HOD approval.' 
          });
        }
    
        const [result] = await db.query(
          'UPDATE gate_passes SET status = ?, approved_by = ? WHERE id = ?',
          ['Approved', req.user.id, passId]
        );
    
        res.status(200).json({ message: 'Pass updated successfully' });
      } catch (error) {
        res.status(500).json({ error: error.message });
      }
    };
    

    Next steps

    1. Verify the priority field exists in your gate_passes table schema.
    2. Ensure your JWT middleware correctly populates req.user.role from the database session.
    3. Test the workflow using a Student account to confirm the 403 Forbidden response is triggered.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Maintain and extend the Towards Connected Campus platform without breaking existing role-based workflows. This skill helps developers navigate a complex monorepo featuring a React/Vite frontend, Express backend, and MySQL-compatible database. It provides specific guidance for high-stakes features like QR-based gate-pass systems, AI resume matching via Gemini, and GitHub repository analysis for student projects.

    What it does

    • Role-based logic ensures changes respect the permissions for Students, HODs, Teachers, and Security.
    • AI integration support manages the implementation of Gemini for resume-to-job matching and project analysis.
    • Workflow verification maintains the integrity of the digital gate-pass approval chain and QR verification.
    • Database management guides SQL schema updates and query optimization for the TiDB/MySQL backend.
    • Deployment & setup assists with environment configuration, package management, and local server execution.

    How it works

    1. Repository audit inspects your local package.json, src/, and server/ files to establish the current state.
    2. Feature tracing maps requests to specific roles, routes, and API endpoints before suggesting edits.
    3. Safe implementation generates code following established naming, styling, and authentication conventions.
    4. Security check validates that changes don't expose API keys or bypass role-scoped authorization.

    Frameworks & tools

    React, Vite, Express, Node.js, MySQL (TiDB Cloud), Google Gemini API, JWT, and bcrypt.

    Why this beats prompting it yourself

    Generic coding assistants often suggest breaking changes that ignore the strict multi-role approval chains required for campus safety. This skill is grounded in the specific architecture of the project, ensuring student data privacy and role-scoped security are never compromised for a quick fix.

    Use cases

    • Add a new verification step to the digital gate-pass approval workflow.
    • Debug the Gemini API integration for student resume shortlisting.
    • Extend the student project tracker with new GitHub API metrics.
    • Fix authorization leaks in the placement drive registration ledger.

    Known limitations

    Does not support real-time campus operations or direct access to institutional records. Roadmap items like serverless migration are not treated as implemented until verified in code.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    The skill specializes in maintaining strict role-based access control (RBAC) across Students, HODs, and Security, preventing common coding errors that might accidentally allow one role to access another's private data or gate-pass functions.

    The skill is designed for any AI agent that can interface with a local file system and IDE, including popular tools like Cursor, Windsurf, or GitHub Copilot.

    Yes, the skill provides architectural guidance for integrating the Google Gemini API to handle resume-to-job matching and GitHub repository analysis while following the project's specific data schemas.

    The skill includes comprehensive documentation, specialized logic for the React/Express monorepo architecture, and pre-configured workflows for managing the TiDB/MySQL database integration.

    This skill is specifically optimized for the Towards Connected Campus tech stack (React, Vite, Express, and MySQL/TiDB); it may not be suitable for projects using different frameworks like Django or MongoDB.

    The skill is updated periodically to reflect changes in the Gemini API and updates to the core React/Vite build tools to ensure compatibility with the latest development standards.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free