For packages, see What font packages are installed in TeX live?.
For coverage of NFSS, see What font packages are installed in TeX live?.
For coverage of macros added by fontspec, see fontspec.
For macros added by nfssext-cfr, see nfssext-cfr.
For macros added by fontaxes, see fontaxes.
Note that both nfssext-cfr and fontaxes provide some macros which are simple extensions of NFSS, but include others which change weight, width or shape by changing family, where the limitations of NFSS make it impossible to have things 'work as expected' otherwise. Moreover, nfssext-cfr, at least, redefines some standard font macros, specifically those affecting the selection of italic and/or small-caps, in order to allow changes to accumulate 'normally'.
For example, here's the new definition of \itshape:
\DeclareRobustCommand{\itshape}{%
\not@math@alphabet\itshape\mathit
\exfs@merge@shape{\itdefault}{\scdefault}{\sidefault}}
and here's \scshape:
\DeclareRobustCommand{\scshape}{%
\not@math@alphabet\scshape\relax
\def\tempu{u}%
\def\tempo{ol}%
\ifx\f@shape\tempu
\exfs@merge@shape{\scdefault}{\udefault}{\scudefault}%
\else
\ifx\f@shape\tempo
\exfs@merge@shape{\scdefault}{\oldefault}{\scoldefault}%
\else
\exfs@merge@shape{\scdefault}{\itdefault}{\sidefault}%
\fi
\fi}
What does \exfs@merge@shape do?
\newcommand*{\exfs@merge@shape}[3]{%
\edef\exfs@tempa{#1}%
\edef\exfs@tempb{#2}%
\ifx\f@shape\exfs@tempb
\expandafter\ifx\csname\f@encoding/\f@family/\f@series/#3\endcsname\relax
\else
\edef\exfs@tempa{#3}%
\fi
\fi
\fontshape{\exfs@tempa}\selectfont}
This is relatively straightforward - we are not switching families here.
But suppose we look at \tlstyle:
\DeclareRobustCommand{\tlstyle}{%
\lstyle\tstyle}
Well, neither \lstyle nor \tstyle is standard. What do they do?
\DeclareRobustCommand{\tstyle}{% tabular figures
\not@math@alphabet\tstyle\relax
\exfs@unmerge@families{2}}
\DeclareRobustCommand{\lstyle}{% lining figures (cf. command above)
\not@math@alphabet\lstyle\relax
\exfs@unmerge@families{j}}
Here's what \exfs@unmerge@families does:
\newcounter{taken}%
\newcommand*\exfs@unmerge@families[1]{%
\edef\exfs@tempf{#1}%
\edef\tempa{\expandafter\exfs@get@variants\f@family\@nil}%
\let\exfs@tempq\@empty
\edef\exfs@tempg{}%
\setcounter{taken}{0}%
% check whether there are variants - if not do nothing
\ifx\tempa\@empty
\edef\exfs@tempq{}%
\else
% o/w go through the variants to find the one to delete
\whiledo{\value{taken}<1}{%
% get the next variant
\edef\exfs@tempn{\expandafter\exfs@next\tempa\@nil}%
% see if the next variant is the thing we seek and, if so, eliminate it
\ifx\exfs@tempf\exfs@tempn
\edef\tempa{\expandafter\exfs@shift\tempa\@nil}%
\edef\exfs@tempq{\exfs@tempg\tempa}%
\stepcounter{taken}%
% o/w save the next variant and move on if any variants remain
\else
\edef\exfs@tempg{\exfs@tempg\exfs@tempn}%
\edef\tempa{\expandafter\exfs@shift\tempa\@nil}%
\ifx\tempa\@empty% if there are no variants left, we're done
\edef\exfs@tempq{\exfs@tempg}%
\stepcounter{taken}%
\fi
\fi
}%
\fi
\exfs@try@family{\expandafter\exfs@get@base\f@family\@nil \exfs@tempq}}
As you might guess, there is also a \exfs@merge@families which is needed, for example, for \pstyle and \ostyle, used by \postyle etc.
There is nothing to stop a 'template' using something like \plstyle in \AtBeginDocument to change the style of figures globally. (Of course, nfssest-cfr must be loaded to avoid an error and more must be done for it to have any effect.)
Similar comments apply to fontaxes, I believe. Certainly if faces the same problems in terms of the limitations of NFSS. I've focused on nfssext-cfr only because I happen to be rather more familiar with its eccentricities. (It is based on nfssext.sty, which I did not write and cannot be blamed for, but I certainly added my own share of shenanigans, for which I presumably can.)
All of this is to say, that there is no useful set of standard macros you can search for and be reasonably confident you've found what you're looking for. fontspec, fontaxes and nfssext-cfr are three ways of extending the standard set, but individual font packages often add macros, too.
Furthermore, a 'template' might not load a package, even if there is one. It might instead input the .fd file directly or set up the font families directly. Nor is this always a symptom of bad design: there are cases where this is the only way to get the desired result.
And of course, this answer only addresses fonts for text mode: fonts for maths mode are configured using an almost entirely different set of macros. The glimmer of hope here is that there are far fewer packages attempting to extend or alter these, so the situation is, in at least some sense, more manageable. Still unicode-math and mathspec are both options, here, so the situation is only really more manageable in their absence.
\setsansfontis not standard: it is added byfontspec. You might as well say\sishapeis standard (which is added bynfssext-cfr) or\scslshape(which is, if I remember right, added byfontaxes). Look atnfssext-cfr.styand you will see many definitions of macros which don't include one of the standard LaTeX NFSS macros. Similarly forfontaxes.sty. – cfr Jan 19 '18 at 01:48fontaxesand one with snippets modified fromnfssext-cfr), https://tex.stackexchange.com/questions/59403/what-font-packages-are-installed-in-tex-live (font sampler), etc. etc. – cfr Jan 19 '18 at 02:03